tencentcloud-sdk-cls 3.0.977 → 3.0.978

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201016/models.rb +14 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50c2ae3bdc80d96c736a2ba34e2618a17881aaf9
4
- data.tar.gz: 534b3f0a02e35e72adf78038c7b068ec92e3c391
3
+ metadata.gz: b3fd8a007b5fb58934ddfa9cb9d82511aa440ea8
4
+ data.tar.gz: 1df704618ebf4cb2f071d7e5cd6ea3c36e20dfbe
5
5
  SHA512:
6
- metadata.gz: 717e23407fc9e96af4dc7c5c81a40a4ddae0bf0e4d0a9ac462af2115442d86ef8317affba7b4e7b4f17354c07abcaeeec7fef057f716fc8a2ec8e8cfd68f0388
7
- data.tar.gz: 07250d6b4378a5236921143ad9227fc1491d8fd543813ce35f757d9935c892cafc6719a11b8d3409c9ff71af55dacc82fdffd254c69cae16e9b3dd912f9778cd
6
+ metadata.gz: 473d6712c85468be1d7e48be5e90282f8b9efe651347d89f3508034877db7e28121ec32dfa92eba78ab03c217664c777c7217b7b9a6eaee899ad1febf849f7cd
7
+ data.tar.gz: 5858fd8003c462f00c8b3c3b0568d984b0f0c13e1775baca069acf783bcc0bc8e22e4ed52c673af187a2ee62278fed881904a6448f449de4db043a01e261908b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.977
1
+ 3.0.978
@@ -184,14 +184,17 @@ module TencentCloud
184
184
  # @param AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
185
185
  # 注意:此字段可能返回 null,表示取不到有效值。
186
186
  # @type AlarmLevel: Integer
187
+ # @param Classifications: 告警附加分类字段。
188
+ # 注意:此字段可能返回 null,表示取不到有效值。
189
+ # @type Classifications: Array
187
190
  # @param MultiConditions: 多触发条件。与
188
191
  # Condition互斥。
189
192
  # 注意:此字段可能返回 null,表示取不到有效值。
190
193
  # @type MultiConditions: Array
191
194
 
192
- attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :MultiConditions
195
+ attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions
193
196
 
194
- def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil, alarmlevel=nil, multiconditions=nil)
197
+ def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil, alarmlevel=nil, classifications=nil, multiconditions=nil)
195
198
  @Name = name
196
199
  @AlarmTargets = alarmtargets
197
200
  @MonitorTime = monitortime
@@ -210,6 +213,7 @@ module TencentCloud
210
213
  @GroupTriggerCondition = grouptriggercondition
211
214
  @MonitorObjectType = monitorobjecttype
212
215
  @AlarmLevel = alarmlevel
216
+ @Classifications = classifications
213
217
  @MultiConditions = multiconditions
214
218
  end
215
219
 
@@ -252,6 +256,14 @@ module TencentCloud
252
256
  @GroupTriggerCondition = params['GroupTriggerCondition']
253
257
  @MonitorObjectType = params['MonitorObjectType']
254
258
  @AlarmLevel = params['AlarmLevel']
259
+ unless params['Classifications'].nil?
260
+ @Classifications = []
261
+ params['Classifications'].each do |i|
262
+ alarmclassification_tmp = AlarmClassification.new
263
+ alarmclassification_tmp.deserialize(i)
264
+ @Classifications << alarmclassification_tmp
265
+ end
266
+ end
255
267
  unless params['MultiConditions'].nil?
256
268
  @MultiConditions = []
257
269
  params['MultiConditions'].each do |i|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.977
4
+ version: 3.0.978
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-07 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common