Class: TencentCloud::Emr::V20190103::COSSettings

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

Overview

COS 相关配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cossecretid = nil, cossecretkey = nil, logoncospath = nil) ⇒ COSSettings

Returns a new instance of COSSettings.



745
746
747
748
749
# File 'lib/v20190103/models.rb', line 745

def initialize(cossecretid=nil, cossecretkey=nil, logoncospath=nil)
  @CosSecretId = cossecretid
  @CosSecretKey = cossecretkey
  @LogOnCosPath = logoncospath
end

Instance Attribute Details

#CosSecretIdObject

Parameters:

  • CosSecretId:

    COS SecretId

  • CosSecretKey:

    COS SecrectKey

  • LogOnCosPath:

    日志存储在COS上的路径



743
744
745
# File 'lib/v20190103/models.rb', line 743

def CosSecretId
  @CosSecretId
end

#CosSecretKeyObject

Parameters:

  • CosSecretId:

    COS SecretId

  • CosSecretKey:

    COS SecrectKey

  • LogOnCosPath:

    日志存储在COS上的路径



743
744
745
# File 'lib/v20190103/models.rb', line 743

def CosSecretKey
  @CosSecretKey
end

#LogOnCosPathObject

Parameters:

  • CosSecretId:

    COS SecretId

  • CosSecretKey:

    COS SecrectKey

  • LogOnCosPath:

    日志存储在COS上的路径



743
744
745
# File 'lib/v20190103/models.rb', line 743

def LogOnCosPath
  @LogOnCosPath
end

Instance Method Details

#deserialize(params) ⇒ Object



751
752
753
754
755
# File 'lib/v20190103/models.rb', line 751

def deserialize(params)
  @CosSecretId = params['CosSecretId']
  @CosSecretKey = params['CosSecretKey']
  @LogOnCosPath = params['LogOnCosPath']
end