Class: TencentCloud::Tione::V20191022::ClsConfig

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

Overview

接入CLS服务的配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, logsetid = nil, topicid = nil) ⇒ ClsConfig

Returns a new instance of ClsConfig.



86
87
88
89
90
# File 'lib/v20191022/models.rb', line 86

def initialize(type=nil, logsetid=nil, topicid=nil)
  @Type = type
  @LogSetId = logsetid
  @TopicId = topicid
end

Instance Attribute Details

#LogSetIdObject

Parameters:

  • Type:

    接入类型,可选项为free、customer

  • LogSetId:

    自定义CLS的日志集ID,只有当Type为customer时生效

  • TopicId:

    自定义CLS的日志主题ID,只有当Type为customer时生效



84
85
86
# File 'lib/v20191022/models.rb', line 84

def LogSetId
  @LogSetId
end

#TopicIdObject

Parameters:

  • Type:

    接入类型,可选项为free、customer

  • LogSetId:

    自定义CLS的日志集ID,只有当Type为customer时生效

  • TopicId:

    自定义CLS的日志主题ID,只有当Type为customer时生效



84
85
86
# File 'lib/v20191022/models.rb', line 84

def TopicId
  @TopicId
end

#TypeObject

Parameters:

  • Type:

    接入类型,可选项为free、customer

  • LogSetId:

    自定义CLS的日志集ID,只有当Type为customer时生效

  • TopicId:

    自定义CLS的日志主题ID,只有当Type为customer时生效



84
85
86
# File 'lib/v20191022/models.rb', line 84

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



92
93
94
95
96
# File 'lib/v20191022/models.rb', line 92

def deserialize(params)
  @Type = params['Type']
  @LogSetId = params['LogSetId']
  @TopicId = params['TopicId']
end