Class: TencentCloud::Kms::V20190118::UnbindCloudResourceRequest

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

Overview

UnbindCloudResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UnbindCloudResourceRequest.



2415
2416
2417
2418
2419
# File 'lib/v20190118/models.rb', line 2415

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,由调用方根据自己的云产品特征来定义,以字符串形式做存储。



2413
2414
2415
# File 'lib/v20190118/models.rb', line 2413

def KeyId
  @KeyId
end

#ProductIdObject

Parameters:

  • KeyId:

    cmk的ID

  • ProductId:

    云产品的唯一性标识符

  • ResourceId:

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



2413
2414
2415
# File 'lib/v20190118/models.rb', line 2413

def ProductId
  @ProductId
end

#ResourceIdObject

Parameters:

  • KeyId:

    cmk的ID

  • ProductId:

    云产品的唯一性标识符

  • ResourceId:

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



2413
2414
2415
# File 'lib/v20190118/models.rb', line 2413

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



2421
2422
2423
2424
2425
# File 'lib/v20190118/models.rb', line 2421

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