Class: TencentCloud::Cam::V20190116::SetDefaultPolicyVersionRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190116/models.rb

Overview

SetDefaultPolicyVersion请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, versionid = nil) ⇒ SetDefaultPolicyVersionRequest

Returns a new instance of SetDefaultPolicyVersionRequest.



4549
4550
4551
4552
# File 'lib/v20190116/models.rb', line 4549

def initialize(policyid=nil, versionid=nil)
  @PolicyId = policyid
  @VersionId = versionid
end

Instance Attribute Details

#PolicyIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号,可由ListPolicyVersions获取



4547
4548
4549
# File 'lib/v20190116/models.rb', line 4547

def PolicyId
  @PolicyId
end

#VersionIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号,可由ListPolicyVersions获取



4547
4548
4549
# File 'lib/v20190116/models.rb', line 4547

def VersionId
  @VersionId
end

Instance Method Details

#deserialize(params) ⇒ Object



4554
4555
4556
4557
# File 'lib/v20190116/models.rb', line 4554

def deserialize(params)
  @PolicyId = params['PolicyId']
  @VersionId = params['VersionId']
end