Class: TencentCloud::Cloudaudit::V20190319::KeyMetadata

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

Overview

CMK属性

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_alias = nil, keyid = nil) ⇒ KeyMetadata

Returns a new instance of KeyMetadata.



764
765
766
767
# File 'lib/v20190319/models.rb', line 764

def initialize(_alias=nil, keyid=nil)
  @Alias = _alias
  @KeyId = keyid
end

Instance Attribute Details

#AliasObject

Parameters:

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名

  • KeyId:

    CMK的全局唯一标识



762
763
764
# File 'lib/v20190319/models.rb', line 762

def Alias
  @Alias
end

#KeyIdObject

Parameters:

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名

  • KeyId:

    CMK的全局唯一标识



762
763
764
# File 'lib/v20190319/models.rb', line 762

def KeyId
  @KeyId
end

Instance Method Details

#deserialize(params) ⇒ Object



769
770
771
772
# File 'lib/v20190319/models.rb', line 769

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