tencentcloud-sdk-dbbrain 3.0.611 → 3.0.613

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bed042aec0864c36f65b9ed6e12e161bf85ed327
4
- data.tar.gz: 96da2c609109bc61193e562f6ab36b5ebd006c32
3
+ metadata.gz: 31e3084b52cab86625f6e56d7e3ec16f8b37c146
4
+ data.tar.gz: 10f2ed412121668e2a0edd77a52a551649469e5b
5
5
  SHA512:
6
- metadata.gz: 5d8907ca3011692353c5d1f3b14adefcb2ec6777b49fcd7a4094a8a8827ec42daef2c47e94f610c6d6d4e241e9978ea1c8ede2fab1f51d12f78df16d1433db89
7
- data.tar.gz: 3d793af65dece2d5326f7abfb598c0ce62c890ad01a601307e0463652d3e6af341b462110ba1074208fb82d938684d8860c59063f2dff0a8a8933cc29d08d8d3
6
+ metadata.gz: 6a0bc74d9e988b27779d69c654981fd15ac1be3baad0e1e35a17f3d1bc4bc5956b89eb8300f3c140a7d64c2d54701705ea1015e7afdab4588978b9bd76babb36
7
+ data.tar.gz: c3c7de7cc7c19a08ad46edfb61a2df65888f794d52ad7584013beaa8434907c6421a5e0282c23bb81fc0c3256692c55599aa53b41d5a4ec8953be9fe8f30bfa7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.611
1
+ 3.0.613
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 不用审计日志时,关闭数据库审计
81
+
82
+ # @param request: Request instance for CloseAuditService.
83
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::CloseAuditServiceRequest`
84
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::CloseAuditServiceResponse`
85
+ def CloseAuditService(request)
86
+ body = send_request('CloseAuditService', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CloseAuditServiceResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 用于创建云数据库实例的审计日志文件,最多下载600w审计日志。
81
105
 
82
106
  # @param request: Request instance for CreateAuditLogFile.
@@ -461,6 +485,30 @@ module TencentCloud
461
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
486
  end
463
487
 
488
+ # 查询实例列表
489
+
490
+ # @param request: Request instance for DescribeAuditInstanceList.
491
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeAuditInstanceListRequest`
492
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeAuditInstanceListResponse`
493
+ def DescribeAuditInstanceList(request)
494
+ body = send_request('DescribeAuditInstanceList', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DescribeAuditInstanceListResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
464
512
  # 用于创建云数据库实例的审计日志文件
465
513
 
466
514
  # @param request: Request instance for DescribeAuditLogFiles.
@@ -1157,6 +1205,30 @@ module TencentCloud
1157
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1206
  end
1159
1207
 
1208
+ # 修改审计配置相关信息,如高频存储时长等
1209
+
1210
+ # @param request: Request instance for ModifyAuditService.
1211
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::ModifyAuditServiceRequest`
1212
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::ModifyAuditServiceResponse`
1213
+ def ModifyAuditService(request)
1214
+ body = send_request('ModifyAuditService', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = ModifyAuditServiceResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1160
1232
  # 修改实例巡检开关。
1161
1233
 
1162
1234
  # @param request: Request instance for ModifyDiagDBInstanceConf.
@@ -1205,6 +1277,30 @@ module TencentCloud
1205
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1278
  end
1207
1279
 
1280
+ # 开启数据库审计服务
1281
+
1282
+ # @param request: Request instance for OpenAuditService.
1283
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::OpenAuditServiceRequest`
1284
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::OpenAuditServiceResponse`
1285
+ def OpenAuditService(request)
1286
+ body = send_request('OpenAuditService', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = OpenAuditServiceResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1208
1304
  # 验证用户数据库账号权限,获取会话token。
1209
1305
 
1210
1306
  # @param request: Request instance for VerifyUserAccount.
@@ -61,6 +61,126 @@ module TencentCloud
61
61
  end
62
62
  end
63
63
 
64
+ # 实例详细信息
65
+ class AuditInstance < TencentCloud::Common::AbstractModel
66
+ # @param AuditStatus: 审计状态,已开通审计为:YES,未开通审计为:ON。
67
+ # @type AuditStatus: String
68
+ # @param BillingAmount: 审计日志大小,为兼容老版本用。
69
+ # @type BillingAmount: Integer
70
+ # @param BillingConfirmed: 计费确认状态,0-未确认;1-已确认。
71
+ # @type BillingConfirmed: Integer
72
+ # @param ColdLogExpireDay: 低频存储时长。
73
+ # @type ColdLogExpireDay: Integer
74
+ # @param ColdLogSize: 低频日志存储量单位MB。
75
+ # @type ColdLogSize: Integer
76
+ # @param HotLogExpireDay: 高频日志存储天数。
77
+ # @type HotLogExpireDay: Integer
78
+ # @param HotLogSize: 高频日志存储量,单位MB。
79
+ # @type HotLogSize: Integer
80
+ # @param InstanceId: 实例Id。
81
+ # @type InstanceId: String
82
+ # @param LogExpireDay: 日志保存总天数,为高频存储时长+低频存储时长。
83
+ # @type LogExpireDay: Integer
84
+ # @param CreateTime: 实例创建时间。
85
+ # @type CreateTime: String
86
+ # @param InstanceInfo: 实例详细信息。
87
+ # @type InstanceInfo: :class:`Tencentcloud::Dbbrain.v20210527.models.AuditInstanceInfo`
88
+
89
+ attr_accessor :AuditStatus, :BillingAmount, :BillingConfirmed, :ColdLogExpireDay, :ColdLogSize, :HotLogExpireDay, :HotLogSize, :InstanceId, :LogExpireDay, :CreateTime, :InstanceInfo
90
+
91
+ def initialize(auditstatus=nil, billingamount=nil, billingconfirmed=nil, coldlogexpireday=nil, coldlogsize=nil, hotlogexpireday=nil, hotlogsize=nil, instanceid=nil, logexpireday=nil, createtime=nil, instanceinfo=nil)
92
+ @AuditStatus = auditstatus
93
+ @BillingAmount = billingamount
94
+ @BillingConfirmed = billingconfirmed
95
+ @ColdLogExpireDay = coldlogexpireday
96
+ @ColdLogSize = coldlogsize
97
+ @HotLogExpireDay = hotlogexpireday
98
+ @HotLogSize = hotlogsize
99
+ @InstanceId = instanceid
100
+ @LogExpireDay = logexpireday
101
+ @CreateTime = createtime
102
+ @InstanceInfo = instanceinfo
103
+ end
104
+
105
+ def deserialize(params)
106
+ @AuditStatus = params['AuditStatus']
107
+ @BillingAmount = params['BillingAmount']
108
+ @BillingConfirmed = params['BillingConfirmed']
109
+ @ColdLogExpireDay = params['ColdLogExpireDay']
110
+ @ColdLogSize = params['ColdLogSize']
111
+ @HotLogExpireDay = params['HotLogExpireDay']
112
+ @HotLogSize = params['HotLogSize']
113
+ @InstanceId = params['InstanceId']
114
+ @LogExpireDay = params['LogExpireDay']
115
+ @CreateTime = params['CreateTime']
116
+ unless params['InstanceInfo'].nil?
117
+ @InstanceInfo = AuditInstanceInfo.new
118
+ @InstanceInfo.deserialize(params['InstanceInfo'])
119
+ end
120
+ end
121
+ end
122
+
123
+ # 实例列表查询条件
124
+ class AuditInstanceFilter < TencentCloud::Common::AbstractModel
125
+ # @param Name: 搜索条件名称
126
+ # @type Name: String
127
+ # @param Values: 要搜索的条件的值
128
+ # @type Values: Array
129
+
130
+ attr_accessor :Name, :Values
131
+
132
+ def initialize(name=nil, values=nil)
133
+ @Name = name
134
+ @Values = values
135
+ end
136
+
137
+ def deserialize(params)
138
+ @Name = params['Name']
139
+ @Values = params['Values']
140
+ end
141
+ end
142
+
143
+ # 实例详情
144
+ class AuditInstanceInfo < TencentCloud::Common::AbstractModel
145
+ # @param AppId: appId。
146
+ # @type AppId: Integer
147
+ # @param AuditStatus: 审计状态,0-未开通审计;1-已开通审计。
148
+ # @type AuditStatus: Integer
149
+ # @param InstanceId: 实例Id。
150
+ # @type InstanceId: String
151
+ # @param InstanceName: 实例名称。
152
+ # @type InstanceName: String
153
+ # @param ProjectId: 项目Id。
154
+ # @type ProjectId: Integer
155
+ # @param Region: 实例所在地域。
156
+ # @type Region: String
157
+ # @param ResourceTags: 资源Tags。
158
+ # 注意:此字段可能返回 null,表示取不到有效值。
159
+ # @type ResourceTags: Array
160
+
161
+ attr_accessor :AppId, :AuditStatus, :InstanceId, :InstanceName, :ProjectId, :Region, :ResourceTags
162
+
163
+ def initialize(appid=nil, auditstatus=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, resourcetags=nil)
164
+ @AppId = appid
165
+ @AuditStatus = auditstatus
166
+ @InstanceId = instanceid
167
+ @InstanceName = instancename
168
+ @ProjectId = projectid
169
+ @Region = region
170
+ @ResourceTags = resourcetags
171
+ end
172
+
173
+ def deserialize(params)
174
+ @AppId = params['AppId']
175
+ @AuditStatus = params['AuditStatus']
176
+ @InstanceId = params['InstanceId']
177
+ @InstanceName = params['InstanceName']
178
+ @ProjectId = params['ProjectId']
179
+ @Region = params['Region']
180
+ @ResourceTags = params['ResourceTags']
181
+ end
182
+ end
183
+
64
184
  # 审计日志文件
65
185
  class AuditLogFile < TencentCloud::Common::AbstractModel
66
186
  # @param AsyncRequestId: 审计日志文件生成异步任务ID。
@@ -191,6 +311,50 @@ module TencentCloud
191
311
  end
192
312
  end
193
313
 
314
+ # CloseAuditService请求参数结构体
315
+ class CloseAuditServiceRequest < TencentCloud::Common::AbstractModel
316
+ # @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
317
+ # @type Product: String
318
+ # @param NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
319
+ # @type NodeRequestType: String
320
+ # @param InstanceId: 实例Id。
321
+ # @type InstanceId: String
322
+
323
+ attr_accessor :Product, :NodeRequestType, :InstanceId
324
+
325
+ def initialize(product=nil, noderequesttype=nil, instanceid=nil)
326
+ @Product = product
327
+ @NodeRequestType = noderequesttype
328
+ @InstanceId = instanceid
329
+ end
330
+
331
+ def deserialize(params)
332
+ @Product = params['Product']
333
+ @NodeRequestType = params['NodeRequestType']
334
+ @InstanceId = params['InstanceId']
335
+ end
336
+ end
337
+
338
+ # CloseAuditService返回参数结构体
339
+ class CloseAuditServiceResponse < TencentCloud::Common::AbstractModel
340
+ # @param TaskId: 0-关闭审计成功,非0关闭审计失败。
341
+ # @type TaskId: Integer
342
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
343
+ # @type RequestId: String
344
+
345
+ attr_accessor :TaskId, :RequestId
346
+
347
+ def initialize(taskid=nil, requestid=nil)
348
+ @TaskId = taskid
349
+ @RequestId = requestid
350
+ end
351
+
352
+ def deserialize(params)
353
+ @TaskId = params['TaskId']
354
+ @RequestId = params['RequestId']
355
+ end
356
+ end
357
+
194
358
  # 联系人contact描述。
195
359
  class ContactItem < TencentCloud::Common::AbstractModel
196
360
  # @param Id: 联系人id。
@@ -1034,6 +1198,81 @@ module TencentCloud
1034
1198
  end
1035
1199
  end
1036
1200
 
1201
+ # DescribeAuditInstanceList请求参数结构体
1202
+ class DescribeAuditInstanceListRequest < TencentCloud::Common::AbstractModel
1203
+ # @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
1204
+ # @type Product: String
1205
+ # @param NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
1206
+ # @type NodeRequestType: String
1207
+ # @param AuditSwitch: 审计状态标识,0-未开通审计;1-已开通审计,默认为0。
1208
+ # @type AuditSwitch: Integer
1209
+ # @param Offset: 偏移量,默认为0。
1210
+ # @type Offset: Integer
1211
+ # @param Limit: 查询数目,默认为20,最大为100。
1212
+ # @type Limit: Integer
1213
+ # @param Filters: 查询实例的搜索条件。
1214
+ # @type Filters: Array
1215
+
1216
+ attr_accessor :Product, :NodeRequestType, :AuditSwitch, :Offset, :Limit, :Filters
1217
+
1218
+ def initialize(product=nil, noderequesttype=nil, auditswitch=nil, offset=nil, limit=nil, filters=nil)
1219
+ @Product = product
1220
+ @NodeRequestType = noderequesttype
1221
+ @AuditSwitch = auditswitch
1222
+ @Offset = offset
1223
+ @Limit = limit
1224
+ @Filters = filters
1225
+ end
1226
+
1227
+ def deserialize(params)
1228
+ @Product = params['Product']
1229
+ @NodeRequestType = params['NodeRequestType']
1230
+ @AuditSwitch = params['AuditSwitch']
1231
+ @Offset = params['Offset']
1232
+ @Limit = params['Limit']
1233
+ unless params['Filters'].nil?
1234
+ @Filters = []
1235
+ params['Filters'].each do |i|
1236
+ auditinstancefilter_tmp = AuditInstanceFilter.new
1237
+ auditinstancefilter_tmp.deserialize(i)
1238
+ @Filters << auditinstancefilter_tmp
1239
+ end
1240
+ end
1241
+ end
1242
+ end
1243
+
1244
+ # DescribeAuditInstanceList返回参数结构体
1245
+ class DescribeAuditInstanceListResponse < TencentCloud::Common::AbstractModel
1246
+ # @param TotalCount: 符合条件的实例个数。
1247
+ # 注意:此字段可能返回 null,表示取不到有效值。
1248
+ # @type TotalCount: Integer
1249
+ # @param Items: 实例详情。
1250
+ # @type Items: Array
1251
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1252
+ # @type RequestId: String
1253
+
1254
+ attr_accessor :TotalCount, :Items, :RequestId
1255
+
1256
+ def initialize(totalcount=nil, items=nil, requestid=nil)
1257
+ @TotalCount = totalcount
1258
+ @Items = items
1259
+ @RequestId = requestid
1260
+ end
1261
+
1262
+ def deserialize(params)
1263
+ @TotalCount = params['TotalCount']
1264
+ unless params['Items'].nil?
1265
+ @Items = []
1266
+ params['Items'].each do |i|
1267
+ auditinstance_tmp = AuditInstance.new
1268
+ auditinstance_tmp.deserialize(i)
1269
+ @Items << auditinstance_tmp
1270
+ end
1271
+ end
1272
+ @RequestId = params['RequestId']
1273
+ end
1274
+ end
1275
+
1037
1276
  # DescribeAuditLogFiles请求参数结构体
1038
1277
  class DescribeAuditLogFilesRequest < TencentCloud::Common::AbstractModel
1039
1278
  # @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB。
@@ -3487,6 +3726,58 @@ module TencentCloud
3487
3726
  end
3488
3727
  end
3489
3728
 
3729
+ # ModifyAuditService请求参数结构体
3730
+ class ModifyAuditServiceRequest < TencentCloud::Common::AbstractModel
3731
+ # @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
3732
+ # @type Product: String
3733
+ # @param NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
3734
+ # @type NodeRequestType: String
3735
+ # @param InstanceId: 实例ID。
3736
+ # @type InstanceId: String
3737
+ # @param LogExpireDay: 日志保存总时长,只能是7,30,90,180,365,1095,1825。
3738
+ # @type LogExpireDay: Integer
3739
+ # @param HotLogExpireDay: 高频日志保存时长,只能是7,30,90,180,365,1095,1825。
3740
+ # @type HotLogExpireDay: Integer
3741
+
3742
+ attr_accessor :Product, :NodeRequestType, :InstanceId, :LogExpireDay, :HotLogExpireDay
3743
+
3744
+ def initialize(product=nil, noderequesttype=nil, instanceid=nil, logexpireday=nil, hotlogexpireday=nil)
3745
+ @Product = product
3746
+ @NodeRequestType = noderequesttype
3747
+ @InstanceId = instanceid
3748
+ @LogExpireDay = logexpireday
3749
+ @HotLogExpireDay = hotlogexpireday
3750
+ end
3751
+
3752
+ def deserialize(params)
3753
+ @Product = params['Product']
3754
+ @NodeRequestType = params['NodeRequestType']
3755
+ @InstanceId = params['InstanceId']
3756
+ @LogExpireDay = params['LogExpireDay']
3757
+ @HotLogExpireDay = params['HotLogExpireDay']
3758
+ end
3759
+ end
3760
+
3761
+ # ModifyAuditService返回参数结构体
3762
+ class ModifyAuditServiceResponse < TencentCloud::Common::AbstractModel
3763
+ # @param Success: 审计配置修改结果,0-修改成功,非0-修改失败。
3764
+ # @type Success: Integer
3765
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3766
+ # @type RequestId: String
3767
+
3768
+ attr_accessor :Success, :RequestId
3769
+
3770
+ def initialize(success=nil, requestid=nil)
3771
+ @Success = success
3772
+ @RequestId = requestid
3773
+ end
3774
+
3775
+ def deserialize(params)
3776
+ @Success = params['Success']
3777
+ @RequestId = params['RequestId']
3778
+ end
3779
+ end
3780
+
3490
3781
  # ModifyDiagDBInstanceConf请求参数结构体
3491
3782
  class ModifyDiagDBInstanceConfRequest < TencentCloud::Common::AbstractModel
3492
3783
  # @param InstanceConfs: 实例配置,包括巡检、概览开关等。
@@ -3730,6 +4021,58 @@ module TencentCloud
3730
4021
  end
3731
4022
  end
3732
4023
 
4024
+ # OpenAuditService请求参数结构体
4025
+ class OpenAuditServiceRequest < TencentCloud::Common::AbstractModel
4026
+ # @param Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
4027
+ # @type Product: String
4028
+ # @param NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
4029
+ # @type NodeRequestType: String
4030
+ # @param InstanceId: 实例ID。
4031
+ # @type InstanceId: String
4032
+ # @param LogExpireDay: 日志保存总时长,只能是7,30,90,180,365,1095,1825。
4033
+ # @type LogExpireDay: Integer
4034
+ # @param HotLogExpireDay: 高频日志保存时长,只能是7,30,90,180,365,1095,1825。
4035
+ # @type HotLogExpireDay: Integer
4036
+
4037
+ attr_accessor :Product, :NodeRequestType, :InstanceId, :LogExpireDay, :HotLogExpireDay
4038
+
4039
+ def initialize(product=nil, noderequesttype=nil, instanceid=nil, logexpireday=nil, hotlogexpireday=nil)
4040
+ @Product = product
4041
+ @NodeRequestType = noderequesttype
4042
+ @InstanceId = instanceid
4043
+ @LogExpireDay = logexpireday
4044
+ @HotLogExpireDay = hotlogexpireday
4045
+ end
4046
+
4047
+ def deserialize(params)
4048
+ @Product = params['Product']
4049
+ @NodeRequestType = params['NodeRequestType']
4050
+ @InstanceId = params['InstanceId']
4051
+ @LogExpireDay = params['LogExpireDay']
4052
+ @HotLogExpireDay = params['HotLogExpireDay']
4053
+ end
4054
+ end
4055
+
4056
+ # OpenAuditService返回参数结构体
4057
+ class OpenAuditServiceResponse < TencentCloud::Common::AbstractModel
4058
+ # @param TaskId: taskId 为0表示开通审计成功,否则开通失败
4059
+ # @type TaskId: Integer
4060
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4061
+ # @type RequestId: String
4062
+
4063
+ attr_accessor :TaskId, :RequestId
4064
+
4065
+ def initialize(taskid=nil, requestid=nil)
4066
+ @TaskId = taskid
4067
+ @RequestId = requestid
4068
+ end
4069
+
4070
+ def deserialize(params)
4071
+ @TaskId = params['TaskId']
4072
+ @RequestId = params['RequestId']
4073
+ end
4074
+ end
4075
+
3733
4076
  # 实时会话统计详情。
3734
4077
  class ProcessStatistic < TencentCloud::Common::AbstractModel
3735
4078
  # @param Items: 会话详情数组。
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.611
4
+ version: 3.0.613
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-07-12 00:00:00.000000000 Z
11
+ date: 2023-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common