tencentcloud-sdk-dbbrain 3.0.651 → 3.0.652
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210527/client.rb +48 -0
- data/lib/v20210527/models.rb +396 -0
- 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: 4e7a6644367854ca4b00cfae2a31b7044f022d8e
|
4
|
+
data.tar.gz: 72c781770f9853af8e591829af9d9a45ddf96e86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 574898bea2981ef6e05872119c9e4ced44fe2ed43f9b0203012a9819e31714ceda5a8d895a46f89584acd4c9716f5486db4f8705d12029515d82f4ef9d933ed6
|
7
|
+
data.tar.gz: 63b3c8060c2ebb564c85ed5f76744e0f74c4acd4c5241c4a60db4ff356caa408ee2c8c00d54fefd140916f43df4b6549cda80135ce203c970d91fc384fb2de9c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.652
|
data/lib/v20210527/client.rb
CHANGED
@@ -437,6 +437,30 @@ module TencentCloud
|
|
437
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
438
|
end
|
439
439
|
|
440
|
+
# 通知模板查询
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeAlarmTemplate.
|
443
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeAlarmTemplateRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeAlarmTemplateResponse`
|
445
|
+
def DescribeAlarmTemplate(request)
|
446
|
+
body = send_request('DescribeAlarmTemplate', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeAlarmTemplateResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
440
464
|
# 获取邮件发送中联系人的相关信息。
|
441
465
|
|
442
466
|
# @param request: Request instance for DescribeAllUserContact.
|
@@ -1205,6 +1229,30 @@ module TencentCloud
|
|
1205
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
1230
|
end
|
1207
1231
|
|
1232
|
+
# 修改告警策略
|
1233
|
+
|
1234
|
+
# @param request: Request instance for ModifyAlarmPolicy.
|
1235
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::ModifyAlarmPolicyRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::ModifyAlarmPolicyResponse`
|
1237
|
+
def ModifyAlarmPolicy(request)
|
1238
|
+
body = send_request('ModifyAlarmPolicy', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = ModifyAlarmPolicyResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1208
1256
|
# 修改审计配置相关信息,如高频存储时长等
|
1209
1257
|
|
1210
1258
|
# @param request: Request instance for ModifyAuditService.
|
data/lib/v20210527/models.rb
CHANGED
@@ -61,6 +61,135 @@ module TencentCloud
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
# 通知模板
|
65
|
+
class AlarmProfileList < TencentCloud::Common::AbstractModel
|
66
|
+
# @param IsWebHook: 0-不是 1-是
|
67
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
|
+
# @type IsWebHook: Integer
|
69
|
+
# @param ReceiveUinCount: 接收告警用户数量
|
70
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
|
+
# @type ReceiveUinCount: Integer
|
72
|
+
# @param Lang: 语言
|
73
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
74
|
+
# @type Lang: String
|
75
|
+
# @param TemplateType: 模板类型
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type TemplateType: String
|
78
|
+
# @param Remark: 备注
|
79
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
|
+
# @type Remark: String
|
81
|
+
# @param ReceiveGroupCount: 接收组数量
|
82
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
|
+
# @type ReceiveGroupCount: Integer
|
84
|
+
# @param UpdateUin: 更新用户的uin
|
85
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
86
|
+
# @type UpdateUin: Integer
|
87
|
+
# @param ReceiveType: 接收类型
|
88
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
89
|
+
# @type ReceiveType: Array
|
90
|
+
# @param ReceiveInfo: 接收用户信息
|
91
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
92
|
+
# @type ReceiveInfo: Array
|
93
|
+
# @param UpdateTime: 更新时间
|
94
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
95
|
+
# @type UpdateTime: String
|
96
|
+
# @param TemplateName: 模板名
|
97
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
98
|
+
# @type TemplateName: String
|
99
|
+
# @param SendChannel: 发送渠道
|
100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
101
|
+
# @type SendChannel: Array
|
102
|
+
# @param TemplateId: 模板id
|
103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
104
|
+
# @type TemplateId: Integer
|
105
|
+
# @param WebHookCount: webhook数量
|
106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
107
|
+
# @type WebHookCount: Integer
|
108
|
+
|
109
|
+
attr_accessor :IsWebHook, :ReceiveUinCount, :Lang, :TemplateType, :Remark, :ReceiveGroupCount, :UpdateUin, :ReceiveType, :ReceiveInfo, :UpdateTime, :TemplateName, :SendChannel, :TemplateId, :WebHookCount
|
110
|
+
|
111
|
+
def initialize(iswebhook=nil, receiveuincount=nil, lang=nil, templatetype=nil, remark=nil, receivegroupcount=nil, updateuin=nil, receivetype=nil, receiveinfo=nil, updatetime=nil, templatename=nil, sendchannel=nil, templateid=nil, webhookcount=nil)
|
112
|
+
@IsWebHook = iswebhook
|
113
|
+
@ReceiveUinCount = receiveuincount
|
114
|
+
@Lang = lang
|
115
|
+
@TemplateType = templatetype
|
116
|
+
@Remark = remark
|
117
|
+
@ReceiveGroupCount = receivegroupcount
|
118
|
+
@UpdateUin = updateuin
|
119
|
+
@ReceiveType = receivetype
|
120
|
+
@ReceiveInfo = receiveinfo
|
121
|
+
@UpdateTime = updatetime
|
122
|
+
@TemplateName = templatename
|
123
|
+
@SendChannel = sendchannel
|
124
|
+
@TemplateId = templateid
|
125
|
+
@WebHookCount = webhookcount
|
126
|
+
end
|
127
|
+
|
128
|
+
def deserialize(params)
|
129
|
+
@IsWebHook = params['IsWebHook']
|
130
|
+
@ReceiveUinCount = params['ReceiveUinCount']
|
131
|
+
@Lang = params['Lang']
|
132
|
+
@TemplateType = params['TemplateType']
|
133
|
+
@Remark = params['Remark']
|
134
|
+
@ReceiveGroupCount = params['ReceiveGroupCount']
|
135
|
+
@UpdateUin = params['UpdateUin']
|
136
|
+
@ReceiveType = params['ReceiveType']
|
137
|
+
unless params['ReceiveInfo'].nil?
|
138
|
+
@ReceiveInfo = []
|
139
|
+
params['ReceiveInfo'].each do |i|
|
140
|
+
receiveinfo_tmp = ReceiveInfo.new
|
141
|
+
receiveinfo_tmp.deserialize(i)
|
142
|
+
@ReceiveInfo << receiveinfo_tmp
|
143
|
+
end
|
144
|
+
end
|
145
|
+
@UpdateTime = params['UpdateTime']
|
146
|
+
@TemplateName = params['TemplateName']
|
147
|
+
@SendChannel = params['SendChannel']
|
148
|
+
@TemplateId = params['TemplateId']
|
149
|
+
@WebHookCount = params['WebHookCount']
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# 告警规则
|
154
|
+
class AlarmsRules < TencentCloud::Common::AbstractModel
|
155
|
+
# @param Interval: 间隔
|
156
|
+
# @type Interval: Integer
|
157
|
+
# @param Name: 告警名
|
158
|
+
# @type Name: String
|
159
|
+
# @param Metric: 指标
|
160
|
+
# @type Metric: String
|
161
|
+
# @param Operator: 操作符
|
162
|
+
# @type Operator: String
|
163
|
+
# @param Severity: 等级
|
164
|
+
# fatal-致命
|
165
|
+
# critical-严重
|
166
|
+
# warning-告警
|
167
|
+
# information-通知
|
168
|
+
# @type Severity: String
|
169
|
+
# @param Value: 指标值
|
170
|
+
# @type Value: Float
|
171
|
+
|
172
|
+
attr_accessor :Interval, :Name, :Metric, :Operator, :Severity, :Value
|
173
|
+
|
174
|
+
def initialize(interval=nil, name=nil, metric=nil, operator=nil, severity=nil, value=nil)
|
175
|
+
@Interval = interval
|
176
|
+
@Name = name
|
177
|
+
@Metric = metric
|
178
|
+
@Operator = operator
|
179
|
+
@Severity = severity
|
180
|
+
@Value = value
|
181
|
+
end
|
182
|
+
|
183
|
+
def deserialize(params)
|
184
|
+
@Interval = params['Interval']
|
185
|
+
@Name = params['Name']
|
186
|
+
@Metric = params['Metric']
|
187
|
+
@Operator = params['Operator']
|
188
|
+
@Severity = params['Severity']
|
189
|
+
@Value = params['Value']
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
64
193
|
# 实例详细信息
|
65
194
|
class AuditInstance < TencentCloud::Common::AbstractModel
|
66
195
|
# @param AuditStatus: 审计状态,已开通审计为:YES,未开通审计为:ON。
|
@@ -1094,6 +1223,66 @@ module TencentCloud
|
|
1094
1223
|
end
|
1095
1224
|
end
|
1096
1225
|
|
1226
|
+
# DescribeAlarmTemplate请求参数结构体
|
1227
|
+
class DescribeAlarmTemplateRequest < TencentCloud::Common::AbstractModel
|
1228
|
+
# @param TemplateNameRegexp: 搜索字段
|
1229
|
+
# @type TemplateNameRegexp: String
|
1230
|
+
# @param Limit: 返回限制长度
|
1231
|
+
# @type Limit: Integer
|
1232
|
+
# @param Offset: 偏置
|
1233
|
+
# @type Offset: Integer
|
1234
|
+
# @param Product: mysql - mysql
|
1235
|
+
# cynosdb - tdsql-c
|
1236
|
+
# @type Product: String
|
1237
|
+
|
1238
|
+
attr_accessor :TemplateNameRegexp, :Limit, :Offset, :Product
|
1239
|
+
|
1240
|
+
def initialize(templatenameregexp=nil, limit=nil, offset=nil, product=nil)
|
1241
|
+
@TemplateNameRegexp = templatenameregexp
|
1242
|
+
@Limit = limit
|
1243
|
+
@Offset = offset
|
1244
|
+
@Product = product
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
def deserialize(params)
|
1248
|
+
@TemplateNameRegexp = params['TemplateNameRegexp']
|
1249
|
+
@Limit = params['Limit']
|
1250
|
+
@Offset = params['Offset']
|
1251
|
+
@Product = params['Product']
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
# DescribeAlarmTemplate返回参数结构体
|
1256
|
+
class DescribeAlarmTemplateResponse < TencentCloud::Common::AbstractModel
|
1257
|
+
# @param ProfileList: 模板列表
|
1258
|
+
# @type ProfileList: Array
|
1259
|
+
# @param TotalCount: 模板总数
|
1260
|
+
# @type TotalCount: Integer
|
1261
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1262
|
+
# @type RequestId: String
|
1263
|
+
|
1264
|
+
attr_accessor :ProfileList, :TotalCount, :RequestId
|
1265
|
+
|
1266
|
+
def initialize(profilelist=nil, totalcount=nil, requestid=nil)
|
1267
|
+
@ProfileList = profilelist
|
1268
|
+
@TotalCount = totalcount
|
1269
|
+
@RequestId = requestid
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
def deserialize(params)
|
1273
|
+
unless params['ProfileList'].nil?
|
1274
|
+
@ProfileList = []
|
1275
|
+
params['ProfileList'].each do |i|
|
1276
|
+
alarmprofilelist_tmp = AlarmProfileList.new
|
1277
|
+
alarmprofilelist_tmp.deserialize(i)
|
1278
|
+
@ProfileList << alarmprofilelist_tmp
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
@TotalCount = params['TotalCount']
|
1282
|
+
@RequestId = params['RequestId']
|
1283
|
+
end
|
1284
|
+
end
|
1285
|
+
|
1097
1286
|
# DescribeAllUserContact请求参数结构体
|
1098
1287
|
class DescribeAllUserContactRequest < TencentCloud::Common::AbstractModel
|
1099
1288
|
# @param Product: 服务产品类型,固定值:mysql。
|
@@ -3451,6 +3640,22 @@ module TencentCloud
|
|
3451
3640
|
end
|
3452
3641
|
end
|
3453
3642
|
|
3643
|
+
# 实例id
|
3644
|
+
class InstanceID < TencentCloud::Common::AbstractModel
|
3645
|
+
# @param InstanceId: 实例id
|
3646
|
+
# @type InstanceId: String
|
3647
|
+
|
3648
|
+
attr_accessor :InstanceId
|
3649
|
+
|
3650
|
+
def initialize(instanceid=nil)
|
3651
|
+
@InstanceId = instanceid
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
def deserialize(params)
|
3655
|
+
@InstanceId = params['InstanceId']
|
3656
|
+
end
|
3657
|
+
end
|
3658
|
+
|
3454
3659
|
# 查询实例列表,返回实例的相关信息的对象。
|
3455
3660
|
class InstanceInfo < TencentCloud::Common::AbstractModel
|
3456
3661
|
# @param InstanceId: 实例ID。
|
@@ -3734,6 +3939,106 @@ module TencentCloud
|
|
3734
3939
|
end
|
3735
3940
|
end
|
3736
3941
|
|
3942
|
+
# ModifyAlarmPolicy请求参数结构体
|
3943
|
+
class ModifyAlarmPolicyRequest < TencentCloud::Common::AbstractModel
|
3944
|
+
# @param ApplyType: 类型
|
3945
|
+
# @type ApplyType: String
|
3946
|
+
# @param Enable: 开启策略
|
3947
|
+
# @type Enable: Integer
|
3948
|
+
# @param InstanceIds: 列表
|
3949
|
+
# @type InstanceIds: Array
|
3950
|
+
# @param NewProfileLevel: User-动态关联该用户所有实例
|
3951
|
+
# Instance-关联实例列表的实例
|
3952
|
+
# @type NewProfileLevel: String
|
3953
|
+
# @param NewProfileName: 新策略名
|
3954
|
+
# @type NewProfileName: String
|
3955
|
+
# @param ProfileName: 旧策略名
|
3956
|
+
# @type ProfileName: String
|
3957
|
+
# @param ProfileType: 策略类型
|
3958
|
+
# @type ProfileType: String
|
3959
|
+
# @param Remark: 备注
|
3960
|
+
# @type Remark: String
|
3961
|
+
# @param RuleType: 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
|
3962
|
+
# @type RuleType: Integer
|
3963
|
+
# @param TemplateInfo: 接受模板
|
3964
|
+
# @type TemplateInfo: Array
|
3965
|
+
# @param QuickRule: 快速规则 支持包括fatal-致命, critical-严重,
|
3966
|
+
# warning-告警,
|
3967
|
+
# information-通知
|
3968
|
+
# @type QuickRule: String
|
3969
|
+
# @param Rules: 自定义规则
|
3970
|
+
# @type Rules: Array
|
3971
|
+
|
3972
|
+
attr_accessor :ApplyType, :Enable, :InstanceIds, :NewProfileLevel, :NewProfileName, :ProfileName, :ProfileType, :Remark, :RuleType, :TemplateInfo, :QuickRule, :Rules
|
3973
|
+
|
3974
|
+
def initialize(applytype=nil, enable=nil, instanceids=nil, newprofilelevel=nil, newprofilename=nil, profilename=nil, profiletype=nil, remark=nil, ruletype=nil, templateinfo=nil, quickrule=nil, rules=nil)
|
3975
|
+
@ApplyType = applytype
|
3976
|
+
@Enable = enable
|
3977
|
+
@InstanceIds = instanceids
|
3978
|
+
@NewProfileLevel = newprofilelevel
|
3979
|
+
@NewProfileName = newprofilename
|
3980
|
+
@ProfileName = profilename
|
3981
|
+
@ProfileType = profiletype
|
3982
|
+
@Remark = remark
|
3983
|
+
@RuleType = ruletype
|
3984
|
+
@TemplateInfo = templateinfo
|
3985
|
+
@QuickRule = quickrule
|
3986
|
+
@Rules = rules
|
3987
|
+
end
|
3988
|
+
|
3989
|
+
def deserialize(params)
|
3990
|
+
@ApplyType = params['ApplyType']
|
3991
|
+
@Enable = params['Enable']
|
3992
|
+
unless params['InstanceIds'].nil?
|
3993
|
+
@InstanceIds = []
|
3994
|
+
params['InstanceIds'].each do |i|
|
3995
|
+
instanceid_tmp = InstanceID.new
|
3996
|
+
instanceid_tmp.deserialize(i)
|
3997
|
+
@InstanceIds << instanceid_tmp
|
3998
|
+
end
|
3999
|
+
end
|
4000
|
+
@NewProfileLevel = params['NewProfileLevel']
|
4001
|
+
@NewProfileName = params['NewProfileName']
|
4002
|
+
@ProfileName = params['ProfileName']
|
4003
|
+
@ProfileType = params['ProfileType']
|
4004
|
+
@Remark = params['Remark']
|
4005
|
+
@RuleType = params['RuleType']
|
4006
|
+
unless params['TemplateInfo'].nil?
|
4007
|
+
@TemplateInfo = []
|
4008
|
+
params['TemplateInfo'].each do |i|
|
4009
|
+
templateinfo_tmp = TemplateInfo.new
|
4010
|
+
templateinfo_tmp.deserialize(i)
|
4011
|
+
@TemplateInfo << templateinfo_tmp
|
4012
|
+
end
|
4013
|
+
end
|
4014
|
+
@QuickRule = params['QuickRule']
|
4015
|
+
unless params['Rules'].nil?
|
4016
|
+
@Rules = []
|
4017
|
+
params['Rules'].each do |i|
|
4018
|
+
alarmsrules_tmp = AlarmsRules.new
|
4019
|
+
alarmsrules_tmp.deserialize(i)
|
4020
|
+
@Rules << alarmsrules_tmp
|
4021
|
+
end
|
4022
|
+
end
|
4023
|
+
end
|
4024
|
+
end
|
4025
|
+
|
4026
|
+
# ModifyAlarmPolicy返回参数结构体
|
4027
|
+
class ModifyAlarmPolicyResponse < TencentCloud::Common::AbstractModel
|
4028
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4029
|
+
# @type RequestId: String
|
4030
|
+
|
4031
|
+
attr_accessor :RequestId
|
4032
|
+
|
4033
|
+
def initialize(requestid=nil)
|
4034
|
+
@RequestId = requestid
|
4035
|
+
end
|
4036
|
+
|
4037
|
+
def deserialize(params)
|
4038
|
+
@RequestId = params['RequestId']
|
4039
|
+
end
|
4040
|
+
end
|
4041
|
+
|
3737
4042
|
# ModifyAuditService请求参数结构体
|
3738
4043
|
class ModifyAuditServiceRequest < TencentCloud::Common::AbstractModel
|
3739
4044
|
# @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
|
@@ -4135,6 +4440,77 @@ module TencentCloud
|
|
4135
4440
|
end
|
4136
4441
|
end
|
4137
4442
|
|
4443
|
+
# 接收组信息
|
4444
|
+
class ReceiveInfo < TencentCloud::Common::AbstractModel
|
4445
|
+
# @param ReceiveGroup: 接收组
|
4446
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4447
|
+
# @type ReceiveGroup: Array
|
4448
|
+
# @param EndReceiveTime: 最后接收时间
|
4449
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4450
|
+
# @type EndReceiveTime: String
|
4451
|
+
# @param ReceiveName: 接收名
|
4452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4453
|
+
# @type ReceiveName: String
|
4454
|
+
# @param SendChannel: 推送渠道
|
4455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4456
|
+
# @type SendChannel: Array
|
4457
|
+
# @param StartReceiveTime: 开始时间
|
4458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4459
|
+
# @type StartReceiveTime: String
|
4460
|
+
# @param ReceiveUin: 接收用户列表
|
4461
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4462
|
+
# @type ReceiveUin: Array
|
4463
|
+
|
4464
|
+
attr_accessor :ReceiveGroup, :EndReceiveTime, :ReceiveName, :SendChannel, :StartReceiveTime, :ReceiveUin
|
4465
|
+
|
4466
|
+
def initialize(receivegroup=nil, endreceivetime=nil, receivename=nil, sendchannel=nil, startreceivetime=nil, receiveuin=nil)
|
4467
|
+
@ReceiveGroup = receivegroup
|
4468
|
+
@EndReceiveTime = endreceivetime
|
4469
|
+
@ReceiveName = receivename
|
4470
|
+
@SendChannel = sendchannel
|
4471
|
+
@StartReceiveTime = startreceivetime
|
4472
|
+
@ReceiveUin = receiveuin
|
4473
|
+
end
|
4474
|
+
|
4475
|
+
def deserialize(params)
|
4476
|
+
@ReceiveGroup = params['ReceiveGroup']
|
4477
|
+
@EndReceiveTime = params['EndReceiveTime']
|
4478
|
+
@ReceiveName = params['ReceiveName']
|
4479
|
+
@SendChannel = params['SendChannel']
|
4480
|
+
@StartReceiveTime = params['StartReceiveTime']
|
4481
|
+
unless params['ReceiveUin'].nil?
|
4482
|
+
@ReceiveUin = []
|
4483
|
+
params['ReceiveUin'].each do |i|
|
4484
|
+
receiveuin_tmp = ReceiveUin.new
|
4485
|
+
receiveuin_tmp.deserialize(i)
|
4486
|
+
@ReceiveUin << receiveuin_tmp
|
4487
|
+
end
|
4488
|
+
end
|
4489
|
+
end
|
4490
|
+
end
|
4491
|
+
|
4492
|
+
# 接收用户
|
4493
|
+
class ReceiveUin < TencentCloud::Common::AbstractModel
|
4494
|
+
# @param UinName: 用户名
|
4495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4496
|
+
# @type UinName: String
|
4497
|
+
# @param Uin: 用户id
|
4498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4499
|
+
# @type Uin: String
|
4500
|
+
|
4501
|
+
attr_accessor :UinName, :Uin
|
4502
|
+
|
4503
|
+
def initialize(uinname=nil, uin=nil)
|
4504
|
+
@UinName = uinname
|
4505
|
+
@Uin = uin
|
4506
|
+
end
|
4507
|
+
|
4508
|
+
def deserialize(params)
|
4509
|
+
@UinName = params['UinName']
|
4510
|
+
@Uin = params['Uin']
|
4511
|
+
end
|
4512
|
+
end
|
4513
|
+
|
4138
4514
|
# redis key空间信息。
|
4139
4515
|
class RedisKeySpaceData < TencentCloud::Common::AbstractModel
|
4140
4516
|
# @param Key: key名。
|
@@ -4893,6 +5269,26 @@ module TencentCloud
|
|
4893
5269
|
end
|
4894
5270
|
end
|
4895
5271
|
|
5272
|
+
# 通知模板
|
5273
|
+
class TemplateInfo < TencentCloud::Common::AbstractModel
|
5274
|
+
# @param TemplateId: 模板id
|
5275
|
+
# @type TemplateId: String
|
5276
|
+
# @param TemplateName: 模板名
|
5277
|
+
# @type TemplateName: String
|
5278
|
+
|
5279
|
+
attr_accessor :TemplateId, :TemplateName
|
5280
|
+
|
5281
|
+
def initialize(templateid=nil, templatename=nil)
|
5282
|
+
@TemplateId = templateid
|
5283
|
+
@TemplateName = templatename
|
5284
|
+
end
|
5285
|
+
|
5286
|
+
def deserialize(params)
|
5287
|
+
@TemplateId = params['TemplateId']
|
5288
|
+
@TemplateName = params['TemplateName']
|
5289
|
+
end
|
5290
|
+
end
|
5291
|
+
|
4896
5292
|
# 单位时间间隔内的慢日志统计
|
4897
5293
|
class TimeSlice < TencentCloud::Common::AbstractModel
|
4898
5294
|
# @param Count: 总数
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dbbrain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.652
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|