Class: TencentCloud::Kms::V20190118::BindCloudResourceRequest

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

Overview

BindCloudResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyid = nil, productid = nil, resourceid = nil) ⇒ BindCloudResourceRequest

Returns a new instance of BindCloudResourceRequest.



175
176
177
178
179
# File 'lib/v20190118/models.rb', line 175

def initialize(keyid=nil, productid=nil, resourceid=nil)
  @KeyId = keyid
  @ProductId = productid
  @ResourceId = resourceid
end

Instance Attribute Details

#KeyIdObject

Parameters:

  • KeyId:

    cmk的ID

  • ProductId:

    云产品的唯一性标识符

  • ResourceId:

    资源/实例ID,由调用方根据自己的云产品特征来定义,以字符串形式做存储。



173
174
175
# File 'lib/v20190118/models.rb', line 173

def KeyId
  @KeyId
end

#ProductIdObject

Parameters:

  • KeyId:

    cmk的ID

  • ProductId:

    云产品的唯一性标识符

  • ResourceId:

    资源/实例ID,由调用方根据自己的云产品特征来定义,以字符串形式做存储。



173
174
175
# File 'lib/v20190118/models.rb', line 173

def ProductId
  @ProductId
end

#ResourceIdObject

Parameters:

  • KeyId:

    cmk的ID

  • ProductId:

    云产品的唯一性标识符

  • ResourceId:

    资源/实例ID,由调用方根据自己的云产品特征来定义,以字符串形式做存储。



173
174
175
# File 'lib/v20190118/models.rb', line 173

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



181
182
183
184
185
# File 'lib/v20190118/models.rb', line 181

def deserialize(params)
  @KeyId = params['KeyId']
  @ProductId = params['ProductId']
  @ResourceId = params['ResourceId']
end