tencentcloud-sdk-mongodb 3.0.1161 → 3.0.1171

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 904a86fd55b1160f86ed156c26c91e4d36146594
4
- data.tar.gz: d2af3318413ca6c94f270eb5678fa30489fef16e
3
+ metadata.gz: 9353ce66cf33e1755c6a270d75e8631d4c844f4b
4
+ data.tar.gz: 032d6dfd38c9dbd3e467620e3d3c3af37bd71dd4
5
5
  SHA512:
6
- metadata.gz: 4f047cce1204a2b3a250aa69fae30f7c22baeedb8a070fbefbd1f6785b6dad786e2db29bd32a70ef740aac0916fd7236932b0a8501a335729a2e1d5ccef9d14b
7
- data.tar.gz: 0a09923bd4fbc6d6bef2a64514dfe173a8204f9d740648717dbb8f1f39ad13b0a61f7f7af760c43a2f37f16a047c27e94b6796ea660b3b35c71604b33b555316
6
+ metadata.gz: 6ee5d7be8bb63860b27bc670bda44376b3df0b6c1db7db8c659556d06e726640aa5d166cf7531bca508a8172e08c354e8d89d87909542a7b4794f08bea3ffe28
7
+ data.tar.gz: 968e890db30c69dc1a01f7a39e27640dd5087e800881ced3b1879565b4bdabb66e92ee1512f73cf296d4e21c81b7fd618f800401ec14532a211e80e8ed413b2a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1161
1
+ 3.0.1171
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
81
+
82
+ # @param request: Request instance for CreateAuditLogFile.
83
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::CreateAuditLogFileRequest`
84
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::CreateAuditLogFileResponse`
85
+ def CreateAuditLogFile(request)
86
+ body = send_request('CreateAuditLogFile', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateAuditLogFileResponse.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
  # 本接口(CreateBackupDBInstance)用于备份实例。
81
105
 
82
106
  # @param request: Request instance for CreateBackupDBInstance.
@@ -246,6 +270,30 @@ module TencentCloud
246
270
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
247
271
  end
248
272
 
273
+ # 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
274
+
275
+ # @param request: Request instance for DeleteAuditLogFile.
276
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::DeleteAuditLogFileRequest`
277
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::DeleteAuditLogFileResponse`
278
+ def DeleteAuditLogFile(request)
279
+ body = send_request('DeleteAuditLogFile', request.serialize)
280
+ response = JSON.parse(body)
281
+ if response['Response'].key?('Error') == false
282
+ model = DeleteAuditLogFileResponse.new
283
+ model.deserialize(response['Response'])
284
+ model
285
+ else
286
+ code = response['Response']['Error']['Code']
287
+ message = response['Response']['Error']['Message']
288
+ reqid = response['Response']['RequestId']
289
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
290
+ end
291
+ rescue TencentCloud::Common::TencentCloudSDKException => e
292
+ raise e
293
+ rescue StandardError => e
294
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
295
+ end
296
+
249
297
  # 删除日志下载任务
250
298
 
251
299
  # @param request: Request instance for DeleteLogDownloadTask.
@@ -318,6 +366,30 @@ module TencentCloud
318
366
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
319
367
  end
320
368
 
369
+ # 本接口(DescribeAuditInstanceList)用于查询开通或未开通数据库审计的实例列表。
370
+
371
+ # @param request: Request instance for DescribeAuditInstanceList.
372
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::DescribeAuditInstanceListRequest`
373
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::DescribeAuditInstanceListResponse`
374
+ def DescribeAuditInstanceList(request)
375
+ body = send_request('DescribeAuditInstanceList', request.serialize)
376
+ response = JSON.parse(body)
377
+ if response['Response'].key?('Error') == false
378
+ model = DescribeAuditInstanceListResponse.new
379
+ model.deserialize(response['Response'])
380
+ model
381
+ else
382
+ code = response['Response']['Error']['Code']
383
+ message = response['Response']['Error']['Message']
384
+ reqid = response['Response']['RequestId']
385
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
386
+ end
387
+ rescue TencentCloud::Common::TencentCloudSDKException => e
388
+ raise e
389
+ rescue StandardError => e
390
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
391
+ end
392
+
321
393
  # 本接口(DescribeBackupDownloadTask)用于查询备份下载任务信息。
322
394
 
323
395
  # @param request: Request instance for DescribeBackupDownloadTask.
@@ -656,6 +728,30 @@ module TencentCloud
656
728
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
729
  end
658
730
 
731
+ # 查看实例SSL开启状态
732
+
733
+ # @param request: Request instance for DescribeInstanceSSL.
734
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::DescribeInstanceSSLRequest`
735
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::DescribeInstanceSSLResponse`
736
+ def DescribeInstanceSSL(request)
737
+ body = send_request('DescribeInstanceSSL', request.serialize)
738
+ response = JSON.parse(body)
739
+ if response['Response'].key?('Error') == false
740
+ model = DescribeInstanceSSLResponse.new
741
+ model.deserialize(response['Response'])
742
+ model
743
+ else
744
+ code = response['Response']['Error']['Code']
745
+ message = response['Response']['Error']['Message']
746
+ reqid = response['Response']['RequestId']
747
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
748
+ end
749
+ rescue TencentCloud::Common::TencentCloudSDKException => e
750
+ raise e
751
+ rescue StandardError => e
752
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
753
+ end
754
+
659
755
  # 日志下载任务查询
660
756
 
661
757
  # @param request: Request instance for DescribeLogDownloadTasks.
@@ -994,6 +1090,30 @@ module TencentCloud
994
1090
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
995
1091
  end
996
1092
 
1093
+ # 本接口(InstanceEnableSSL)用于设置实例SSL状态。
1094
+
1095
+ # @param request: Request instance for InstanceEnableSSL.
1096
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::InstanceEnableSSLRequest`
1097
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::InstanceEnableSSLResponse`
1098
+ def InstanceEnableSSL(request)
1099
+ body = send_request('InstanceEnableSSL', request.serialize)
1100
+ response = JSON.parse(body)
1101
+ if response['Response'].key?('Error') == false
1102
+ model = InstanceEnableSSLResponse.new
1103
+ model.deserialize(response['Response'])
1104
+ model
1105
+ else
1106
+ code = response['Response']['Error']['Code']
1107
+ message = response['Response']['Error']['Message']
1108
+ reqid = response['Response']['RequestId']
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1110
+ end
1111
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1112
+ raise e
1113
+ rescue StandardError => e
1114
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1115
+ end
1116
+
997
1117
  # 本接口(IsolateDBInstance)用于隔离 MongoDB 云数据库按量计费实例。隔离后实例保留在回收站中,不能再写入数据。隔离一定时间后,实例会彻底删除,回收站保存时间请参考按量计费的服务条款。已删除的按量计费实例无法恢复,请谨慎操作。
998
1118
 
999
1119
  # @param request: Request instance for IsolateDBInstance.
@@ -1042,6 +1162,30 @@ module TencentCloud
1042
1162
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1043
1163
  end
1044
1164
 
1165
+ # 本接口(ModifyAuditService)用于修改云数据库审计策略的服务配置,包括审计日志保存时长等。
1166
+
1167
+ # @param request: Request instance for ModifyAuditService.
1168
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::ModifyAuditServiceRequest`
1169
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::ModifyAuditServiceResponse`
1170
+ def ModifyAuditService(request)
1171
+ body = send_request('ModifyAuditService', request.serialize)
1172
+ response = JSON.parse(body)
1173
+ if response['Response'].key?('Error') == false
1174
+ model = ModifyAuditServiceResponse.new
1175
+ model.deserialize(response['Response'])
1176
+ model
1177
+ else
1178
+ code = response['Response']['Error']['Code']
1179
+ message = response['Response']['Error']['Message']
1180
+ reqid = response['Response']['RequestId']
1181
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1182
+ end
1183
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1184
+ raise e
1185
+ rescue StandardError => e
1186
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1187
+ end
1188
+
1045
1189
  # 本接口(ModifyDBInstanceNetworkAddress)用于修改云数据库实例的网络信息,支持基础网络切换为私有网络、私有网络切换私有网络。
1046
1190
 
1047
1191
  # @param request: Request instance for ModifyDBInstanceNetworkAddress.
@@ -1187,6 +1331,30 @@ module TencentCloud
1187
1331
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1188
1332
  end
1189
1333
 
1334
+ # 本接口(OpenAuditService)用于开通云数据库实例的审计。
1335
+
1336
+ # @param request: Request instance for OpenAuditService.
1337
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::OpenAuditServiceRequest`
1338
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::OpenAuditServiceResponse`
1339
+ def OpenAuditService(request)
1340
+ body = send_request('OpenAuditService', request.serialize)
1341
+ response = JSON.parse(body)
1342
+ if response['Response'].key?('Error') == false
1343
+ model = OpenAuditServiceResponse.new
1344
+ model.deserialize(response['Response'])
1345
+ model
1346
+ else
1347
+ code = response['Response']['Error']['Code']
1348
+ message = response['Response']['Error']['Message']
1349
+ reqid = response['Response']['RequestId']
1350
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1351
+ end
1352
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1353
+ raise e
1354
+ rescue StandardError => e
1355
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1356
+ end
1357
+
1190
1358
  # 本接口(RenameInstance)用于修改云数据库实例的名称。
1191
1359
 
1192
1360
  # @param request: Request instance for RenameInstance.
@@ -82,6 +82,152 @@ module TencentCloud
82
82
  end
83
83
  end
84
84
 
85
+ # 审计实例信息
86
+ class AuditInstance < TencentCloud::Common::AbstractModel
87
+ # @param InstanceId: 实例 ID。
88
+ # @type InstanceId: String
89
+ # @param AuditStatus: 审计状态。
90
+ # @type AuditStatus: String
91
+ # @param AuditTask: 是否存在审计任务,0:无任务,1:创建中,2:关闭中
92
+ # 注意:此字段可能返回 null,表示取不到有效值。
93
+ # @type AuditTask: Integer
94
+ # @param LogExpireDay: 审计日志过期时间
95
+ # 注意:此字段可能返回 null,表示取不到有效值。
96
+ # @type LogExpireDay: Integer
97
+ # @param HighLogExpireDay: 高频日志过期时间
98
+ # 注意:此字段可能返回 null,表示取不到有效值。
99
+ # @type HighLogExpireDay: Integer
100
+ # @param LowLogExpireDay: 低频日志过期时间
101
+ # 注意:此字段可能返回 null,表示取不到有效值。
102
+ # @type LowLogExpireDay: Integer
103
+ # @param BillingAmount: 费用信息。
104
+ # @type BillingAmount: Float
105
+ # @param HighRealStorage: 高频存储容量
106
+ # 注意:此字段可能返回 null,表示取不到有效值。
107
+ # @type HighRealStorage: Float
108
+ # @param LowRealStorage: 低频存储容量
109
+ # 注意:此字段可能返回 null,表示取不到有效值。
110
+ # @type LowRealStorage: Float
111
+ # @param InstanceInfo: 实例详情。
112
+ # 注意:此字段可能返回 null,表示取不到有效值。
113
+ # @type InstanceInfo: :class:`Tencentcloud::Mongodb.v20190725.models.InstanceInfo`
114
+ # @param PerformancesAnalyse: 性能分析
115
+ # 注意:此字段可能返回 null,表示取不到有效值。
116
+ # @type PerformancesAnalyse: Integer
117
+ # @param AuditAll: true表示全审计,false表示规则审计
118
+ # 注意:此字段可能返回 null,表示取不到有效值。
119
+ # @type AuditAll: Boolean
120
+ # @param CreateAt: 实例审计最近一次的开通时间
121
+ # 注意:此字段可能返回 null,表示取不到有效值。
122
+ # @type CreateAt: String
123
+ # @param RuleTemplateIds: 实例绑定的规则模版ID
124
+ # 注意:此字段可能返回 null,表示取不到有效值。
125
+ # @type RuleTemplateIds: Array
126
+ # @param Deliver: 是否开启投递:ON,OFF
127
+ # 注意:此字段可能返回 null,表示取不到有效值。
128
+ # @type Deliver: String
129
+ # @param DeliverSummary: 日志投递信息
130
+ # @type DeliverSummary: Array
131
+ # @param OldRule: 旧规则
132
+ # @type OldRule: Boolean
133
+ # @param RealStorage: 实际存储容量
134
+ # @type RealStorage: Float
135
+
136
+ attr_accessor :InstanceId, :AuditStatus, :AuditTask, :LogExpireDay, :HighLogExpireDay, :LowLogExpireDay, :BillingAmount, :HighRealStorage, :LowRealStorage, :InstanceInfo, :PerformancesAnalyse, :AuditAll, :CreateAt, :RuleTemplateIds, :Deliver, :DeliverSummary, :OldRule, :RealStorage
137
+
138
+ def initialize(instanceid=nil, auditstatus=nil, audittask=nil, logexpireday=nil, highlogexpireday=nil, lowlogexpireday=nil, billingamount=nil, highrealstorage=nil, lowrealstorage=nil, instanceinfo=nil, performancesanalyse=nil, auditall=nil, createat=nil, ruletemplateids=nil, deliver=nil, deliversummary=nil, oldrule=nil, realstorage=nil)
139
+ @InstanceId = instanceid
140
+ @AuditStatus = auditstatus
141
+ @AuditTask = audittask
142
+ @LogExpireDay = logexpireday
143
+ @HighLogExpireDay = highlogexpireday
144
+ @LowLogExpireDay = lowlogexpireday
145
+ @BillingAmount = billingamount
146
+ @HighRealStorage = highrealstorage
147
+ @LowRealStorage = lowrealstorage
148
+ @InstanceInfo = instanceinfo
149
+ @PerformancesAnalyse = performancesanalyse
150
+ @AuditAll = auditall
151
+ @CreateAt = createat
152
+ @RuleTemplateIds = ruletemplateids
153
+ @Deliver = deliver
154
+ @DeliverSummary = deliversummary
155
+ @OldRule = oldrule
156
+ @RealStorage = realstorage
157
+ end
158
+
159
+ def deserialize(params)
160
+ @InstanceId = params['InstanceId']
161
+ @AuditStatus = params['AuditStatus']
162
+ @AuditTask = params['AuditTask']
163
+ @LogExpireDay = params['LogExpireDay']
164
+ @HighLogExpireDay = params['HighLogExpireDay']
165
+ @LowLogExpireDay = params['LowLogExpireDay']
166
+ @BillingAmount = params['BillingAmount']
167
+ @HighRealStorage = params['HighRealStorage']
168
+ @LowRealStorage = params['LowRealStorage']
169
+ unless params['InstanceInfo'].nil?
170
+ @InstanceInfo = InstanceInfo.new
171
+ @InstanceInfo.deserialize(params['InstanceInfo'])
172
+ end
173
+ @PerformancesAnalyse = params['PerformancesAnalyse']
174
+ @AuditAll = params['AuditAll']
175
+ @CreateAt = params['CreateAt']
176
+ @RuleTemplateIds = params['RuleTemplateIds']
177
+ @Deliver = params['Deliver']
178
+ unless params['DeliverSummary'].nil?
179
+ @DeliverSummary = []
180
+ params['DeliverSummary'].each do |i|
181
+ deliversummary_tmp = DeliverSummary.new
182
+ deliversummary_tmp.deserialize(i)
183
+ @DeliverSummary << deliversummary_tmp
184
+ end
185
+ end
186
+ @OldRule = params['OldRule']
187
+ @RealStorage = params['RealStorage']
188
+ end
189
+ end
190
+
191
+ # 审计日志过滤条件
192
+ class AuditLogFilter < TencentCloud::Common::AbstractModel
193
+ # @param Host: 客户端地址。
194
+ # @type Host: Array
195
+ # @param User: 用户名。
196
+ # @type User: Array
197
+ # @param ExecTime: 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。
198
+ # @type ExecTime: Integer
199
+ # @param AffectRows: 影响行数。表示筛选影响行数大于该值的审计日志。
200
+ # @type AffectRows: Integer
201
+ # @param Atype: 操作类型。
202
+ # @type Atype: Array
203
+ # @param Result: 执行结果。
204
+ # @type Result: Array
205
+ # @param Param: 根据此关键字过滤日志
206
+ # @type Param: Array
207
+
208
+ attr_accessor :Host, :User, :ExecTime, :AffectRows, :Atype, :Result, :Param
209
+
210
+ def initialize(host=nil, user=nil, exectime=nil, affectrows=nil, atype=nil, result=nil, param=nil)
211
+ @Host = host
212
+ @User = user
213
+ @ExecTime = exectime
214
+ @AffectRows = affectrows
215
+ @Atype = atype
216
+ @Result = result
217
+ @Param = param
218
+ end
219
+
220
+ def deserialize(params)
221
+ @Host = params['Host']
222
+ @User = params['User']
223
+ @ExecTime = params['ExecTime']
224
+ @AffectRows = params['AffectRows']
225
+ @Atype = params['Atype']
226
+ @Result = params['Result']
227
+ @Param = params['Param']
228
+ end
229
+ end
230
+
85
231
  # 用户权限
86
232
  class Auth < TencentCloud::Common::AbstractModel
87
233
  # @param Mask: 当前账号具有的权限信息。
@@ -370,6 +516,67 @@ module TencentCloud
370
516
  end
371
517
  end
372
518
 
519
+ # CreateAuditLogFile请求参数结构体
520
+ class CreateAuditLogFileRequest < TencentCloud::Common::AbstractModel
521
+ # @param InstanceId: 实例 ID,格式如:cmgo-xfts****,与云数据库控制台页面中显示的实例 ID 相同。
522
+ # @type InstanceId: String
523
+ # @param StartTime: 开始时间,格式为:"2021-07-12 10:29:20"。
524
+ # @type StartTime: String
525
+ # @param EndTime: 结束时间,格式为:"2021-07-12 10:39:20"。
526
+ # @type EndTime: String
527
+ # @param Order: 审计日志文件的排序方式。
528
+ # <ul><li>ASC:升序。</li><li>DESC:降序。</li></ul>
529
+ # @type Order: String
530
+ # @param OrderBy: 审计日志文件的排序字段。当前支持的取值包括:
531
+ # <ul><li>timestamp:时间戳。</li><li>affectRows:影响行数。</li><li>execTime:执行时间。</li></ul>
532
+ # @type OrderBy: String
533
+ # @param Filter: 过滤条件。可按设置的过滤条件过滤审计日志。
534
+ # @type Filter: :class:`Tencentcloud::Mongodb.v20190725.models.AuditLogFilter`
535
+
536
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter
537
+
538
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil)
539
+ @InstanceId = instanceid
540
+ @StartTime = starttime
541
+ @EndTime = endtime
542
+ @Order = order
543
+ @OrderBy = orderby
544
+ @Filter = filter
545
+ end
546
+
547
+ def deserialize(params)
548
+ @InstanceId = params['InstanceId']
549
+ @StartTime = params['StartTime']
550
+ @EndTime = params['EndTime']
551
+ @Order = params['Order']
552
+ @OrderBy = params['OrderBy']
553
+ unless params['Filter'].nil?
554
+ @Filter = AuditLogFilter.new
555
+ @Filter.deserialize(params['Filter'])
556
+ end
557
+ end
558
+ end
559
+
560
+ # CreateAuditLogFile返回参数结构体
561
+ class CreateAuditLogFileResponse < TencentCloud::Common::AbstractModel
562
+ # @param FileName: 审计日志文件名称。
563
+ # @type FileName: String
564
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
565
+ # @type RequestId: String
566
+
567
+ attr_accessor :FileName, :RequestId
568
+
569
+ def initialize(filename=nil, requestid=nil)
570
+ @FileName = filename
571
+ @RequestId = requestid
572
+ end
573
+
574
+ def deserialize(params)
575
+ @FileName = params['FileName']
576
+ @RequestId = params['RequestId']
577
+ end
578
+ end
579
+
373
580
  # CreateBackupDBInstance请求参数结构体
374
581
  class CreateBackupDBInstanceRequest < TencentCloud::Common::AbstractModel
375
582
  # @param InstanceId: 实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
@@ -1206,6 +1413,42 @@ module TencentCloud
1206
1413
  end
1207
1414
  end
1208
1415
 
1416
+ # DeleteAuditLogFile请求参数结构体
1417
+ class DeleteAuditLogFileRequest < TencentCloud::Common::AbstractModel
1418
+ # @param InstanceId: 实例ID,格式如:cmgo-test1234,与云数据库控制台页面中显示的实例 ID 相同。
1419
+ # @type InstanceId: String
1420
+ # @param FileName: 审计日志文件名称,须保证文件名的准确性。
1421
+ # @type FileName: String
1422
+
1423
+ attr_accessor :InstanceId, :FileName
1424
+
1425
+ def initialize(instanceid=nil, filename=nil)
1426
+ @InstanceId = instanceid
1427
+ @FileName = filename
1428
+ end
1429
+
1430
+ def deserialize(params)
1431
+ @InstanceId = params['InstanceId']
1432
+ @FileName = params['FileName']
1433
+ end
1434
+ end
1435
+
1436
+ # DeleteAuditLogFile返回参数结构体
1437
+ class DeleteAuditLogFileResponse < TencentCloud::Common::AbstractModel
1438
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1439
+ # @type RequestId: String
1440
+
1441
+ attr_accessor :RequestId
1442
+
1443
+ def initialize(requestid=nil)
1444
+ @RequestId = requestid
1445
+ end
1446
+
1447
+ def deserialize(params)
1448
+ @RequestId = params['RequestId']
1449
+ end
1450
+ end
1451
+
1209
1452
  # DeleteLogDownloadTask请求参数结构体
1210
1453
  class DeleteLogDownloadTaskRequest < TencentCloud::Common::AbstractModel
1211
1454
  # @param InstanceId: 实例 ID
@@ -1246,6 +1489,26 @@ module TencentCloud
1246
1489
  end
1247
1490
  end
1248
1491
 
1492
+ # 日志投递信息
1493
+ class DeliverSummary < TencentCloud::Common::AbstractModel
1494
+ # @param DeliverType: 投递类型,store(存储类),mq(消息通道)
1495
+ # @type DeliverType: String
1496
+ # @param DeliverSubType: 投递子类型:cls,ckafka。
1497
+ # @type DeliverSubType: String
1498
+
1499
+ attr_accessor :DeliverType, :DeliverSubType
1500
+
1501
+ def initialize(delivertype=nil, deliversubtype=nil)
1502
+ @DeliverType = delivertype
1503
+ @DeliverSubType = deliversubtype
1504
+ end
1505
+
1506
+ def deserialize(params)
1507
+ @DeliverType = params['DeliverType']
1508
+ @DeliverSubType = params['DeliverSubType']
1509
+ end
1510
+ end
1511
+
1249
1512
  # DescribeAccountUsers请求参数结构体
1250
1513
  class DescribeAccountUsersRequest < TencentCloud::Common::AbstractModel
1251
1514
  # @param InstanceId: 指定待获取账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
@@ -1333,6 +1596,77 @@ module TencentCloud
1333
1596
  end
1334
1597
  end
1335
1598
 
1599
+ # DescribeAuditInstanceList请求参数结构体
1600
+ class DescribeAuditInstanceListRequest < TencentCloud::Common::AbstractModel
1601
+ # @param AuditSwitch: 指明待查询的实例为已开通审计或未开通审计。<ul><li>1:已开通审计功能。</li><li>0:未开通审计功能。</li></ul>
1602
+ # @type AuditSwitch: Integer
1603
+ # @param Filters: 筛选条件。
1604
+ # @type Filters: Array
1605
+ # @param AuditMode: 审计类型,不传 默认全部,0 全审计,1 规则审计
1606
+ # @type AuditMode: Integer
1607
+ # @param Limit: 每页显示数量。
1608
+ # @type Limit: Integer
1609
+ # @param Offset: 分页偏移量。
1610
+ # @type Offset: Integer
1611
+
1612
+ attr_accessor :AuditSwitch, :Filters, :AuditMode, :Limit, :Offset
1613
+
1614
+ def initialize(auditswitch=nil, filters=nil, auditmode=nil, limit=nil, offset=nil)
1615
+ @AuditSwitch = auditswitch
1616
+ @Filters = filters
1617
+ @AuditMode = auditmode
1618
+ @Limit = limit
1619
+ @Offset = offset
1620
+ end
1621
+
1622
+ def deserialize(params)
1623
+ @AuditSwitch = params['AuditSwitch']
1624
+ unless params['Filters'].nil?
1625
+ @Filters = []
1626
+ params['Filters'].each do |i|
1627
+ filters_tmp = Filters.new
1628
+ filters_tmp.deserialize(i)
1629
+ @Filters << filters_tmp
1630
+ end
1631
+ end
1632
+ @AuditMode = params['AuditMode']
1633
+ @Limit = params['Limit']
1634
+ @Offset = params['Offset']
1635
+ end
1636
+ end
1637
+
1638
+ # DescribeAuditInstanceList返回参数结构体
1639
+ class DescribeAuditInstanceListResponse < TencentCloud::Common::AbstractModel
1640
+ # @param TotalCount: 实例总数。
1641
+ # @type TotalCount: Integer
1642
+ # @param Items: 审计实例详情。
1643
+ # 注意:此字段可能返回 null,表示取不到有效值。
1644
+ # @type Items: Array
1645
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1646
+ # @type RequestId: String
1647
+
1648
+ attr_accessor :TotalCount, :Items, :RequestId
1649
+
1650
+ def initialize(totalcount=nil, items=nil, requestid=nil)
1651
+ @TotalCount = totalcount
1652
+ @Items = items
1653
+ @RequestId = requestid
1654
+ end
1655
+
1656
+ def deserialize(params)
1657
+ @TotalCount = params['TotalCount']
1658
+ unless params['Items'].nil?
1659
+ @Items = []
1660
+ params['Items'].each do |i|
1661
+ auditinstance_tmp = AuditInstance.new
1662
+ auditinstance_tmp.deserialize(i)
1663
+ @Items << auditinstance_tmp
1664
+ end
1665
+ end
1666
+ @RequestId = params['RequestId']
1667
+ end
1668
+ end
1669
+
1336
1670
  # DescribeBackupDownloadTask请求参数结构体
1337
1671
  class DescribeBackupDownloadTaskRequest < TencentCloud::Common::AbstractModel
1338
1672
  # @param InstanceId: 实例ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
@@ -2408,6 +2742,53 @@ module TencentCloud
2408
2742
  end
2409
2743
  end
2410
2744
 
2745
+ # DescribeInstanceSSL请求参数结构体
2746
+ class DescribeInstanceSSLRequest < TencentCloud::Common::AbstractModel
2747
+ # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
2748
+ # @type InstanceId: String
2749
+
2750
+ attr_accessor :InstanceId
2751
+
2752
+ def initialize(instanceid=nil)
2753
+ @InstanceId = instanceid
2754
+ end
2755
+
2756
+ def deserialize(params)
2757
+ @InstanceId = params['InstanceId']
2758
+ end
2759
+ end
2760
+
2761
+ # DescribeInstanceSSL返回参数结构体
2762
+ class DescribeInstanceSSLResponse < TencentCloud::Common::AbstractModel
2763
+ # @param Status: SSL开启状态。0为关闭,1为开启
2764
+ # 注意:此字段可能返回 null,表示取不到有效值。
2765
+ # @type Status: Integer
2766
+ # @param ExpiredTime: 证书过期时间,格式为2023-05-01 12:00:00
2767
+ # 注意:此字段可能返回 null,表示取不到有效值。
2768
+ # @type ExpiredTime: String
2769
+ # @param CertUrl: 证书下载链接
2770
+ # 注意:此字段可能返回 null,表示取不到有效值。
2771
+ # @type CertUrl: String
2772
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2773
+ # @type RequestId: String
2774
+
2775
+ attr_accessor :Status, :ExpiredTime, :CertUrl, :RequestId
2776
+
2777
+ def initialize(status=nil, expiredtime=nil, certurl=nil, requestid=nil)
2778
+ @Status = status
2779
+ @ExpiredTime = expiredtime
2780
+ @CertUrl = certurl
2781
+ @RequestId = requestid
2782
+ end
2783
+
2784
+ def deserialize(params)
2785
+ @Status = params['Status']
2786
+ @ExpiredTime = params['ExpiredTime']
2787
+ @CertUrl = params['CertUrl']
2788
+ @RequestId = params['RequestId']
2789
+ end
2790
+ end
2791
+
2411
2792
  # DescribeLogDownloadTasks请求参数结构体
2412
2793
  class DescribeLogDownloadTasksRequest < TencentCloud::Common::AbstractModel
2413
2794
  # @param InstanceId: 实例 ID
@@ -2943,6 +3324,29 @@ module TencentCloud
2943
3324
  end
2944
3325
  end
2945
3326
 
3327
+ # 过滤条件
3328
+ class Filters < TencentCloud::Common::AbstractModel
3329
+ # @param Name: 搜索字段,目前支持:
3330
+ # "InstanceId":实例Id,例如:cmgo-****)
3331
+ # "InstanceName":实例名称
3332
+ # "ClusterId":实例组Id,例如:cmgo-****
3333
+ # @type Name: String
3334
+ # @param Values: 筛选值
3335
+ # @type Values: Array
3336
+
3337
+ attr_accessor :Name, :Values
3338
+
3339
+ def initialize(name=nil, values=nil)
3340
+ @Name = name
3341
+ @Values = values
3342
+ end
3343
+
3344
+ def deserialize(params)
3345
+ @Name = params['Name']
3346
+ @Values = params['Values']
3347
+ end
3348
+ end
3349
+
2946
3350
  # FlashBackDBInstance请求参数结构体
2947
3351
  class FlashBackDBInstanceRequest < TencentCloud::Common::AbstractModel
2948
3352
  # @param InstanceId: 开启按 Key 回档的实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制需开启按 Key 回档的实例 ID。
@@ -3608,6 +4012,65 @@ module TencentCloud
3608
4012
  end
3609
4013
  end
3610
4014
 
4015
+ # InstanceEnableSSL请求参数结构体
4016
+ class InstanceEnableSSLRequest < TencentCloud::Common::AbstractModel
4017
+ # @param InstanceId: 实例ID
4018
+ # @type InstanceId: String
4019
+ # @param Enable: 配置是否要开启SSL访问。
4020
+ # - true:开启。
4021
+ # - false:关闭。
4022
+ # @type Enable: Boolean
4023
+
4024
+ attr_accessor :InstanceId, :Enable
4025
+
4026
+ def initialize(instanceid=nil, enable=nil)
4027
+ @InstanceId = instanceid
4028
+ @Enable = enable
4029
+ end
4030
+
4031
+ def deserialize(params)
4032
+ @InstanceId = params['InstanceId']
4033
+ @Enable = params['Enable']
4034
+ end
4035
+ end
4036
+
4037
+ # InstanceEnableSSL返回参数结构体
4038
+ class InstanceEnableSSLResponse < TencentCloud::Common::AbstractModel
4039
+ # @param Status: SSL开启状态。
4040
+ # - 0:关闭。
4041
+ # - 1:开启。
4042
+ # 注意:此字段可能返回 null,表示取不到有效值。
4043
+ # @type Status: Integer
4044
+ # @param ExpiredTime: 证书文件过期时间,格式为:2023-05-01 12:00:00。
4045
+ # 注意:此字段可能返回 null,表示取不到有效值。
4046
+ # @type ExpiredTime: String
4047
+ # @param CertUrl: 证书文件的下载链接。
4048
+ # 注意:此字段可能返回 null,表示取不到有效值。
4049
+ # @type CertUrl: String
4050
+ # @param FlowId: 流程id
4051
+ # @type FlowId: Integer
4052
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4053
+ # @type RequestId: String
4054
+
4055
+ attr_accessor :Status, :ExpiredTime, :CertUrl, :FlowId, :RequestId
4056
+
4057
+ def initialize(status=nil, expiredtime=nil, certurl=nil, flowid=nil, requestid=nil)
4058
+ @Status = status
4059
+ @ExpiredTime = expiredtime
4060
+ @CertUrl = certurl
4061
+ @FlowId = flowid
4062
+ @RequestId = requestid
4063
+ end
4064
+
4065
+ def deserialize(params)
4066
+ @Status = params['Status']
4067
+ @ExpiredTime = params['ExpiredTime']
4068
+ @CertUrl = params['CertUrl']
4069
+ @FlowId = params['FlowId']
4070
+ @RequestId = params['RequestId']
4071
+ end
4072
+ end
4073
+
3611
4074
  # 实例可修改参数枚举类型集合。
3612
4075
  class InstanceEnumParam < TencentCloud::Common::AbstractModel
3613
4076
  # @param CurrentValue: 参数当前值。
@@ -3656,6 +4119,90 @@ module TencentCloud
3656
4119
  end
3657
4120
  end
3658
4121
 
4122
+ # 实例信息详情
4123
+ class InstanceInfo < TencentCloud::Common::AbstractModel
4124
+ # @param AuditLogExpireDay: 审计日志保存时长。
4125
+ # 注意:此字段可能返回 null,表示取不到有效值。
4126
+ # @type AuditLogExpireDay: Integer
4127
+ # @param AuditStatus: 审计状态。
4128
+ # 注意:此字段可能返回 null,表示取不到有效值。
4129
+ # @type AuditStatus: String
4130
+ # @param InstanceId: 实例 ID。
4131
+ # 注意:此字段可能返回 null,表示取不到有效值。
4132
+ # @type InstanceId: String
4133
+ # @param InstanceName: 实例名。
4134
+ # 注意:此字段可能返回 null,表示取不到有效值。
4135
+ # @type InstanceName: String
4136
+ # @param InstanceRole: 实例角色。
4137
+ # 注意:此字段可能返回 null,表示取不到有效值。
4138
+ # @type InstanceRole: String
4139
+ # @param InstanceType: 实例类型。
4140
+ # 注意:此字段可能返回 null,表示取不到有效值。
4141
+ # @type InstanceType: String
4142
+ # @param MongodbVersion: 数据库版本。
4143
+ # 注意:此字段可能返回 null,表示取不到有效值。
4144
+ # @type MongodbVersion: String
4145
+ # @param ProjectId: 项目 ID。
4146
+ # 注意:此字段可能返回 null,表示取不到有效值。
4147
+ # @type ProjectId: Integer
4148
+ # @param Region: 地域。
4149
+ # 注意:此字段可能返回 null,表示取不到有效值。
4150
+ # @type Region: String
4151
+ # @param Status: 实例状态。
4152
+ # 注意:此字段可能返回 null,表示取不到有效值。
4153
+ # @type Status: String
4154
+ # @param SupportAudit: 是否支持审计。
4155
+ # 注意:此字段可能返回 null,表示取不到有效值。
4156
+ # @type SupportAudit: Boolean
4157
+ # @param Zone: 可用区。
4158
+ # 注意:此字段可能返回 null,表示取不到有效值。
4159
+ # @type Zone: String
4160
+ # @param TagList: 标签信息
4161
+ # 注意:此字段可能返回 null,表示取不到有效值。
4162
+ # @type TagList: Array
4163
+
4164
+ attr_accessor :AuditLogExpireDay, :AuditStatus, :InstanceId, :InstanceName, :InstanceRole, :InstanceType, :MongodbVersion, :ProjectId, :Region, :Status, :SupportAudit, :Zone, :TagList
4165
+
4166
+ def initialize(auditlogexpireday=nil, auditstatus=nil, instanceid=nil, instancename=nil, instancerole=nil, instancetype=nil, mongodbversion=nil, projectid=nil, region=nil, status=nil, supportaudit=nil, zone=nil, taglist=nil)
4167
+ @AuditLogExpireDay = auditlogexpireday
4168
+ @AuditStatus = auditstatus
4169
+ @InstanceId = instanceid
4170
+ @InstanceName = instancename
4171
+ @InstanceRole = instancerole
4172
+ @InstanceType = instancetype
4173
+ @MongodbVersion = mongodbversion
4174
+ @ProjectId = projectid
4175
+ @Region = region
4176
+ @Status = status
4177
+ @SupportAudit = supportaudit
4178
+ @Zone = zone
4179
+ @TagList = taglist
4180
+ end
4181
+
4182
+ def deserialize(params)
4183
+ @AuditLogExpireDay = params['AuditLogExpireDay']
4184
+ @AuditStatus = params['AuditStatus']
4185
+ @InstanceId = params['InstanceId']
4186
+ @InstanceName = params['InstanceName']
4187
+ @InstanceRole = params['InstanceRole']
4188
+ @InstanceType = params['InstanceType']
4189
+ @MongodbVersion = params['MongodbVersion']
4190
+ @ProjectId = params['ProjectId']
4191
+ @Region = params['Region']
4192
+ @Status = params['Status']
4193
+ @SupportAudit = params['SupportAudit']
4194
+ @Zone = params['Zone']
4195
+ unless params['TagList'].nil?
4196
+ @TagList = []
4197
+ params['TagList'].each do |i|
4198
+ taginfo_tmp = TagInfo.new
4199
+ taginfo_tmp.deserialize(i)
4200
+ @TagList << taginfo_tmp
4201
+ end
4202
+ end
4203
+ end
4204
+ end
4205
+
3659
4206
  # 实例可修改参数 Integer 类型集合。
3660
4207
  class InstanceIntegerParam < TencentCloud::Common::AbstractModel
3661
4208
  # @param CurrentValue: 参数当前值。
@@ -3927,6 +4474,30 @@ module TencentCloud
3927
4474
  end
3928
4475
  end
3929
4476
 
4477
+ # 过滤条件
4478
+ class LogFilter < TencentCloud::Common::AbstractModel
4479
+ # @param Type: 过滤条件名称
4480
+ # @type Type: String
4481
+ # @param Compare: 过滤条件匹配类型,注意:此参数取值只能等于EQ
4482
+ # @type Compare: String
4483
+ # @param Value: 过滤条件匹配值
4484
+ # @type Value: Array
4485
+
4486
+ attr_accessor :Type, :Compare, :Value
4487
+
4488
+ def initialize(type=nil, compare=nil, value=nil)
4489
+ @Type = type
4490
+ @Compare = compare
4491
+ @Value = value
4492
+ end
4493
+
4494
+ def deserialize(params)
4495
+ @Type = params['Type']
4496
+ @Compare = params['Compare']
4497
+ @Value = params['Value']
4498
+ end
4499
+ end
4500
+
3930
4501
  # 日志详情
3931
4502
  class LogInfo < TencentCloud::Common::AbstractModel
3932
4503
  # @param LogComponent: 日志类别
@@ -3969,6 +4540,57 @@ module TencentCloud
3969
4540
  end
3970
4541
  end
3971
4542
 
4543
+ # ModifyAuditService请求参数结构体
4544
+ class ModifyAuditServiceRequest < TencentCloud::Common::AbstractModel
4545
+ # @param InstanceId: 实例ID,格式如:cmgo-xfts****,与云数据库控制台页面中显示的实例 ID 相同。
4546
+ # @type InstanceId: String
4547
+ # @param LogExpireDay: 审计日志保存时长。单位为:天。当前支持的取值包括: 7: 一周。 30: 一个月。 90: 三个月。 180 : 六个月。 365 : 一年。 1095 : 三年。 1825 : 五年。
4548
+ # @type LogExpireDay: Integer
4549
+ # @param AuditAll: true-全审计,false-规则审计,注意:AuditAll=true 时,RuleFilters 无需填参
4550
+ # @type AuditAll: Boolean
4551
+ # @param RuleFilters: 审计过滤规则,Type的范围【SrcIp、DB、Collection、User、SqlType】,注意:Type=SqlType时,Value必须在这个范围 ["query", "insert", "update", "delete", "command"]
4552
+ # @type RuleFilters: Array
4553
+
4554
+ attr_accessor :InstanceId, :LogExpireDay, :AuditAll, :RuleFilters
4555
+
4556
+ def initialize(instanceid=nil, logexpireday=nil, auditall=nil, rulefilters=nil)
4557
+ @InstanceId = instanceid
4558
+ @LogExpireDay = logexpireday
4559
+ @AuditAll = auditall
4560
+ @RuleFilters = rulefilters
4561
+ end
4562
+
4563
+ def deserialize(params)
4564
+ @InstanceId = params['InstanceId']
4565
+ @LogExpireDay = params['LogExpireDay']
4566
+ @AuditAll = params['AuditAll']
4567
+ unless params['RuleFilters'].nil?
4568
+ @RuleFilters = []
4569
+ params['RuleFilters'].each do |i|
4570
+ logfilter_tmp = LogFilter.new
4571
+ logfilter_tmp.deserialize(i)
4572
+ @RuleFilters << logfilter_tmp
4573
+ end
4574
+ end
4575
+ end
4576
+ end
4577
+
4578
+ # ModifyAuditService返回参数结构体
4579
+ class ModifyAuditServiceResponse < TencentCloud::Common::AbstractModel
4580
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4581
+ # @type RequestId: String
4582
+
4583
+ attr_accessor :RequestId
4584
+
4585
+ def initialize(requestid=nil)
4586
+ @RequestId = requestid
4587
+ end
4588
+
4589
+ def deserialize(params)
4590
+ @RequestId = params['RequestId']
4591
+ end
4592
+ end
4593
+
3972
4594
  # ModifyDBInstanceNetworkAddress请求参数结构体
3973
4595
  class ModifyDBInstanceNetworkAddressRequest < TencentCloud::Common::AbstractModel
3974
4596
  # @param InstanceId: 指定需修改网络的实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
@@ -4462,6 +5084,57 @@ module TencentCloud
4462
5084
  end
4463
5085
  end
4464
5086
 
5087
+ # OpenAuditService请求参数结构体
5088
+ class OpenAuditServiceRequest < TencentCloud::Common::AbstractModel
5089
+ # @param InstanceId: 实例 ID,格式如:cmgo-xfts****,与云数据库控制台页面中显示的实例 ID 相同。
5090
+ # @type InstanceId: String
5091
+ # @param LogExpireDay: 审计日志保存时长。单位为:天。当前支持的取值包括: 7: 一周。 30: 一个月。 90: 三个月。 180 : 六个月。 365 : 一年。 1095 : 三年。 1825 : 五年。
5092
+ # @type LogExpireDay: Integer
5093
+ # @param AuditAll: true-全审计,false-规则审计,注意:AuditAll=true 时,RuleFilters 无需填参
5094
+ # @type AuditAll: Boolean
5095
+ # @param RuleFilters: 审计过滤规则,Type的范围【SrcIp、DB、Collection、User、SqlType】,注意:Type=SqlType时,Value必须在这个范围 ["query", "insert", "update", "delete", "command"]
5096
+ # @type RuleFilters: Array
5097
+
5098
+ attr_accessor :InstanceId, :LogExpireDay, :AuditAll, :RuleFilters
5099
+
5100
+ def initialize(instanceid=nil, logexpireday=nil, auditall=nil, rulefilters=nil)
5101
+ @InstanceId = instanceid
5102
+ @LogExpireDay = logexpireday
5103
+ @AuditAll = auditall
5104
+ @RuleFilters = rulefilters
5105
+ end
5106
+
5107
+ def deserialize(params)
5108
+ @InstanceId = params['InstanceId']
5109
+ @LogExpireDay = params['LogExpireDay']
5110
+ @AuditAll = params['AuditAll']
5111
+ unless params['RuleFilters'].nil?
5112
+ @RuleFilters = []
5113
+ params['RuleFilters'].each do |i|
5114
+ logfilter_tmp = LogFilter.new
5115
+ logfilter_tmp.deserialize(i)
5116
+ @RuleFilters << logfilter_tmp
5117
+ end
5118
+ end
5119
+ end
5120
+ end
5121
+
5122
+ # OpenAuditService返回参数结构体
5123
+ class OpenAuditServiceResponse < TencentCloud::Common::AbstractModel
5124
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5125
+ # @type RequestId: String
5126
+
5127
+ attr_accessor :RequestId
5128
+
5129
+ def initialize(requestid=nil)
5130
+ @RequestId = requestid
5131
+ end
5132
+
5133
+ def deserialize(params)
5134
+ @RequestId = params['RequestId']
5135
+ end
5136
+ end
5137
+
4465
5138
  # 需要终止的操作。
4466
5139
  class Operation < TencentCloud::Common::AbstractModel
4467
5140
  # @param ReplicaSetName: 操作所在的分片名称。请通过接口 [DescribeCurrentOp](https://cloud.tencent.com/document/product/240/48120) 查询分片名称。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1161
4
+ version: 3.0.1171
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-11-04 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common