Class: TencentCloud::Cam::V20190116::CreateAccessKeyRequest

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

Overview

CreateAccessKey请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetuin = nil, description = nil) ⇒ CreateAccessKeyRequest

Returns a new instance of CreateAccessKeyRequest.



684
685
686
687
# File 'lib/v20190116/models.rb', line 684

def initialize(targetuin=nil, description=nil)
  @TargetUin = targetuin
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • TargetUin:

    指定用户Uin,不填默认为当前用户创建访问密钥

  • Description:

    密钥描述,长度在1到1024之间,可包含大小写字符,数字以及特殊字符:=,.@:/-。 正则为:*。



682
683
684
# File 'lib/v20190116/models.rb', line 682

def Description
  @Description
end

#TargetUinObject

Parameters:

  • TargetUin:

    指定用户Uin,不填默认为当前用户创建访问密钥

  • Description:

    密钥描述,长度在1到1024之间,可包含大小写字符,数字以及特殊字符:=,.@:/-。 正则为:*。



682
683
684
# File 'lib/v20190116/models.rb', line 682

def TargetUin
  @TargetUin
end

Instance Method Details

#deserialize(params) ⇒ Object



689
690
691
692
# File 'lib/v20190116/models.rb', line 689

def deserialize(params)
  @TargetUin = params['TargetUin']
  @Description = params['Description']
end