Class: TencentCloud::Monitor::V20180724::CLSNotice

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

Overview

告警通知中的推送CLS操作

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, logsetid = nil, topicid = nil, enable = nil) ⇒ CLSNotice

Returns a new instance of CLSNotice.



1305
1306
1307
1308
1309
1310
# File 'lib/v20180724/models.rb', line 1305

def initialize(region=nil, logsetid=nil, topicid=nil, enable=nil)
  @Region = region
  @LogSetId = logsetid
  @TopicId = topicid
  @Enable = enable
end

Instance Attribute Details

#EnableObject

Parameters:

  • 地域

  • 日志集Id

  • 主题Id

  • 启停状态,可不传,默认启用。0=停用,1=启用



1303
1304
1305
# File 'lib/v20180724/models.rb', line 1303

def Enable
  @Enable
end

#LogSetIdObject

Parameters:

  • 地域

  • 日志集Id

  • 主题Id

  • 启停状态,可不传,默认启用。0=停用,1=启用



1303
1304
1305
# File 'lib/v20180724/models.rb', line 1303

def LogSetId
  @LogSetId
end

#RegionObject

Parameters:

  • 地域

  • 日志集Id

  • 主题Id

  • 启停状态,可不传,默认启用。0=停用,1=启用



1303
1304
1305
# File 'lib/v20180724/models.rb', line 1303

def Region
  @Region
end

#TopicIdObject

Parameters:

  • 地域

  • 日志集Id

  • 主题Id

  • 启停状态,可不传,默认启用。0=停用,1=启用



1303
1304
1305
# File 'lib/v20180724/models.rb', line 1303

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



1312
1313
1314
1315
1316
1317
# File 'lib/v20180724/models.rb', line 1312

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