tencentcloud-sdk-cls 3.0.976 → 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 +15 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea4f07d4b5bbf063f6de97a51a7ce4944c197897
4
- data.tar.gz: a5839936e3e7f96a88554df2627832fed0d74997
3
+ metadata.gz: b3fd8a007b5fb58934ddfa9cb9d82511aa440ea8
4
+ data.tar.gz: 1df704618ebf4cb2f071d7e5cd6ea3c36e20dfbe
5
5
  SHA512:
6
- metadata.gz: 14a0e5641be1160955f43452bcca35d8022376cdbd1c30ad37e619ced94b86f50bb646172a0fa7c33d2eaa53e4272d1bb2519e13bca233b56c0bdb3686a0c624
7
- data.tar.gz: 0c58c9f3b77a729afae8043c0eb12dc26e49deb190d2bd145794a45ecfe33368783388704a15a1596f4958222be12d2ba1833b090060f5a0cbf975b1bee76b3a
6
+ metadata.gz: 473d6712c85468be1d7e48be5e90282f8b9efe651347d89f3508034877db7e28121ec32dfa92eba78ab03c217664c777c7217b7b9a6eaee899ad1febf849f7cd
7
+ data.tar.gz: 5858fd8003c462f00c8b3c3b0568d984b0f0c13e1775baca069acf783bcc0bc8e22e4ed52c673af187a2ee62278fed881904a6448f449de4db043a01e261908b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.976
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|
@@ -1435,7 +1447,7 @@ module TencentCloud
1435
1447
  # - datasight内网匿名分享(若开启):datasight内网域名
1436
1448
  # 注意:此字段可能返回 null,表示取不到有效值。
1437
1449
  # @type Domain: String
1438
- # @param VerifyCode: 验证码
1450
+ # @param VerifyCode: 分享链接加密访问验证码。支持0-9和a-z(不区分大小写)在内的6个字符,可为空,代表免验证码访问
1439
1451
  # 注意:此字段可能返回 null,表示取不到有效值。
1440
1452
  # @type VerifyCode: String
1441
1453
  # @param StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
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.976
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-06 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