Class: TencentCloud::Cam::V20190116::GetPolicyVersionRequest

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

Overview

GetPolicyVersion请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GetPolicyVersionRequest.



2432
2433
2434
2435
# File 'lib/v20190116/models.rb', line 2432

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

Instance Attribute Details

#PolicyIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号,可由ListPolicyVersions获取



2430
2431
2432
# File 'lib/v20190116/models.rb', line 2430

def PolicyId
  @PolicyId
end

#VersionIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号,可由ListPolicyVersions获取



2430
2431
2432
# File 'lib/v20190116/models.rb', line 2430

def VersionId
  @VersionId
end

Instance Method Details

#deserialize(params) ⇒ Object



2437
2438
2439
2440
# File 'lib/v20190116/models.rb', line 2437

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