Class: TencentCloud::Sts::V20180813::GetCallerIdentityResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sts::V20180813::GetCallerIdentityResponse
- Defined in:
- lib/v20180813/models.rb
Overview
GetCallerIdentity返回参数结构体
Instance Attribute Summary collapse
-
#AccountId ⇒ Object
1.
-
#Arn ⇒ Object
1.
-
#PrincipalId ⇒ Object
1.
-
#RequestId ⇒ Object
1.
-
#Type ⇒ Object
1.
-
#UserId ⇒ Object
1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(arn = nil, accountid = nil, userid = nil, principalid = nil, type = nil, requestid = nil) ⇒ GetCallerIdentityResponse
constructor
A new instance of GetCallerIdentityResponse.
Constructor Details
#initialize(arn = nil, accountid = nil, userid = nil, principalid = nil, type = nil, requestid = nil) ⇒ GetCallerIdentityResponse
Returns a new instance of GetCallerIdentityResponse.
323 324 325 326 327 328 329 330 |
# File 'lib/v20180813/models.rb', line 323 def initialize(arn=nil, accountid=nil, userid=nil, principalid=nil, type=nil, requestid=nil) @Arn = arn @AccountId = accountid @UserId = userid @PrincipalId = principalid @Type = type @RequestId = requestid end |
Instance Attribute Details
#AccountId ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def AccountId @AccountId end |
#Arn ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def Arn @Arn end |
#PrincipalId ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def PrincipalId @PrincipalId end |
#RequestId ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def RequestId @RequestId end |
#Type ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def Type @Type end |
#UserId ⇒ Object
-
调用者是云账号时,返回的是当前账号Uin
-
调用者是角色时,返回的是roleId:roleSessionName
-
调用者是联合身份时,返回的是uin:federatedUserName
-
调用者是云账号,返回的当前账号Uin
2, 调用者是角色,返回的申请角色密钥的账号Uin
321 322 323 |
# File 'lib/v20180813/models.rb', line 321 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
332 333 334 335 336 337 338 339 |
# File 'lib/v20180813/models.rb', line 332 def deserialize(params) @Arn = params['Arn'] @AccountId = params['AccountId'] @UserId = params['UserId'] @PrincipalId = params['PrincipalId'] @Type = params['Type'] @RequestId = params['RequestId'] end |