tencentcloud-sdk-cls 3.0.1042 → 3.0.1044
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/models.rb +19 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cda1daf1c404425694b53b7860493184b7b552e
|
4
|
+
data.tar.gz: 09fc50248a069a3416faa9c0a137ece1d92bc78e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b89a524bbc49cb303d57bc37079052b7a9ead2f721d9f5476a40f2fb01181a60bfeec041e2ed4a1026dafefc12e6fff126002fd2a2c51e8706dbd059d32b5b85
|
7
|
+
data.tar.gz: 890cb064221178bcca5d928b47f97961a5a512a8e5233565050e2efdbcfeee0721cb0ca192c90b9a0a30db4cd945a14e482bd816d0d064e909608eb9d708d093
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1044
|
data/lib/v20201016/models.rb
CHANGED
@@ -169,6 +169,8 @@ module TencentCloud
|
|
169
169
|
# @type GroupTriggerStatus: Boolean
|
170
170
|
# @param GroupTriggerCondition: 分组触发条件。
|
171
171
|
# @type GroupTriggerCondition: Array
|
172
|
+
# @param Tags: 告警策略绑定的标签信息。
|
173
|
+
# @type Tags: Array
|
172
174
|
# @param MonitorObjectType: 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
173
175
|
# @type MonitorObjectType: Integer
|
174
176
|
# @param AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
@@ -179,9 +181,9 @@ module TencentCloud
|
|
179
181
|
# Condition互斥。
|
180
182
|
# @type MultiConditions: Array
|
181
183
|
|
182
|
-
attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions
|
184
|
+
attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions
|
183
185
|
|
184
|
-
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)
|
186
|
+
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, tags=nil, monitorobjecttype=nil, alarmlevel=nil, classifications=nil, multiconditions=nil)
|
185
187
|
@Name = name
|
186
188
|
@AlarmTargets = alarmtargets
|
187
189
|
@MonitorTime = monitortime
|
@@ -198,6 +200,7 @@ module TencentCloud
|
|
198
200
|
@Analysis = analysis
|
199
201
|
@GroupTriggerStatus = grouptriggerstatus
|
200
202
|
@GroupTriggerCondition = grouptriggercondition
|
203
|
+
@Tags = tags
|
201
204
|
@MonitorObjectType = monitorobjecttype
|
202
205
|
@AlarmLevel = alarmlevel
|
203
206
|
@Classifications = classifications
|
@@ -241,6 +244,14 @@ module TencentCloud
|
|
241
244
|
end
|
242
245
|
@GroupTriggerStatus = params['GroupTriggerStatus']
|
243
246
|
@GroupTriggerCondition = params['GroupTriggerCondition']
|
247
|
+
unless params['Tags'].nil?
|
248
|
+
@Tags = []
|
249
|
+
params['Tags'].each do |i|
|
250
|
+
tag_tmp = Tag.new
|
251
|
+
tag_tmp.deserialize(i)
|
252
|
+
@Tags << tag_tmp
|
253
|
+
end
|
254
|
+
end
|
244
255
|
@MonitorObjectType = params['MonitorObjectType']
|
245
256
|
@AlarmLevel = params['AlarmLevel']
|
246
257
|
unless params['Classifications'].nil?
|
@@ -11836,14 +11847,17 @@ module TencentCloud
|
|
11836
11847
|
# @type SqlFlag: Boolean
|
11837
11848
|
# @param ContainZH: 是否包含中文,long及double类型字段需为false
|
11838
11849
|
# @type ContainZH: Boolean
|
11850
|
+
# @param Alias: 字段别名
|
11851
|
+
# @type Alias: String
|
11839
11852
|
|
11840
|
-
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH
|
11853
|
+
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH, :Alias
|
11841
11854
|
|
11842
|
-
def initialize(type=nil, tokenizer=nil, sqlflag=nil, containzh=nil)
|
11855
|
+
def initialize(type=nil, tokenizer=nil, sqlflag=nil, containzh=nil, _alias=nil)
|
11843
11856
|
@Type = type
|
11844
11857
|
@Tokenizer = tokenizer
|
11845
11858
|
@SqlFlag = sqlflag
|
11846
11859
|
@ContainZH = containzh
|
11860
|
+
@Alias = _alias
|
11847
11861
|
end
|
11848
11862
|
|
11849
11863
|
def deserialize(params)
|
@@ -11851,6 +11865,7 @@ module TencentCloud
|
|
11851
11865
|
@Tokenizer = params['Tokenizer']
|
11852
11866
|
@SqlFlag = params['SqlFlag']
|
11853
11867
|
@ContainZH = params['ContainZH']
|
11868
|
+
@Alias = params['Alias']
|
11854
11869
|
end
|
11855
11870
|
end
|
11856
11871
|
|
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.
|
4
|
+
version: 3.0.1044
|
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-04-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|