Class: TencentCloud::Gs::V20191118::CreateCosCredentialResponse

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

Overview

CreateCosCredential返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secretid = nil, secretkey = nil, sessiontoken = nil, cosbucket = nil, cosregion = nil, path = nil, starttime = nil, expiredtime = nil, requestid = nil) ⇒ CreateCosCredentialResponse

Returns a new instance of CreateCosCredentialResponse.



1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
# File 'lib/v20191118/models.rb', line 1517

def initialize(secretid=nil, secretkey=nil, sessiontoken=nil, cosbucket=nil, cosregion=nil, path=nil, starttime=nil, expiredtime=nil, requestid=nil)
  @SecretID = secretid
  @SecretKey = secretkey
  @SessionToken = sessiontoken
  @CosBucket = cosbucket
  @CosRegion = cosregion
  @Path = path
  @StartTime = starttime
  @ExpiredTime = expiredtime
  @RequestId = requestid
end

Instance Attribute Details

#CosBucketObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def CosBucket
  @CosBucket
end

#CosRegionObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def CosRegion
  @CosRegion
end

#ExpiredTimeObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def ExpiredTime
  @ExpiredTime
end

#PathObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def Path
  @Path
end

#RequestIdObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def RequestId
  @RequestId
end

#SecretIDObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def SecretID
  @SecretID
end

#SecretKeyObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def SecretKey
  @SecretKey
end

#SessionTokenObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def SessionToken
  @SessionToken
end

#StartTimeObject

Parameters:

  • SecretID:

    Cos SecretID

  • SecretKey:

    Cos SecretKey

  • SessionToken:

    Cos Session

  • CosBucket:

    Cos Bucket

  • CosRegion:

    Cos Region

  • Path:

    Cos 操作路径

  • StartTime:

    Cos 密钥的起始时间

  • ExpiredTime:

    Cos 密钥的失效时间

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1515
1516
1517
# File 'lib/v20191118/models.rb', line 1515

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
# File 'lib/v20191118/models.rb', line 1529

def deserialize(params)
  @SecretID = params['SecretID']
  @SecretKey = params['SecretKey']
  @SessionToken = params['SessionToken']
  @CosBucket = params['CosBucket']
  @CosRegion = params['CosRegion']
  @Path = params['Path']
  @StartTime = params['StartTime']
  @ExpiredTime = params['ExpiredTime']
  @RequestId = params['RequestId']
end