Class: TencentCloud::Cam::V20190116::UpdateAccessKeyRequest

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

Overview

UpdateAccessKey请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accesskeyid = nil, status = nil, targetuin = nil) ⇒ UpdateAccessKeyRequest

Returns a new instance of UpdateAccessKeyRequest.



4902
4903
4904
4905
4906
# File 'lib/v20190116/models.rb', line 4902

def initialize(accesskeyid=nil, status=nil, targetuin=nil)
  @AccessKeyId = accesskeyid
  @Status = status
  @TargetUin = targetuin
end

Instance Attribute Details

#AccessKeyIdObject

Parameters:

  • AccessKeyId:

    指定需要更新的AccessKeyId

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • TargetUin:

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



4900
4901
4902
# File 'lib/v20190116/models.rb', line 4900

def AccessKeyId
  @AccessKeyId
end

#StatusObject

Parameters:

  • AccessKeyId:

    指定需要更新的AccessKeyId

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • TargetUin:

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



4900
4901
4902
# File 'lib/v20190116/models.rb', line 4900

def Status
  @Status
end

#TargetUinObject

Parameters:

  • AccessKeyId:

    指定需要更新的AccessKeyId

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • TargetUin:

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



4900
4901
4902
# File 'lib/v20190116/models.rb', line 4900

def TargetUin
  @TargetUin
end

Instance Method Details

#deserialize(params) ⇒ Object



4908
4909
4910
4911
4912
# File 'lib/v20190116/models.rb', line 4908

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