Class: TencentCloud::Tione::V20211111::LogConfig

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

Overview

日志配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logsetid = nil, topicid = nil) ⇒ LogConfig

Returns a new instance of LogConfig.



5175
5176
5177
5178
# File 'lib/v20211111/models.rb', line 5175

def initialize(logsetid=nil, topicid=nil)
  @LogsetId = logsetid
  @TopicId = topicid
end

Instance Attribute Details

#LogsetIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LogsetId:

    日志需要投递到cls的日志集

  • TopicId:

    日志需要投递到cls的主题



5173
5174
5175
# File 'lib/v20211111/models.rb', line 5173

def LogsetId
  @LogsetId
end

#TopicIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LogsetId:

    日志需要投递到cls的日志集

  • TopicId:

    日志需要投递到cls的主题



5173
5174
5175
# File 'lib/v20211111/models.rb', line 5173

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



5180
5181
5182
5183
# File 'lib/v20211111/models.rb', line 5180

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