tencentcloud-sdk-tcaplusdb 1.0.200

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.
@@ -0,0 +1,4680 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Tcaplusdb
19
+ module V20190823
20
+ # 审批申请单
21
+ class Application < TencentCloud::Common::AbstractModel
22
+ # @param ApplicationId: 审批单号
23
+ # @type ApplicationId: String
24
+ # @param ApplicationType: 申请类型
25
+ # @type ApplicationType: Integer
26
+ # @param ClusterId: 集群Id
27
+ # @type ClusterId: String
28
+ # @param ClusterName: 集群名称
29
+ # @type ClusterName: String
30
+ # @param TableGroupName: 表格组名称
31
+ # 注意:此字段可能返回 null,表示取不到有效值。
32
+ # @type TableGroupName: String
33
+ # @param TableName: 表格名称
34
+ # @type TableName: String
35
+ # @param Applicant: 申请人
36
+ # @type Applicant: String
37
+ # @param CreatedTime: 建单时间
38
+ # @type CreatedTime: String
39
+ # @param ApplicationStatus: 处理状态 -1 撤回 0-待审核 1-已经审核并提交任务 2-已驳回
40
+ # @type ApplicationStatus: Integer
41
+ # @param TableGroupId: 表格组Id
42
+ # @type TableGroupId: String
43
+ # @param TaskId: 已提交的任务Id,未提交申请为0
44
+ # @type TaskId: String
45
+ # @param TableInstanceId: 腾讯云上table的唯一键
46
+ # 注意:此字段可能返回 null,表示取不到有效值。
47
+ # @type TableInstanceId: String
48
+ # @param UpdateTime: 更新时间
49
+ # 注意:此字段可能返回 null,表示取不到有效值。
50
+ # @type UpdateTime: String
51
+ # @param ExecuteUser: 审批人
52
+ # 注意:此字段可能返回 null,表示取不到有效值。
53
+ # @type ExecuteUser: String
54
+ # @param ExecuteStatus: 执行状态
55
+ # 注意:此字段可能返回 null,表示取不到有效值。
56
+ # @type ExecuteStatus: String
57
+ # @param CanCensor: 该申请单是否可以被当前用户审批
58
+ # 注意:此字段可能返回 null,表示取不到有效值。
59
+ # @type CanCensor: Boolean
60
+ # @param CanWithdrawal: 该申请单是否可以被当前用户撤回
61
+ # 注意:此字段可能返回 null,表示取不到有效值。
62
+ # @type CanWithdrawal: Boolean
63
+
64
+ attr_accessor :ApplicationId, :ApplicationType, :ClusterId, :ClusterName, :TableGroupName, :TableName, :Applicant, :CreatedTime, :ApplicationStatus, :TableGroupId, :TaskId, :TableInstanceId, :UpdateTime, :ExecuteUser, :ExecuteStatus, :CanCensor, :CanWithdrawal
65
+
66
+ def initialize(applicationid=nil, applicationtype=nil, clusterid=nil, clustername=nil, tablegroupname=nil, tablename=nil, applicant=nil, createdtime=nil, applicationstatus=nil, tablegroupid=nil, taskid=nil, tableinstanceid=nil, updatetime=nil, executeuser=nil, executestatus=nil, cancensor=nil, canwithdrawal=nil)
67
+ @ApplicationId = applicationid
68
+ @ApplicationType = applicationtype
69
+ @ClusterId = clusterid
70
+ @ClusterName = clustername
71
+ @TableGroupName = tablegroupname
72
+ @TableName = tablename
73
+ @Applicant = applicant
74
+ @CreatedTime = createdtime
75
+ @ApplicationStatus = applicationstatus
76
+ @TableGroupId = tablegroupid
77
+ @TaskId = taskid
78
+ @TableInstanceId = tableinstanceid
79
+ @UpdateTime = updatetime
80
+ @ExecuteUser = executeuser
81
+ @ExecuteStatus = executestatus
82
+ @CanCensor = cancensor
83
+ @CanWithdrawal = canwithdrawal
84
+ end
85
+
86
+ def deserialize(params)
87
+ @ApplicationId = params['ApplicationId']
88
+ @ApplicationType = params['ApplicationType']
89
+ @ClusterId = params['ClusterId']
90
+ @ClusterName = params['ClusterName']
91
+ @TableGroupName = params['TableGroupName']
92
+ @TableName = params['TableName']
93
+ @Applicant = params['Applicant']
94
+ @CreatedTime = params['CreatedTime']
95
+ @ApplicationStatus = params['ApplicationStatus']
96
+ @TableGroupId = params['TableGroupId']
97
+ @TaskId = params['TaskId']
98
+ @TableInstanceId = params['TableInstanceId']
99
+ @UpdateTime = params['UpdateTime']
100
+ @ExecuteUser = params['ExecuteUser']
101
+ @ExecuteStatus = params['ExecuteStatus']
102
+ @CanCensor = params['CanCensor']
103
+ @CanWithdrawal = params['CanWithdrawal']
104
+ end
105
+ end
106
+
107
+ # 更新申请单结果
108
+ class ApplyResult < TencentCloud::Common::AbstractModel
109
+ # @param ApplicationId: 申请单id
110
+ # @type ApplicationId: String
111
+ # @param ApplicationType: 申请类型
112
+ # @type ApplicationType: Integer
113
+ # @param ApplicationStatus: 处理状态 0-待审核 1-已经审核并提交任务 2-已驳回
114
+ # 注意:此字段可能返回 null,表示取不到有效值。
115
+ # @type ApplicationStatus: Integer
116
+ # @param TaskId: 已提交的任务Id
117
+ # 注意:此字段可能返回 null,表示取不到有效值。
118
+ # @type TaskId: String
119
+ # @param Error: 错误信息
120
+ # 注意:此字段可能返回 null,表示取不到有效值。
121
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
122
+
123
+ attr_accessor :ApplicationId, :ApplicationType, :ApplicationStatus, :TaskId, :Error
124
+
125
+ def initialize(applicationid=nil, applicationtype=nil, applicationstatus=nil, taskid=nil, error=nil)
126
+ @ApplicationId = applicationid
127
+ @ApplicationType = applicationtype
128
+ @ApplicationStatus = applicationstatus
129
+ @TaskId = taskid
130
+ @Error = error
131
+ end
132
+
133
+ def deserialize(params)
134
+ @ApplicationId = params['ApplicationId']
135
+ @ApplicationType = params['ApplicationType']
136
+ @ApplicationStatus = params['ApplicationStatus']
137
+ @TaskId = params['TaskId']
138
+ unless params['Error'].nil?
139
+ @Error = ErrorInfo.new
140
+ @Error.deserialize(params['Error'])
141
+ end
142
+ end
143
+ end
144
+
145
+ # 申请单id及其状态
146
+ class ApplyStatus < TencentCloud::Common::AbstractModel
147
+ # @param ApplicationId: 集群id-申请单id
148
+ # @type ApplicationId: String
149
+ # @param ApplicationStatus: 处理状态-1-撤回 1-通过 2-驳回,非0状态的申请单不可改变状态。
150
+ # @type ApplicationStatus: Integer
151
+ # @param ApplicationType: 申请单类型
152
+ # @type ApplicationType: Integer
153
+ # @param ClusterId: 集群Id
154
+ # @type ClusterId: String
155
+
156
+ attr_accessor :ApplicationId, :ApplicationStatus, :ApplicationType, :ClusterId
157
+
158
+ def initialize(applicationid=nil, applicationstatus=nil, applicationtype=nil, clusterid=nil)
159
+ @ApplicationId = applicationid
160
+ @ApplicationStatus = applicationstatus
161
+ @ApplicationType = applicationtype
162
+ @ClusterId = clusterid
163
+ end
164
+
165
+ def deserialize(params)
166
+ @ApplicationId = params['ApplicationId']
167
+ @ApplicationStatus = params['ApplicationStatus']
168
+ @ApplicationType = params['ApplicationType']
169
+ @ClusterId = params['ClusterId']
170
+ end
171
+ end
172
+
173
+ # ClearTables请求参数结构体
174
+ class ClearTablesRequest < TencentCloud::Common::AbstractModel
175
+ # @param ClusterId: 表所属集群实例ID
176
+ # @type ClusterId: String
177
+ # @param SelectedTables: 待清理表信息列表
178
+ # @type SelectedTables: Array
179
+
180
+ attr_accessor :ClusterId, :SelectedTables
181
+
182
+ def initialize(clusterid=nil, selectedtables=nil)
183
+ @ClusterId = clusterid
184
+ @SelectedTables = selectedtables
185
+ end
186
+
187
+ def deserialize(params)
188
+ @ClusterId = params['ClusterId']
189
+ unless params['SelectedTables'].nil?
190
+ @SelectedTables = []
191
+ params['SelectedTables'].each do |i|
192
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
193
+ selectedtableinfonew_tmp.deserialize(i)
194
+ @SelectedTables << selectedtableinfonew_tmp
195
+ end
196
+ end
197
+ end
198
+ end
199
+
200
+ # ClearTables返回参数结构体
201
+ class ClearTablesResponse < TencentCloud::Common::AbstractModel
202
+ # @param TotalCount: 清除表结果数量
203
+ # @type TotalCount: Integer
204
+ # @param TableResults: 清除表结果列表
205
+ # @type TableResults: Array
206
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
207
+ # @type RequestId: String
208
+
209
+ attr_accessor :TotalCount, :TableResults, :RequestId
210
+
211
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
212
+ @TotalCount = totalcount
213
+ @TableResults = tableresults
214
+ @RequestId = requestid
215
+ end
216
+
217
+ def deserialize(params)
218
+ @TotalCount = params['TotalCount']
219
+ unless params['TableResults'].nil?
220
+ @TableResults = []
221
+ params['TableResults'].each do |i|
222
+ tableresultnew_tmp = TableResultNew.new
223
+ tableresultnew_tmp.deserialize(i)
224
+ @TableResults << tableresultnew_tmp
225
+ end
226
+ end
227
+ @RequestId = params['RequestId']
228
+ end
229
+ end
230
+
231
+ # 集群详细信息
232
+ class ClusterInfo < TencentCloud::Common::AbstractModel
233
+ # @param ClusterName: 集群名称
234
+ # @type ClusterName: String
235
+ # @param ClusterId: 集群ID
236
+ # @type ClusterId: String
237
+ # @param Region: 集群所在地域
238
+ # @type Region: String
239
+ # @param IdlType: 集群数据描述语言类型,如:`PROTO`,`TDR`
240
+ # @type IdlType: String
241
+ # @param NetworkType: 网络类型
242
+ # @type NetworkType: String
243
+ # @param VpcId: 集群关联的用户私有网络实例ID
244
+ # @type VpcId: String
245
+ # @param SubnetId: 集群关联的用户子网实例ID
246
+ # @type SubnetId: String
247
+ # @param CreatedTime: 创建时间
248
+ # @type CreatedTime: String
249
+ # @param Password: 集群密码
250
+ # @type Password: String
251
+ # @param PasswordStatus: 密码状态
252
+ # @type PasswordStatus: String
253
+ # @param ApiAccessId: TcaplusDB SDK连接参数,接入ID
254
+ # @type ApiAccessId: String
255
+ # @param ApiAccessIp: TcaplusDB SDK连接参数,接入地址
256
+ # @type ApiAccessIp: String
257
+ # @param ApiAccessPort: TcaplusDB SDK连接参数,接入端口
258
+ # @type ApiAccessPort: Integer
259
+ # @param OldPasswordExpireTime: 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
260
+ # 注意:此字段可能返回 null,表示取不到有效值。
261
+ # @type OldPasswordExpireTime: String
262
+ # @param ApiAccessIpv6: TcaplusDB SDK连接参数,接入ipv6地址
263
+ # 注意:此字段可能返回 null,表示取不到有效值。
264
+ # @type ApiAccessIpv6: String
265
+ # @param ClusterType: 集群类型
266
+ # 注意:此字段可能返回 null,表示取不到有效值。
267
+ # @type ClusterType: Integer
268
+ # @param ClusterStatus: 集群状态
269
+ # 注意:此字段可能返回 null,表示取不到有效值。
270
+ # @type ClusterStatus: Integer
271
+ # @param ReadCapacityUnit: 读CU
272
+ # 注意:此字段可能返回 null,表示取不到有效值。
273
+ # @type ReadCapacityUnit: Integer
274
+ # @param WriteCapacityUnit: 写CU
275
+ # 注意:此字段可能返回 null,表示取不到有效值。
276
+ # @type WriteCapacityUnit: Integer
277
+ # @param DiskVolume: 磁盘容量
278
+ # 注意:此字段可能返回 null,表示取不到有效值。
279
+ # @type DiskVolume: Integer
280
+ # @param ServerList: 独占server机器信息
281
+ # 注意:此字段可能返回 null,表示取不到有效值。
282
+ # @type ServerList: Array
283
+ # @param ProxyList: 独占proxy机器信息
284
+ # 注意:此字段可能返回 null,表示取不到有效值。
285
+ # @type ProxyList: Array
286
+ # @param Censorship: 是否开启审核 0-不开启 1-开启
287
+ # @type Censorship: Integer
288
+ # @param DbaUins: 审批人uin列表
289
+ # 注意:此字段可能返回 null,表示取不到有效值。
290
+ # @type DbaUins: Array
291
+ # @param DataFlowStatus: 是否开启了数据订阅
292
+ # 注意:此字段可能返回 null,表示取不到有效值。
293
+ # @type DataFlowStatus: Integer
294
+ # @param KafkaInfo: 数据订阅的kafka信息
295
+ # 注意:此字段可能返回 null,表示取不到有效值。
296
+ # @type KafkaInfo: :class:`Tencentcloud::Tcaplusdb.v20190823.models.KafkaInfo`
297
+
298
+ attr_accessor :ClusterName, :ClusterId, :Region, :IdlType, :NetworkType, :VpcId, :SubnetId, :CreatedTime, :Password, :PasswordStatus, :ApiAccessId, :ApiAccessIp, :ApiAccessPort, :OldPasswordExpireTime, :ApiAccessIpv6, :ClusterType, :ClusterStatus, :ReadCapacityUnit, :WriteCapacityUnit, :DiskVolume, :ServerList, :ProxyList, :Censorship, :DbaUins, :DataFlowStatus, :KafkaInfo
299
+
300
+ def initialize(clustername=nil, clusterid=nil, region=nil, idltype=nil, networktype=nil, vpcid=nil, subnetid=nil, createdtime=nil, password=nil, passwordstatus=nil, apiaccessid=nil, apiaccessip=nil, apiaccessport=nil, oldpasswordexpiretime=nil, apiaccessipv6=nil, clustertype=nil, clusterstatus=nil, readcapacityunit=nil, writecapacityunit=nil, diskvolume=nil, serverlist=nil, proxylist=nil, censorship=nil, dbauins=nil, dataflowstatus=nil, kafkainfo=nil)
301
+ @ClusterName = clustername
302
+ @ClusterId = clusterid
303
+ @Region = region
304
+ @IdlType = idltype
305
+ @NetworkType = networktype
306
+ @VpcId = vpcid
307
+ @SubnetId = subnetid
308
+ @CreatedTime = createdtime
309
+ @Password = password
310
+ @PasswordStatus = passwordstatus
311
+ @ApiAccessId = apiaccessid
312
+ @ApiAccessIp = apiaccessip
313
+ @ApiAccessPort = apiaccessport
314
+ @OldPasswordExpireTime = oldpasswordexpiretime
315
+ @ApiAccessIpv6 = apiaccessipv6
316
+ @ClusterType = clustertype
317
+ @ClusterStatus = clusterstatus
318
+ @ReadCapacityUnit = readcapacityunit
319
+ @WriteCapacityUnit = writecapacityunit
320
+ @DiskVolume = diskvolume
321
+ @ServerList = serverlist
322
+ @ProxyList = proxylist
323
+ @Censorship = censorship
324
+ @DbaUins = dbauins
325
+ @DataFlowStatus = dataflowstatus
326
+ @KafkaInfo = kafkainfo
327
+ end
328
+
329
+ def deserialize(params)
330
+ @ClusterName = params['ClusterName']
331
+ @ClusterId = params['ClusterId']
332
+ @Region = params['Region']
333
+ @IdlType = params['IdlType']
334
+ @NetworkType = params['NetworkType']
335
+ @VpcId = params['VpcId']
336
+ @SubnetId = params['SubnetId']
337
+ @CreatedTime = params['CreatedTime']
338
+ @Password = params['Password']
339
+ @PasswordStatus = params['PasswordStatus']
340
+ @ApiAccessId = params['ApiAccessId']
341
+ @ApiAccessIp = params['ApiAccessIp']
342
+ @ApiAccessPort = params['ApiAccessPort']
343
+ @OldPasswordExpireTime = params['OldPasswordExpireTime']
344
+ @ApiAccessIpv6 = params['ApiAccessIpv6']
345
+ @ClusterType = params['ClusterType']
346
+ @ClusterStatus = params['ClusterStatus']
347
+ @ReadCapacityUnit = params['ReadCapacityUnit']
348
+ @WriteCapacityUnit = params['WriteCapacityUnit']
349
+ @DiskVolume = params['DiskVolume']
350
+ unless params['ServerList'].nil?
351
+ @ServerList = []
352
+ params['ServerList'].each do |i|
353
+ serverdetailinfo_tmp = ServerDetailInfo.new
354
+ serverdetailinfo_tmp.deserialize(i)
355
+ @ServerList << serverdetailinfo_tmp
356
+ end
357
+ end
358
+ unless params['ProxyList'].nil?
359
+ @ProxyList = []
360
+ params['ProxyList'].each do |i|
361
+ proxydetailinfo_tmp = ProxyDetailInfo.new
362
+ proxydetailinfo_tmp.deserialize(i)
363
+ @ProxyList << proxydetailinfo_tmp
364
+ end
365
+ end
366
+ @Censorship = params['Censorship']
367
+ @DbaUins = params['DbaUins']
368
+ @DataFlowStatus = params['DataFlowStatus']
369
+ unless params['KafkaInfo'].nil?
370
+ @KafkaInfo = KafkaInfo.new
371
+ @KafkaInfo.deserialize(params['KafkaInfo'])
372
+ end
373
+ end
374
+ end
375
+
376
+ # CompareIdlFiles请求参数结构体
377
+ class CompareIdlFilesRequest < TencentCloud::Common::AbstractModel
378
+ # @param ClusterId: 待修改表格所在集群ID
379
+ # @type ClusterId: String
380
+ # @param SelectedTables: 待修改表格列表
381
+ # @type SelectedTables: Array
382
+ # @param ExistingIdlFiles: 选中的已上传IDL文件列表,与NewIdlFiles必选其一
383
+ # @type ExistingIdlFiles: Array
384
+ # @param NewIdlFiles: 本次上传IDL文件列表,与ExistingIdlFiles必选其一
385
+ # @type NewIdlFiles: Array
386
+
387
+ attr_accessor :ClusterId, :SelectedTables, :ExistingIdlFiles, :NewIdlFiles
388
+
389
+ def initialize(clusterid=nil, selectedtables=nil, existingidlfiles=nil, newidlfiles=nil)
390
+ @ClusterId = clusterid
391
+ @SelectedTables = selectedtables
392
+ @ExistingIdlFiles = existingidlfiles
393
+ @NewIdlFiles = newidlfiles
394
+ end
395
+
396
+ def deserialize(params)
397
+ @ClusterId = params['ClusterId']
398
+ unless params['SelectedTables'].nil?
399
+ @SelectedTables = []
400
+ params['SelectedTables'].each do |i|
401
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
402
+ selectedtableinfonew_tmp.deserialize(i)
403
+ @SelectedTables << selectedtableinfonew_tmp
404
+ end
405
+ end
406
+ unless params['ExistingIdlFiles'].nil?
407
+ @ExistingIdlFiles = []
408
+ params['ExistingIdlFiles'].each do |i|
409
+ idlfileinfo_tmp = IdlFileInfo.new
410
+ idlfileinfo_tmp.deserialize(i)
411
+ @ExistingIdlFiles << idlfileinfo_tmp
412
+ end
413
+ end
414
+ unless params['NewIdlFiles'].nil?
415
+ @NewIdlFiles = []
416
+ params['NewIdlFiles'].each do |i|
417
+ idlfileinfo_tmp = IdlFileInfo.new
418
+ idlfileinfo_tmp.deserialize(i)
419
+ @NewIdlFiles << idlfileinfo_tmp
420
+ end
421
+ end
422
+ end
423
+ end
424
+
425
+ # CompareIdlFiles返回参数结构体
426
+ class CompareIdlFilesResponse < TencentCloud::Common::AbstractModel
427
+ # @param IdlFiles: 本次上传校验所有的IDL文件信息列表
428
+ # @type IdlFiles: Array
429
+ # @param TotalCount: 本次校验合法的表格数量
430
+ # @type TotalCount: Integer
431
+ # @param TableInfos: 读取IDL描述文件后,根据用户指示的所选中表格解析校验结果
432
+ # @type TableInfos: Array
433
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
434
+ # @type RequestId: String
435
+
436
+ attr_accessor :IdlFiles, :TotalCount, :TableInfos, :RequestId
437
+
438
+ def initialize(idlfiles=nil, totalcount=nil, tableinfos=nil, requestid=nil)
439
+ @IdlFiles = idlfiles
440
+ @TotalCount = totalcount
441
+ @TableInfos = tableinfos
442
+ @RequestId = requestid
443
+ end
444
+
445
+ def deserialize(params)
446
+ unless params['IdlFiles'].nil?
447
+ @IdlFiles = []
448
+ params['IdlFiles'].each do |i|
449
+ idlfileinfo_tmp = IdlFileInfo.new
450
+ idlfileinfo_tmp.deserialize(i)
451
+ @IdlFiles << idlfileinfo_tmp
452
+ end
453
+ end
454
+ @TotalCount = params['TotalCount']
455
+ unless params['TableInfos'].nil?
456
+ @TableInfos = []
457
+ params['TableInfos'].each do |i|
458
+ parsedtableinfonew_tmp = ParsedTableInfoNew.new
459
+ parsedtableinfonew_tmp.deserialize(i)
460
+ @TableInfos << parsedtableinfonew_tmp
461
+ end
462
+ end
463
+ @RequestId = params['RequestId']
464
+ end
465
+ end
466
+
467
+ # 比较表格的Meta信息
468
+ class CompareTablesInfo < TencentCloud::Common::AbstractModel
469
+ # @param SrcTableClusterId: 源表格的集群id
470
+ # @type SrcTableClusterId: String
471
+ # @param SrcTableGroupId: 源表格的表格组id
472
+ # @type SrcTableGroupId: String
473
+ # @param SrcTableName: 源表格的表名
474
+ # @type SrcTableName: String
475
+ # @param DstTableClusterId: 目标表格的集群id
476
+ # @type DstTableClusterId: String
477
+ # @param DstTableGroupId: 目标表格的表格组id
478
+ # @type DstTableGroupId: String
479
+ # @param DstTableName: 目标表格的表名
480
+ # @type DstTableName: String
481
+ # @param SrcTableInstanceId: 源表格的实例id
482
+ # @type SrcTableInstanceId: String
483
+ # @param DstTableInstanceId: 目标表格的实例id
484
+ # @type DstTableInstanceId: String
485
+
486
+ attr_accessor :SrcTableClusterId, :SrcTableGroupId, :SrcTableName, :DstTableClusterId, :DstTableGroupId, :DstTableName, :SrcTableInstanceId, :DstTableInstanceId
487
+
488
+ def initialize(srctableclusterid=nil, srctablegroupid=nil, srctablename=nil, dsttableclusterid=nil, dsttablegroupid=nil, dsttablename=nil, srctableinstanceid=nil, dsttableinstanceid=nil)
489
+ @SrcTableClusterId = srctableclusterid
490
+ @SrcTableGroupId = srctablegroupid
491
+ @SrcTableName = srctablename
492
+ @DstTableClusterId = dsttableclusterid
493
+ @DstTableGroupId = dsttablegroupid
494
+ @DstTableName = dsttablename
495
+ @SrcTableInstanceId = srctableinstanceid
496
+ @DstTableInstanceId = dsttableinstanceid
497
+ end
498
+
499
+ def deserialize(params)
500
+ @SrcTableClusterId = params['SrcTableClusterId']
501
+ @SrcTableGroupId = params['SrcTableGroupId']
502
+ @SrcTableName = params['SrcTableName']
503
+ @DstTableClusterId = params['DstTableClusterId']
504
+ @DstTableGroupId = params['DstTableGroupId']
505
+ @DstTableName = params['DstTableName']
506
+ @SrcTableInstanceId = params['SrcTableInstanceId']
507
+ @DstTableInstanceId = params['DstTableInstanceId']
508
+ end
509
+ end
510
+
511
+ # CreateBackup请求参数结构体
512
+ class CreateBackupRequest < TencentCloud::Common::AbstractModel
513
+ # @param ClusterId: 待创建备份表所属集群ID
514
+ # @type ClusterId: String
515
+ # @param SelectedTables: 待创建备份表信息列表
516
+ # @type SelectedTables: Array
517
+ # @param Remark: 备注信息
518
+ # @type Remark: String
519
+
520
+ attr_accessor :ClusterId, :SelectedTables, :Remark
521
+
522
+ def initialize(clusterid=nil, selectedtables=nil, remark=nil)
523
+ @ClusterId = clusterid
524
+ @SelectedTables = selectedtables
525
+ @Remark = remark
526
+ end
527
+
528
+ def deserialize(params)
529
+ @ClusterId = params['ClusterId']
530
+ unless params['SelectedTables'].nil?
531
+ @SelectedTables = []
532
+ params['SelectedTables'].each do |i|
533
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
534
+ selectedtableinfonew_tmp.deserialize(i)
535
+ @SelectedTables << selectedtableinfonew_tmp
536
+ end
537
+ end
538
+ @Remark = params['Remark']
539
+ end
540
+ end
541
+
542
+ # CreateBackup返回参数结构体
543
+ class CreateBackupResponse < TencentCloud::Common::AbstractModel
544
+ # @param TaskIds: 创建的备份任务ID列表
545
+ # 注意:此字段可能返回 null,表示取不到有效值。
546
+ # @type TaskIds: Array
547
+ # @param ApplicationIds: 创建的备份申请ID列表
548
+ # 注意:此字段可能返回 null,表示取不到有效值。
549
+ # @type ApplicationIds: Array
550
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
551
+ # @type RequestId: String
552
+
553
+ attr_accessor :TaskIds, :ApplicationIds, :RequestId
554
+
555
+ def initialize(taskids=nil, applicationids=nil, requestid=nil)
556
+ @TaskIds = taskids
557
+ @ApplicationIds = applicationids
558
+ @RequestId = requestid
559
+ end
560
+
561
+ def deserialize(params)
562
+ @TaskIds = params['TaskIds']
563
+ @ApplicationIds = params['ApplicationIds']
564
+ @RequestId = params['RequestId']
565
+ end
566
+ end
567
+
568
+ # CreateCluster请求参数结构体
569
+ class CreateClusterRequest < TencentCloud::Common::AbstractModel
570
+ # @param IdlType: 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
571
+ # @type IdlType: String
572
+ # @param ClusterName: 集群名称,可使用中文或英文字符,最大长度32个字符
573
+ # @type ClusterName: String
574
+ # @param VpcId: 集群所绑定的私有网络实例ID,形如:vpc-f49l6u0z
575
+ # @type VpcId: String
576
+ # @param SubnetId: 集群所绑定的子网实例ID,形如:subnet-pxir56ns
577
+ # @type SubnetId: String
578
+ # @param Password: 集群访问密码,必须是a-zA-Z0-9的字符,且必须包含数字和大小写字母
579
+ # @type Password: String
580
+ # @param ResourceTags: 集群标签列表
581
+ # @type ResourceTags: Array
582
+ # @param Ipv6Enable: 集群是否开启IPv6功能
583
+ # @type Ipv6Enable: Integer
584
+ # @param ServerList: 独占集群占用的svr机器
585
+ # @type ServerList: Array
586
+ # @param ProxyList: 独占集群占用的proxy机器
587
+ # @type ProxyList: Array
588
+ # @param ClusterType: 集群类型1共享2独占
589
+ # @type ClusterType: Integer
590
+ # @param AuthType: 密码认证类型,0 静态认证, 1 签名认证
591
+ # @type AuthType: Integer
592
+
593
+ attr_accessor :IdlType, :ClusterName, :VpcId, :SubnetId, :Password, :ResourceTags, :Ipv6Enable, :ServerList, :ProxyList, :ClusterType, :AuthType
594
+
595
+ def initialize(idltype=nil, clustername=nil, vpcid=nil, subnetid=nil, password=nil, resourcetags=nil, ipv6enable=nil, serverlist=nil, proxylist=nil, clustertype=nil, authtype=nil)
596
+ @IdlType = idltype
597
+ @ClusterName = clustername
598
+ @VpcId = vpcid
599
+ @SubnetId = subnetid
600
+ @Password = password
601
+ @ResourceTags = resourcetags
602
+ @Ipv6Enable = ipv6enable
603
+ @ServerList = serverlist
604
+ @ProxyList = proxylist
605
+ @ClusterType = clustertype
606
+ @AuthType = authtype
607
+ end
608
+
609
+ def deserialize(params)
610
+ @IdlType = params['IdlType']
611
+ @ClusterName = params['ClusterName']
612
+ @VpcId = params['VpcId']
613
+ @SubnetId = params['SubnetId']
614
+ @Password = params['Password']
615
+ unless params['ResourceTags'].nil?
616
+ @ResourceTags = []
617
+ params['ResourceTags'].each do |i|
618
+ taginfounit_tmp = TagInfoUnit.new
619
+ taginfounit_tmp.deserialize(i)
620
+ @ResourceTags << taginfounit_tmp
621
+ end
622
+ end
623
+ @Ipv6Enable = params['Ipv6Enable']
624
+ unless params['ServerList'].nil?
625
+ @ServerList = []
626
+ params['ServerList'].each do |i|
627
+ machineinfo_tmp = MachineInfo.new
628
+ machineinfo_tmp.deserialize(i)
629
+ @ServerList << machineinfo_tmp
630
+ end
631
+ end
632
+ unless params['ProxyList'].nil?
633
+ @ProxyList = []
634
+ params['ProxyList'].each do |i|
635
+ machineinfo_tmp = MachineInfo.new
636
+ machineinfo_tmp.deserialize(i)
637
+ @ProxyList << machineinfo_tmp
638
+ end
639
+ end
640
+ @ClusterType = params['ClusterType']
641
+ @AuthType = params['AuthType']
642
+ end
643
+ end
644
+
645
+ # CreateCluster返回参数结构体
646
+ class CreateClusterResponse < TencentCloud::Common::AbstractModel
647
+ # @param ClusterId: 集群ID
648
+ # @type ClusterId: String
649
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
650
+ # @type RequestId: String
651
+
652
+ attr_accessor :ClusterId, :RequestId
653
+
654
+ def initialize(clusterid=nil, requestid=nil)
655
+ @ClusterId = clusterid
656
+ @RequestId = requestid
657
+ end
658
+
659
+ def deserialize(params)
660
+ @ClusterId = params['ClusterId']
661
+ @RequestId = params['RequestId']
662
+ end
663
+ end
664
+
665
+ # CreateSnapshots请求参数结构体
666
+ class CreateSnapshotsRequest < TencentCloud::Common::AbstractModel
667
+ # @param ClusterId: 表格所属集群id
668
+ # @type ClusterId: String
669
+ # @param SelectedTables: 快照列表
670
+ # @type SelectedTables: Array
671
+
672
+ attr_accessor :ClusterId, :SelectedTables
673
+
674
+ def initialize(clusterid=nil, selectedtables=nil)
675
+ @ClusterId = clusterid
676
+ @SelectedTables = selectedtables
677
+ end
678
+
679
+ def deserialize(params)
680
+ @ClusterId = params['ClusterId']
681
+ unless params['SelectedTables'].nil?
682
+ @SelectedTables = []
683
+ params['SelectedTables'].each do |i|
684
+ snapshotinfo_tmp = SnapshotInfo.new
685
+ snapshotinfo_tmp.deserialize(i)
686
+ @SelectedTables << snapshotinfo_tmp
687
+ end
688
+ end
689
+ end
690
+ end
691
+
692
+ # CreateSnapshots返回参数结构体
693
+ class CreateSnapshotsResponse < TencentCloud::Common::AbstractModel
694
+ # @param TotalCount: 批量创建的快照数量
695
+ # @type TotalCount: Integer
696
+ # @param TableResults: 批量创建的快照结果列表
697
+ # @type TableResults: Array
698
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
699
+ # @type RequestId: String
700
+
701
+ attr_accessor :TotalCount, :TableResults, :RequestId
702
+
703
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
704
+ @TotalCount = totalcount
705
+ @TableResults = tableresults
706
+ @RequestId = requestid
707
+ end
708
+
709
+ def deserialize(params)
710
+ @TotalCount = params['TotalCount']
711
+ unless params['TableResults'].nil?
712
+ @TableResults = []
713
+ params['TableResults'].each do |i|
714
+ snapshotresult_tmp = SnapshotResult.new
715
+ snapshotresult_tmp.deserialize(i)
716
+ @TableResults << snapshotresult_tmp
717
+ end
718
+ end
719
+ @RequestId = params['RequestId']
720
+ end
721
+ end
722
+
723
+ # CreateTableGroup请求参数结构体
724
+ class CreateTableGroupRequest < TencentCloud::Common::AbstractModel
725
+ # @param ClusterId: 表格组所属集群ID
726
+ # @type ClusterId: String
727
+ # @param TableGroupName: 表格组名称,可以采用中文、英文或数字字符,最大长度32个字符
728
+ # @type TableGroupName: String
729
+ # @param TableGroupId: 表格组ID,可以由用户指定,但在同一个集群内不能重复,如果不指定则采用自增的模式
730
+ # @type TableGroupId: String
731
+ # @param ResourceTags: 表格组标签列表
732
+ # @type ResourceTags: Array
733
+
734
+ attr_accessor :ClusterId, :TableGroupName, :TableGroupId, :ResourceTags
735
+
736
+ def initialize(clusterid=nil, tablegroupname=nil, tablegroupid=nil, resourcetags=nil)
737
+ @ClusterId = clusterid
738
+ @TableGroupName = tablegroupname
739
+ @TableGroupId = tablegroupid
740
+ @ResourceTags = resourcetags
741
+ end
742
+
743
+ def deserialize(params)
744
+ @ClusterId = params['ClusterId']
745
+ @TableGroupName = params['TableGroupName']
746
+ @TableGroupId = params['TableGroupId']
747
+ unless params['ResourceTags'].nil?
748
+ @ResourceTags = []
749
+ params['ResourceTags'].each do |i|
750
+ taginfounit_tmp = TagInfoUnit.new
751
+ taginfounit_tmp.deserialize(i)
752
+ @ResourceTags << taginfounit_tmp
753
+ end
754
+ end
755
+ end
756
+ end
757
+
758
+ # CreateTableGroup返回参数结构体
759
+ class CreateTableGroupResponse < TencentCloud::Common::AbstractModel
760
+ # @param TableGroupId: 创建成功的表格组ID
761
+ # @type TableGroupId: String
762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
763
+ # @type RequestId: String
764
+
765
+ attr_accessor :TableGroupId, :RequestId
766
+
767
+ def initialize(tablegroupid=nil, requestid=nil)
768
+ @TableGroupId = tablegroupid
769
+ @RequestId = requestid
770
+ end
771
+
772
+ def deserialize(params)
773
+ @TableGroupId = params['TableGroupId']
774
+ @RequestId = params['RequestId']
775
+ end
776
+ end
777
+
778
+ # CreateTables请求参数结构体
779
+ class CreateTablesRequest < TencentCloud::Common::AbstractModel
780
+ # @param ClusterId: 待创建表格所属集群ID
781
+ # @type ClusterId: String
782
+ # @param IdlFiles: 用户选定的建表格IDL文件列表
783
+ # @type IdlFiles: Array
784
+ # @param SelectedTables: 待创建表格信息列表
785
+ # @type SelectedTables: Array
786
+ # @param ResourceTags: 表格标签列表
787
+ # @type ResourceTags: Array
788
+
789
+ attr_accessor :ClusterId, :IdlFiles, :SelectedTables, :ResourceTags
790
+
791
+ def initialize(clusterid=nil, idlfiles=nil, selectedtables=nil, resourcetags=nil)
792
+ @ClusterId = clusterid
793
+ @IdlFiles = idlfiles
794
+ @SelectedTables = selectedtables
795
+ @ResourceTags = resourcetags
796
+ end
797
+
798
+ def deserialize(params)
799
+ @ClusterId = params['ClusterId']
800
+ unless params['IdlFiles'].nil?
801
+ @IdlFiles = []
802
+ params['IdlFiles'].each do |i|
803
+ idlfileinfo_tmp = IdlFileInfo.new
804
+ idlfileinfo_tmp.deserialize(i)
805
+ @IdlFiles << idlfileinfo_tmp
806
+ end
807
+ end
808
+ unless params['SelectedTables'].nil?
809
+ @SelectedTables = []
810
+ params['SelectedTables'].each do |i|
811
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
812
+ selectedtableinfonew_tmp.deserialize(i)
813
+ @SelectedTables << selectedtableinfonew_tmp
814
+ end
815
+ end
816
+ unless params['ResourceTags'].nil?
817
+ @ResourceTags = []
818
+ params['ResourceTags'].each do |i|
819
+ taginfounit_tmp = TagInfoUnit.new
820
+ taginfounit_tmp.deserialize(i)
821
+ @ResourceTags << taginfounit_tmp
822
+ end
823
+ end
824
+ end
825
+ end
826
+
827
+ # CreateTables返回参数结构体
828
+ class CreateTablesResponse < TencentCloud::Common::AbstractModel
829
+ # @param TotalCount: 批量创建表格结果数量
830
+ # @type TotalCount: Integer
831
+ # @param TableResults: 批量创建表格结果列表
832
+ # @type TableResults: Array
833
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
834
+ # @type RequestId: String
835
+
836
+ attr_accessor :TotalCount, :TableResults, :RequestId
837
+
838
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
839
+ @TotalCount = totalcount
840
+ @TableResults = tableresults
841
+ @RequestId = requestid
842
+ end
843
+
844
+ def deserialize(params)
845
+ @TotalCount = params['TotalCount']
846
+ unless params['TableResults'].nil?
847
+ @TableResults = []
848
+ params['TableResults'].each do |i|
849
+ tableresultnew_tmp = TableResultNew.new
850
+ tableresultnew_tmp.deserialize(i)
851
+ @TableResults << tableresultnew_tmp
852
+ end
853
+ end
854
+ @RequestId = params['RequestId']
855
+ end
856
+ end
857
+
858
+ # DeleteCluster请求参数结构体
859
+ class DeleteClusterRequest < TencentCloud::Common::AbstractModel
860
+ # @param ClusterId: 待删除的集群ID
861
+ # @type ClusterId: String
862
+
863
+ attr_accessor :ClusterId
864
+
865
+ def initialize(clusterid=nil)
866
+ @ClusterId = clusterid
867
+ end
868
+
869
+ def deserialize(params)
870
+ @ClusterId = params['ClusterId']
871
+ end
872
+ end
873
+
874
+ # DeleteCluster返回参数结构体
875
+ class DeleteClusterResponse < TencentCloud::Common::AbstractModel
876
+ # @param TaskId: 删除集群生成的任务ID
877
+ # @type TaskId: String
878
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
879
+ # @type RequestId: String
880
+
881
+ attr_accessor :TaskId, :RequestId
882
+
883
+ def initialize(taskid=nil, requestid=nil)
884
+ @TaskId = taskid
885
+ @RequestId = requestid
886
+ end
887
+
888
+ def deserialize(params)
889
+ @TaskId = params['TaskId']
890
+ @RequestId = params['RequestId']
891
+ end
892
+ end
893
+
894
+ # DeleteIdlFiles请求参数结构体
895
+ class DeleteIdlFilesRequest < TencentCloud::Common::AbstractModel
896
+ # @param ClusterId: IDL所属集群ID
897
+ # @type ClusterId: String
898
+ # @param IdlFiles: 待删除的IDL文件信息列表
899
+ # @type IdlFiles: Array
900
+
901
+ attr_accessor :ClusterId, :IdlFiles
902
+
903
+ def initialize(clusterid=nil, idlfiles=nil)
904
+ @ClusterId = clusterid
905
+ @IdlFiles = idlfiles
906
+ end
907
+
908
+ def deserialize(params)
909
+ @ClusterId = params['ClusterId']
910
+ unless params['IdlFiles'].nil?
911
+ @IdlFiles = []
912
+ params['IdlFiles'].each do |i|
913
+ idlfileinfo_tmp = IdlFileInfo.new
914
+ idlfileinfo_tmp.deserialize(i)
915
+ @IdlFiles << idlfileinfo_tmp
916
+ end
917
+ end
918
+ end
919
+ end
920
+
921
+ # DeleteIdlFiles返回参数结构体
922
+ class DeleteIdlFilesResponse < TencentCloud::Common::AbstractModel
923
+ # @param TotalCount: 结果记录数量
924
+ # @type TotalCount: Integer
925
+ # @param IdlFileInfos: 删除结果
926
+ # @type IdlFileInfos: Array
927
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
928
+ # @type RequestId: String
929
+
930
+ attr_accessor :TotalCount, :IdlFileInfos, :RequestId
931
+
932
+ def initialize(totalcount=nil, idlfileinfos=nil, requestid=nil)
933
+ @TotalCount = totalcount
934
+ @IdlFileInfos = idlfileinfos
935
+ @RequestId = requestid
936
+ end
937
+
938
+ def deserialize(params)
939
+ @TotalCount = params['TotalCount']
940
+ unless params['IdlFileInfos'].nil?
941
+ @IdlFileInfos = []
942
+ params['IdlFileInfos'].each do |i|
943
+ idlfileinfowithoutcontent_tmp = IdlFileInfoWithoutContent.new
944
+ idlfileinfowithoutcontent_tmp.deserialize(i)
945
+ @IdlFileInfos << idlfileinfowithoutcontent_tmp
946
+ end
947
+ end
948
+ @RequestId = params['RequestId']
949
+ end
950
+ end
951
+
952
+ # DeleteSnapshots请求参数结构体
953
+ class DeleteSnapshotsRequest < TencentCloud::Common::AbstractModel
954
+ # @param ClusterId: 表格所属集群id
955
+ # @type ClusterId: String
956
+ # @param SelectedTables: 删除的快照列表
957
+ # @type SelectedTables: Array
958
+
959
+ attr_accessor :ClusterId, :SelectedTables
960
+
961
+ def initialize(clusterid=nil, selectedtables=nil)
962
+ @ClusterId = clusterid
963
+ @SelectedTables = selectedtables
964
+ end
965
+
966
+ def deserialize(params)
967
+ @ClusterId = params['ClusterId']
968
+ unless params['SelectedTables'].nil?
969
+ @SelectedTables = []
970
+ params['SelectedTables'].each do |i|
971
+ snapshotinfonew_tmp = SnapshotInfoNew.new
972
+ snapshotinfonew_tmp.deserialize(i)
973
+ @SelectedTables << snapshotinfonew_tmp
974
+ end
975
+ end
976
+ end
977
+ end
978
+
979
+ # DeleteSnapshots返回参数结构体
980
+ class DeleteSnapshotsResponse < TencentCloud::Common::AbstractModel
981
+ # @param TotalCount: 批量删除的快照数量
982
+ # @type TotalCount: Integer
983
+ # @param TableResults: 批量删除的快照结果
984
+ # @type TableResults: Array
985
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
986
+ # @type RequestId: String
987
+
988
+ attr_accessor :TotalCount, :TableResults, :RequestId
989
+
990
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
991
+ @TotalCount = totalcount
992
+ @TableResults = tableresults
993
+ @RequestId = requestid
994
+ end
995
+
996
+ def deserialize(params)
997
+ @TotalCount = params['TotalCount']
998
+ unless params['TableResults'].nil?
999
+ @TableResults = []
1000
+ params['TableResults'].each do |i|
1001
+ snapshotresult_tmp = SnapshotResult.new
1002
+ snapshotresult_tmp.deserialize(i)
1003
+ @TableResults << snapshotresult_tmp
1004
+ end
1005
+ end
1006
+ @RequestId = params['RequestId']
1007
+ end
1008
+ end
1009
+
1010
+ # DeleteTableDataFlow请求参数结构体
1011
+ class DeleteTableDataFlowRequest < TencentCloud::Common::AbstractModel
1012
+ # @param ClusterId: 表格所属集群实例ID
1013
+ # @type ClusterId: String
1014
+ # @param SelectedTables: 待删除分布式索引的表格列表
1015
+ # @type SelectedTables: Array
1016
+
1017
+ attr_accessor :ClusterId, :SelectedTables
1018
+
1019
+ def initialize(clusterid=nil, selectedtables=nil)
1020
+ @ClusterId = clusterid
1021
+ @SelectedTables = selectedtables
1022
+ end
1023
+
1024
+ def deserialize(params)
1025
+ @ClusterId = params['ClusterId']
1026
+ unless params['SelectedTables'].nil?
1027
+ @SelectedTables = []
1028
+ params['SelectedTables'].each do |i|
1029
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
1030
+ selectedtableinfonew_tmp.deserialize(i)
1031
+ @SelectedTables << selectedtableinfonew_tmp
1032
+ end
1033
+ end
1034
+ end
1035
+ end
1036
+
1037
+ # DeleteTableDataFlow返回参数结构体
1038
+ class DeleteTableDataFlowResponse < TencentCloud::Common::AbstractModel
1039
+ # @param TotalCount: 删除表格分布式索引结果数量
1040
+ # @type TotalCount: Integer
1041
+ # @param TableResults: 删除表格分布式索引结果列表
1042
+ # @type TableResults: Array
1043
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1044
+ # @type RequestId: String
1045
+
1046
+ attr_accessor :TotalCount, :TableResults, :RequestId
1047
+
1048
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
1049
+ @TotalCount = totalcount
1050
+ @TableResults = tableresults
1051
+ @RequestId = requestid
1052
+ end
1053
+
1054
+ def deserialize(params)
1055
+ @TotalCount = params['TotalCount']
1056
+ unless params['TableResults'].nil?
1057
+ @TableResults = []
1058
+ params['TableResults'].each do |i|
1059
+ tableresultnew_tmp = TableResultNew.new
1060
+ tableresultnew_tmp.deserialize(i)
1061
+ @TableResults << tableresultnew_tmp
1062
+ end
1063
+ end
1064
+ @RequestId = params['RequestId']
1065
+ end
1066
+ end
1067
+
1068
+ # DeleteTableGroup请求参数结构体
1069
+ class DeleteTableGroupRequest < TencentCloud::Common::AbstractModel
1070
+ # @param ClusterId: 表格组所属的集群ID
1071
+ # @type ClusterId: String
1072
+ # @param TableGroupId: 表格组ID
1073
+ # @type TableGroupId: String
1074
+
1075
+ attr_accessor :ClusterId, :TableGroupId
1076
+
1077
+ def initialize(clusterid=nil, tablegroupid=nil)
1078
+ @ClusterId = clusterid
1079
+ @TableGroupId = tablegroupid
1080
+ end
1081
+
1082
+ def deserialize(params)
1083
+ @ClusterId = params['ClusterId']
1084
+ @TableGroupId = params['TableGroupId']
1085
+ end
1086
+ end
1087
+
1088
+ # DeleteTableGroup返回参数结构体
1089
+ class DeleteTableGroupResponse < TencentCloud::Common::AbstractModel
1090
+ # @param TaskId: 删除表格组所创建的任务ID
1091
+ # @type TaskId: String
1092
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1093
+ # @type RequestId: String
1094
+
1095
+ attr_accessor :TaskId, :RequestId
1096
+
1097
+ def initialize(taskid=nil, requestid=nil)
1098
+ @TaskId = taskid
1099
+ @RequestId = requestid
1100
+ end
1101
+
1102
+ def deserialize(params)
1103
+ @TaskId = params['TaskId']
1104
+ @RequestId = params['RequestId']
1105
+ end
1106
+ end
1107
+
1108
+ # DeleteTableIndex请求参数结构体
1109
+ class DeleteTableIndexRequest < TencentCloud::Common::AbstractModel
1110
+ # @param ClusterId: 表格所属集群实例ID
1111
+ # @type ClusterId: String
1112
+ # @param SelectedTables: 待删除分布式索引的表格列表
1113
+ # @type SelectedTables: Array
1114
+
1115
+ attr_accessor :ClusterId, :SelectedTables
1116
+
1117
+ def initialize(clusterid=nil, selectedtables=nil)
1118
+ @ClusterId = clusterid
1119
+ @SelectedTables = selectedtables
1120
+ end
1121
+
1122
+ def deserialize(params)
1123
+ @ClusterId = params['ClusterId']
1124
+ unless params['SelectedTables'].nil?
1125
+ @SelectedTables = []
1126
+ params['SelectedTables'].each do |i|
1127
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
1128
+ selectedtableinfonew_tmp.deserialize(i)
1129
+ @SelectedTables << selectedtableinfonew_tmp
1130
+ end
1131
+ end
1132
+ end
1133
+ end
1134
+
1135
+ # DeleteTableIndex返回参数结构体
1136
+ class DeleteTableIndexResponse < TencentCloud::Common::AbstractModel
1137
+ # @param TotalCount: 删除表格分布式索引结果数量
1138
+ # @type TotalCount: Integer
1139
+ # @param TableResults: 删除表格分布式索引结果列表
1140
+ # @type TableResults: Array
1141
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1142
+ # @type RequestId: String
1143
+
1144
+ attr_accessor :TotalCount, :TableResults, :RequestId
1145
+
1146
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
1147
+ @TotalCount = totalcount
1148
+ @TableResults = tableresults
1149
+ @RequestId = requestid
1150
+ end
1151
+
1152
+ def deserialize(params)
1153
+ @TotalCount = params['TotalCount']
1154
+ unless params['TableResults'].nil?
1155
+ @TableResults = []
1156
+ params['TableResults'].each do |i|
1157
+ tableresultnew_tmp = TableResultNew.new
1158
+ tableresultnew_tmp.deserialize(i)
1159
+ @TableResults << tableresultnew_tmp
1160
+ end
1161
+ end
1162
+ @RequestId = params['RequestId']
1163
+ end
1164
+ end
1165
+
1166
+ # DeleteTables请求参数结构体
1167
+ class DeleteTablesRequest < TencentCloud::Common::AbstractModel
1168
+ # @param ClusterId: 待删除表所在集群ID
1169
+ # @type ClusterId: String
1170
+ # @param SelectedTables: 待删除表信息列表
1171
+ # @type SelectedTables: Array
1172
+
1173
+ attr_accessor :ClusterId, :SelectedTables
1174
+
1175
+ def initialize(clusterid=nil, selectedtables=nil)
1176
+ @ClusterId = clusterid
1177
+ @SelectedTables = selectedtables
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ @ClusterId = params['ClusterId']
1182
+ unless params['SelectedTables'].nil?
1183
+ @SelectedTables = []
1184
+ params['SelectedTables'].each do |i|
1185
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
1186
+ selectedtableinfonew_tmp.deserialize(i)
1187
+ @SelectedTables << selectedtableinfonew_tmp
1188
+ end
1189
+ end
1190
+ end
1191
+ end
1192
+
1193
+ # DeleteTables返回参数结构体
1194
+ class DeleteTablesResponse < TencentCloud::Common::AbstractModel
1195
+ # @param TotalCount: 删除表结果数量
1196
+ # @type TotalCount: Integer
1197
+ # @param TableResults: 删除表结果详情列表
1198
+ # @type TableResults: Array
1199
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1200
+ # @type RequestId: String
1201
+
1202
+ attr_accessor :TotalCount, :TableResults, :RequestId
1203
+
1204
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
1205
+ @TotalCount = totalcount
1206
+ @TableResults = tableresults
1207
+ @RequestId = requestid
1208
+ end
1209
+
1210
+ def deserialize(params)
1211
+ @TotalCount = params['TotalCount']
1212
+ unless params['TableResults'].nil?
1213
+ @TableResults = []
1214
+ params['TableResults'].each do |i|
1215
+ tableresultnew_tmp = TableResultNew.new
1216
+ tableresultnew_tmp.deserialize(i)
1217
+ @TableResults << tableresultnew_tmp
1218
+ end
1219
+ end
1220
+ @RequestId = params['RequestId']
1221
+ end
1222
+ end
1223
+
1224
+ # DescribeApplications请求参数结构体
1225
+ class DescribeApplicationsRequest < TencentCloud::Common::AbstractModel
1226
+ # @param ClusterId: 集群ID,用于获取指定集群的单据
1227
+ # @type ClusterId: String
1228
+ # @param Limit: 分页
1229
+ # @type Limit: Integer
1230
+ # @param Offset: 分页
1231
+ # @type Offset: Integer
1232
+ # @param CensorStatus: 申请单状态,用于过滤
1233
+ # @type CensorStatus: Integer
1234
+ # @param TableGroupId: 表格组id,用于过滤
1235
+ # @type TableGroupId: String
1236
+ # @param TableName: 表格名,用于过滤
1237
+ # @type TableName: String
1238
+ # @param Applicant: 申请人uin,用于过滤
1239
+ # @type Applicant: String
1240
+ # @param ApplyType: 申请类型,用于过滤
1241
+ # @type ApplyType: Integer
1242
+
1243
+ attr_accessor :ClusterId, :Limit, :Offset, :CensorStatus, :TableGroupId, :TableName, :Applicant, :ApplyType
1244
+
1245
+ def initialize(clusterid=nil, limit=nil, offset=nil, censorstatus=nil, tablegroupid=nil, tablename=nil, applicant=nil, applytype=nil)
1246
+ @ClusterId = clusterid
1247
+ @Limit = limit
1248
+ @Offset = offset
1249
+ @CensorStatus = censorstatus
1250
+ @TableGroupId = tablegroupid
1251
+ @TableName = tablename
1252
+ @Applicant = applicant
1253
+ @ApplyType = applytype
1254
+ end
1255
+
1256
+ def deserialize(params)
1257
+ @ClusterId = params['ClusterId']
1258
+ @Limit = params['Limit']
1259
+ @Offset = params['Offset']
1260
+ @CensorStatus = params['CensorStatus']
1261
+ @TableGroupId = params['TableGroupId']
1262
+ @TableName = params['TableName']
1263
+ @Applicant = params['Applicant']
1264
+ @ApplyType = params['ApplyType']
1265
+ end
1266
+ end
1267
+
1268
+ # DescribeApplications返回参数结构体
1269
+ class DescribeApplicationsResponse < TencentCloud::Common::AbstractModel
1270
+ # @param Applications: 申请单列表
1271
+ # @type Applications: Array
1272
+ # @param TotalCount: 申请单个数
1273
+ # @type TotalCount: Integer
1274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1275
+ # @type RequestId: String
1276
+
1277
+ attr_accessor :Applications, :TotalCount, :RequestId
1278
+
1279
+ def initialize(applications=nil, totalcount=nil, requestid=nil)
1280
+ @Applications = applications
1281
+ @TotalCount = totalcount
1282
+ @RequestId = requestid
1283
+ end
1284
+
1285
+ def deserialize(params)
1286
+ unless params['Applications'].nil?
1287
+ @Applications = []
1288
+ params['Applications'].each do |i|
1289
+ application_tmp = Application.new
1290
+ application_tmp.deserialize(i)
1291
+ @Applications << application_tmp
1292
+ end
1293
+ end
1294
+ @TotalCount = params['TotalCount']
1295
+ @RequestId = params['RequestId']
1296
+ end
1297
+ end
1298
+
1299
+ # DescribeClusterTags请求参数结构体
1300
+ class DescribeClusterTagsRequest < TencentCloud::Common::AbstractModel
1301
+ # @param ClusterIds: 集群ID列表
1302
+ # @type ClusterIds: Array
1303
+
1304
+ attr_accessor :ClusterIds
1305
+
1306
+ def initialize(clusterids=nil)
1307
+ @ClusterIds = clusterids
1308
+ end
1309
+
1310
+ def deserialize(params)
1311
+ @ClusterIds = params['ClusterIds']
1312
+ end
1313
+ end
1314
+
1315
+ # DescribeClusterTags返回参数结构体
1316
+ class DescribeClusterTagsResponse < TencentCloud::Common::AbstractModel
1317
+ # @param Rows: 集群标签信息列表
1318
+ # 注意:此字段可能返回 null,表示取不到有效值。
1319
+ # @type Rows: Array
1320
+ # @param TotalCount: 返回结果个数
1321
+ # 注意:此字段可能返回 null,表示取不到有效值。
1322
+ # @type TotalCount: Integer
1323
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1324
+ # @type RequestId: String
1325
+
1326
+ attr_accessor :Rows, :TotalCount, :RequestId
1327
+
1328
+ def initialize(rows=nil, totalcount=nil, requestid=nil)
1329
+ @Rows = rows
1330
+ @TotalCount = totalcount
1331
+ @RequestId = requestid
1332
+ end
1333
+
1334
+ def deserialize(params)
1335
+ unless params['Rows'].nil?
1336
+ @Rows = []
1337
+ params['Rows'].each do |i|
1338
+ tagsinfoofcluster_tmp = TagsInfoOfCluster.new
1339
+ tagsinfoofcluster_tmp.deserialize(i)
1340
+ @Rows << tagsinfoofcluster_tmp
1341
+ end
1342
+ end
1343
+ @TotalCount = params['TotalCount']
1344
+ @RequestId = params['RequestId']
1345
+ end
1346
+ end
1347
+
1348
+ # DescribeClusters请求参数结构体
1349
+ class DescribeClustersRequest < TencentCloud::Common::AbstractModel
1350
+ # @param ClusterIds: 指定查询的集群ID列表
1351
+ # @type ClusterIds: Array
1352
+ # @param Filters: 查询过滤条件
1353
+ # @type Filters: Array
1354
+ # @param Offset: 查询列表偏移量
1355
+ # @type Offset: Integer
1356
+ # @param Limit: 查询列表返回记录数,默认值20
1357
+ # @type Limit: Integer
1358
+ # @param Ipv6Enable: 是否启用Ipv6
1359
+ # @type Ipv6Enable: Integer
1360
+
1361
+ attr_accessor :ClusterIds, :Filters, :Offset, :Limit, :Ipv6Enable
1362
+
1363
+ def initialize(clusterids=nil, filters=nil, offset=nil, limit=nil, ipv6enable=nil)
1364
+ @ClusterIds = clusterids
1365
+ @Filters = filters
1366
+ @Offset = offset
1367
+ @Limit = limit
1368
+ @Ipv6Enable = ipv6enable
1369
+ end
1370
+
1371
+ def deserialize(params)
1372
+ @ClusterIds = params['ClusterIds']
1373
+ unless params['Filters'].nil?
1374
+ @Filters = []
1375
+ params['Filters'].each do |i|
1376
+ filter_tmp = Filter.new
1377
+ filter_tmp.deserialize(i)
1378
+ @Filters << filter_tmp
1379
+ end
1380
+ end
1381
+ @Offset = params['Offset']
1382
+ @Limit = params['Limit']
1383
+ @Ipv6Enable = params['Ipv6Enable']
1384
+ end
1385
+ end
1386
+
1387
+ # DescribeClusters返回参数结构体
1388
+ class DescribeClustersResponse < TencentCloud::Common::AbstractModel
1389
+ # @param TotalCount: 集群实例数
1390
+ # @type TotalCount: Integer
1391
+ # @param Clusters: 集群实例列表
1392
+ # @type Clusters: Array
1393
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1394
+ # @type RequestId: String
1395
+
1396
+ attr_accessor :TotalCount, :Clusters, :RequestId
1397
+
1398
+ def initialize(totalcount=nil, clusters=nil, requestid=nil)
1399
+ @TotalCount = totalcount
1400
+ @Clusters = clusters
1401
+ @RequestId = requestid
1402
+ end
1403
+
1404
+ def deserialize(params)
1405
+ @TotalCount = params['TotalCount']
1406
+ unless params['Clusters'].nil?
1407
+ @Clusters = []
1408
+ params['Clusters'].each do |i|
1409
+ clusterinfo_tmp = ClusterInfo.new
1410
+ clusterinfo_tmp.deserialize(i)
1411
+ @Clusters << clusterinfo_tmp
1412
+ end
1413
+ end
1414
+ @RequestId = params['RequestId']
1415
+ end
1416
+ end
1417
+
1418
+ # DescribeIdlFileInfos请求参数结构体
1419
+ class DescribeIdlFileInfosRequest < TencentCloud::Common::AbstractModel
1420
+ # @param ClusterId: 文件所属集群ID
1421
+ # @type ClusterId: String
1422
+ # @param TableGroupIds: 文件所属表格组ID
1423
+ # @type TableGroupIds: Array
1424
+ # @param IdlFileIds: 指定文件ID列表
1425
+ # @type IdlFileIds: Array
1426
+ # @param Offset: 查询列表偏移量
1427
+ # @type Offset: Integer
1428
+ # @param Limit: 查询列表返回记录数
1429
+ # @type Limit: Integer
1430
+
1431
+ attr_accessor :ClusterId, :TableGroupIds, :IdlFileIds, :Offset, :Limit
1432
+
1433
+ def initialize(clusterid=nil, tablegroupids=nil, idlfileids=nil, offset=nil, limit=nil)
1434
+ @ClusterId = clusterid
1435
+ @TableGroupIds = tablegroupids
1436
+ @IdlFileIds = idlfileids
1437
+ @Offset = offset
1438
+ @Limit = limit
1439
+ end
1440
+
1441
+ def deserialize(params)
1442
+ @ClusterId = params['ClusterId']
1443
+ @TableGroupIds = params['TableGroupIds']
1444
+ @IdlFileIds = params['IdlFileIds']
1445
+ @Offset = params['Offset']
1446
+ @Limit = params['Limit']
1447
+ end
1448
+ end
1449
+
1450
+ # DescribeIdlFileInfos返回参数结构体
1451
+ class DescribeIdlFileInfosResponse < TencentCloud::Common::AbstractModel
1452
+ # @param TotalCount: 文件数量
1453
+ # @type TotalCount: Integer
1454
+ # @param IdlFileInfos: 文件详情列表
1455
+ # @type IdlFileInfos: Array
1456
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1457
+ # @type RequestId: String
1458
+
1459
+ attr_accessor :TotalCount, :IdlFileInfos, :RequestId
1460
+
1461
+ def initialize(totalcount=nil, idlfileinfos=nil, requestid=nil)
1462
+ @TotalCount = totalcount
1463
+ @IdlFileInfos = idlfileinfos
1464
+ @RequestId = requestid
1465
+ end
1466
+
1467
+ def deserialize(params)
1468
+ @TotalCount = params['TotalCount']
1469
+ unless params['IdlFileInfos'].nil?
1470
+ @IdlFileInfos = []
1471
+ params['IdlFileInfos'].each do |i|
1472
+ idlfileinfo_tmp = IdlFileInfo.new
1473
+ idlfileinfo_tmp.deserialize(i)
1474
+ @IdlFileInfos << idlfileinfo_tmp
1475
+ end
1476
+ end
1477
+ @RequestId = params['RequestId']
1478
+ end
1479
+ end
1480
+
1481
+ # DescribeMachine请求参数结构体
1482
+ class DescribeMachineRequest < TencentCloud::Common::AbstractModel
1483
+ # @param Ipv6Enable: 不为0,表示查询支持ipv6的机器
1484
+ # @type Ipv6Enable: Integer
1485
+
1486
+ attr_accessor :Ipv6Enable
1487
+
1488
+ def initialize(ipv6enable=nil)
1489
+ @Ipv6Enable = ipv6enable
1490
+ end
1491
+
1492
+ def deserialize(params)
1493
+ @Ipv6Enable = params['Ipv6Enable']
1494
+ end
1495
+ end
1496
+
1497
+ # DescribeMachine返回参数结构体
1498
+ class DescribeMachineResponse < TencentCloud::Common::AbstractModel
1499
+ # @param PoolList: 独占机器资源列表
1500
+ # @type PoolList: Array
1501
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1502
+ # @type RequestId: String
1503
+
1504
+ attr_accessor :PoolList, :RequestId
1505
+
1506
+ def initialize(poollist=nil, requestid=nil)
1507
+ @PoolList = poollist
1508
+ @RequestId = requestid
1509
+ end
1510
+
1511
+ def deserialize(params)
1512
+ unless params['PoolList'].nil?
1513
+ @PoolList = []
1514
+ params['PoolList'].each do |i|
1515
+ poolinfo_tmp = PoolInfo.new
1516
+ poolinfo_tmp.deserialize(i)
1517
+ @PoolList << poolinfo_tmp
1518
+ end
1519
+ end
1520
+ @RequestId = params['RequestId']
1521
+ end
1522
+ end
1523
+
1524
+ # DescribeRegions请求参数结构体
1525
+ class DescribeRegionsRequest < TencentCloud::Common::AbstractModel
1526
+
1527
+
1528
+ def initialize()
1529
+ end
1530
+
1531
+ def deserialize(params)
1532
+ end
1533
+ end
1534
+
1535
+ # DescribeRegions返回参数结构体
1536
+ class DescribeRegionsResponse < TencentCloud::Common::AbstractModel
1537
+ # @param TotalCount: 可用区详情结果数量
1538
+ # @type TotalCount: Integer
1539
+ # @param RegionInfos: 可用区详情结果列表
1540
+ # @type RegionInfos: Array
1541
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1542
+ # @type RequestId: String
1543
+
1544
+ attr_accessor :TotalCount, :RegionInfos, :RequestId
1545
+
1546
+ def initialize(totalcount=nil, regioninfos=nil, requestid=nil)
1547
+ @TotalCount = totalcount
1548
+ @RegionInfos = regioninfos
1549
+ @RequestId = requestid
1550
+ end
1551
+
1552
+ def deserialize(params)
1553
+ @TotalCount = params['TotalCount']
1554
+ unless params['RegionInfos'].nil?
1555
+ @RegionInfos = []
1556
+ params['RegionInfos'].each do |i|
1557
+ regioninfo_tmp = RegionInfo.new
1558
+ regioninfo_tmp.deserialize(i)
1559
+ @RegionInfos << regioninfo_tmp
1560
+ end
1561
+ end
1562
+ @RequestId = params['RequestId']
1563
+ end
1564
+ end
1565
+
1566
+ # DescribeSnapshots请求参数结构体
1567
+ class DescribeSnapshotsRequest < TencentCloud::Common::AbstractModel
1568
+ # @param ClusterId: 表格所属集群id
1569
+ # @type ClusterId: String
1570
+ # @param TableGroupId: 所属表格组ID
1571
+ # @type TableGroupId: String
1572
+ # @param TableName: 表名称
1573
+ # @type TableName: String
1574
+ # @param SnapshotName: 快照名称
1575
+ # @type SnapshotName: String
1576
+
1577
+ attr_accessor :ClusterId, :TableGroupId, :TableName, :SnapshotName
1578
+
1579
+ def initialize(clusterid=nil, tablegroupid=nil, tablename=nil, snapshotname=nil)
1580
+ @ClusterId = clusterid
1581
+ @TableGroupId = tablegroupid
1582
+ @TableName = tablename
1583
+ @SnapshotName = snapshotname
1584
+ end
1585
+
1586
+ def deserialize(params)
1587
+ @ClusterId = params['ClusterId']
1588
+ @TableGroupId = params['TableGroupId']
1589
+ @TableName = params['TableName']
1590
+ @SnapshotName = params['SnapshotName']
1591
+ end
1592
+ end
1593
+
1594
+ # DescribeSnapshots返回参数结构体
1595
+ class DescribeSnapshotsResponse < TencentCloud::Common::AbstractModel
1596
+ # @param TotalCount: 快照数量
1597
+ # @type TotalCount: Integer
1598
+ # @param TableResults: 快照结果列表
1599
+ # @type TableResults: Array
1600
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1601
+ # @type RequestId: String
1602
+
1603
+ attr_accessor :TotalCount, :TableResults, :RequestId
1604
+
1605
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
1606
+ @TotalCount = totalcount
1607
+ @TableResults = tableresults
1608
+ @RequestId = requestid
1609
+ end
1610
+
1611
+ def deserialize(params)
1612
+ @TotalCount = params['TotalCount']
1613
+ unless params['TableResults'].nil?
1614
+ @TableResults = []
1615
+ params['TableResults'].each do |i|
1616
+ snapshotresult_tmp = SnapshotResult.new
1617
+ snapshotresult_tmp.deserialize(i)
1618
+ @TableResults << snapshotresult_tmp
1619
+ end
1620
+ end
1621
+ @RequestId = params['RequestId']
1622
+ end
1623
+ end
1624
+
1625
+ # DescribeTableGroupTags请求参数结构体
1626
+ class DescribeTableGroupTagsRequest < TencentCloud::Common::AbstractModel
1627
+ # @param ClusterId: 待查询标签表格组所属集群ID
1628
+ # @type ClusterId: String
1629
+ # @param TableGroupIds: 待查询标签表格组ID列表
1630
+ # @type TableGroupIds: Array
1631
+
1632
+ attr_accessor :ClusterId, :TableGroupIds
1633
+
1634
+ def initialize(clusterid=nil, tablegroupids=nil)
1635
+ @ClusterId = clusterid
1636
+ @TableGroupIds = tablegroupids
1637
+ end
1638
+
1639
+ def deserialize(params)
1640
+ @ClusterId = params['ClusterId']
1641
+ @TableGroupIds = params['TableGroupIds']
1642
+ end
1643
+ end
1644
+
1645
+ # DescribeTableGroupTags返回参数结构体
1646
+ class DescribeTableGroupTagsResponse < TencentCloud::Common::AbstractModel
1647
+ # @param Rows: 表格组标签信息列表
1648
+ # 注意:此字段可能返回 null,表示取不到有效值。
1649
+ # @type Rows: Array
1650
+ # @param TotalCount: 返回结果个数
1651
+ # 注意:此字段可能返回 null,表示取不到有效值。
1652
+ # @type TotalCount: Integer
1653
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1654
+ # @type RequestId: String
1655
+
1656
+ attr_accessor :Rows, :TotalCount, :RequestId
1657
+
1658
+ def initialize(rows=nil, totalcount=nil, requestid=nil)
1659
+ @Rows = rows
1660
+ @TotalCount = totalcount
1661
+ @RequestId = requestid
1662
+ end
1663
+
1664
+ def deserialize(params)
1665
+ unless params['Rows'].nil?
1666
+ @Rows = []
1667
+ params['Rows'].each do |i|
1668
+ tagsinfooftablegroup_tmp = TagsInfoOfTableGroup.new
1669
+ tagsinfooftablegroup_tmp.deserialize(i)
1670
+ @Rows << tagsinfooftablegroup_tmp
1671
+ end
1672
+ end
1673
+ @TotalCount = params['TotalCount']
1674
+ @RequestId = params['RequestId']
1675
+ end
1676
+ end
1677
+
1678
+ # DescribeTableGroups请求参数结构体
1679
+ class DescribeTableGroupsRequest < TencentCloud::Common::AbstractModel
1680
+ # @param ClusterId: 表格组所属集群ID
1681
+ # @type ClusterId: String
1682
+ # @param TableGroupIds: 表格组ID列表
1683
+ # @type TableGroupIds: Array
1684
+ # @param Filters: 过滤条件,本接口支持:TableGroupName,TableGroupId
1685
+ # @type Filters: Array
1686
+ # @param Offset: 查询列表偏移量
1687
+ # @type Offset: Integer
1688
+ # @param Limit: 查询列表返回记录数
1689
+ # @type Limit: Integer
1690
+
1691
+ attr_accessor :ClusterId, :TableGroupIds, :Filters, :Offset, :Limit
1692
+
1693
+ def initialize(clusterid=nil, tablegroupids=nil, filters=nil, offset=nil, limit=nil)
1694
+ @ClusterId = clusterid
1695
+ @TableGroupIds = tablegroupids
1696
+ @Filters = filters
1697
+ @Offset = offset
1698
+ @Limit = limit
1699
+ end
1700
+
1701
+ def deserialize(params)
1702
+ @ClusterId = params['ClusterId']
1703
+ @TableGroupIds = params['TableGroupIds']
1704
+ unless params['Filters'].nil?
1705
+ @Filters = []
1706
+ params['Filters'].each do |i|
1707
+ filter_tmp = Filter.new
1708
+ filter_tmp.deserialize(i)
1709
+ @Filters << filter_tmp
1710
+ end
1711
+ end
1712
+ @Offset = params['Offset']
1713
+ @Limit = params['Limit']
1714
+ end
1715
+ end
1716
+
1717
+ # DescribeTableGroups返回参数结构体
1718
+ class DescribeTableGroupsResponse < TencentCloud::Common::AbstractModel
1719
+ # @param TotalCount: 表格组数量
1720
+ # @type TotalCount: Integer
1721
+ # @param TableGroups: 表格组信息列表
1722
+ # @type TableGroups: Array
1723
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1724
+ # @type RequestId: String
1725
+
1726
+ attr_accessor :TotalCount, :TableGroups, :RequestId
1727
+
1728
+ def initialize(totalcount=nil, tablegroups=nil, requestid=nil)
1729
+ @TotalCount = totalcount
1730
+ @TableGroups = tablegroups
1731
+ @RequestId = requestid
1732
+ end
1733
+
1734
+ def deserialize(params)
1735
+ @TotalCount = params['TotalCount']
1736
+ unless params['TableGroups'].nil?
1737
+ @TableGroups = []
1738
+ params['TableGroups'].each do |i|
1739
+ tablegroupinfo_tmp = TableGroupInfo.new
1740
+ tablegroupinfo_tmp.deserialize(i)
1741
+ @TableGroups << tablegroupinfo_tmp
1742
+ end
1743
+ end
1744
+ @RequestId = params['RequestId']
1745
+ end
1746
+ end
1747
+
1748
+ # DescribeTableTags请求参数结构体
1749
+ class DescribeTableTagsRequest < TencentCloud::Common::AbstractModel
1750
+ # @param ClusterId: 表格所属集群ID
1751
+ # @type ClusterId: String
1752
+ # @param SelectedTables: 表格列表
1753
+ # @type SelectedTables: Array
1754
+
1755
+ attr_accessor :ClusterId, :SelectedTables
1756
+
1757
+ def initialize(clusterid=nil, selectedtables=nil)
1758
+ @ClusterId = clusterid
1759
+ @SelectedTables = selectedtables
1760
+ end
1761
+
1762
+ def deserialize(params)
1763
+ @ClusterId = params['ClusterId']
1764
+ unless params['SelectedTables'].nil?
1765
+ @SelectedTables = []
1766
+ params['SelectedTables'].each do |i|
1767
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
1768
+ selectedtableinfonew_tmp.deserialize(i)
1769
+ @SelectedTables << selectedtableinfonew_tmp
1770
+ end
1771
+ end
1772
+ end
1773
+ end
1774
+
1775
+ # DescribeTableTags返回参数结构体
1776
+ class DescribeTableTagsResponse < TencentCloud::Common::AbstractModel
1777
+ # @param TotalCount: 返回结果总数
1778
+ # @type TotalCount: Integer
1779
+ # @param Rows: 表格标签信息列表
1780
+ # @type Rows: Array
1781
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1782
+ # @type RequestId: String
1783
+
1784
+ attr_accessor :TotalCount, :Rows, :RequestId
1785
+
1786
+ def initialize(totalcount=nil, rows=nil, requestid=nil)
1787
+ @TotalCount = totalcount
1788
+ @Rows = rows
1789
+ @RequestId = requestid
1790
+ end
1791
+
1792
+ def deserialize(params)
1793
+ @TotalCount = params['TotalCount']
1794
+ unless params['Rows'].nil?
1795
+ @Rows = []
1796
+ params['Rows'].each do |i|
1797
+ tagsinfooftable_tmp = TagsInfoOfTable.new
1798
+ tagsinfooftable_tmp.deserialize(i)
1799
+ @Rows << tagsinfooftable_tmp
1800
+ end
1801
+ end
1802
+ @RequestId = params['RequestId']
1803
+ end
1804
+ end
1805
+
1806
+ # DescribeTablesInRecycle请求参数结构体
1807
+ class DescribeTablesInRecycleRequest < TencentCloud::Common::AbstractModel
1808
+ # @param ClusterId: 待查询表格所属集群ID
1809
+ # @type ClusterId: String
1810
+ # @param TableGroupIds: 待查询表格所属表格组ID列表
1811
+ # @type TableGroupIds: Array
1812
+ # @param Filters: 过滤条件,本接口支持:TableName,TableInstanceId
1813
+ # @type Filters: Array
1814
+ # @param Offset: 查询结果偏移量
1815
+ # @type Offset: Integer
1816
+ # @param Limit: 查询结果返回记录数量
1817
+ # @type Limit: Integer
1818
+
1819
+ attr_accessor :ClusterId, :TableGroupIds, :Filters, :Offset, :Limit
1820
+
1821
+ def initialize(clusterid=nil, tablegroupids=nil, filters=nil, offset=nil, limit=nil)
1822
+ @ClusterId = clusterid
1823
+ @TableGroupIds = tablegroupids
1824
+ @Filters = filters
1825
+ @Offset = offset
1826
+ @Limit = limit
1827
+ end
1828
+
1829
+ def deserialize(params)
1830
+ @ClusterId = params['ClusterId']
1831
+ @TableGroupIds = params['TableGroupIds']
1832
+ unless params['Filters'].nil?
1833
+ @Filters = []
1834
+ params['Filters'].each do |i|
1835
+ filter_tmp = Filter.new
1836
+ filter_tmp.deserialize(i)
1837
+ @Filters << filter_tmp
1838
+ end
1839
+ end
1840
+ @Offset = params['Offset']
1841
+ @Limit = params['Limit']
1842
+ end
1843
+ end
1844
+
1845
+ # DescribeTablesInRecycle返回参数结构体
1846
+ class DescribeTablesInRecycleResponse < TencentCloud::Common::AbstractModel
1847
+ # @param TotalCount: 表格数量
1848
+ # @type TotalCount: Integer
1849
+ # @param TableInfos: 表格详情结果列表
1850
+ # @type TableInfos: Array
1851
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1852
+ # @type RequestId: String
1853
+
1854
+ attr_accessor :TotalCount, :TableInfos, :RequestId
1855
+
1856
+ def initialize(totalcount=nil, tableinfos=nil, requestid=nil)
1857
+ @TotalCount = totalcount
1858
+ @TableInfos = tableinfos
1859
+ @RequestId = requestid
1860
+ end
1861
+
1862
+ def deserialize(params)
1863
+ @TotalCount = params['TotalCount']
1864
+ unless params['TableInfos'].nil?
1865
+ @TableInfos = []
1866
+ params['TableInfos'].each do |i|
1867
+ tableinfonew_tmp = TableInfoNew.new
1868
+ tableinfonew_tmp.deserialize(i)
1869
+ @TableInfos << tableinfonew_tmp
1870
+ end
1871
+ end
1872
+ @RequestId = params['RequestId']
1873
+ end
1874
+ end
1875
+
1876
+ # DescribeTables请求参数结构体
1877
+ class DescribeTablesRequest < TencentCloud::Common::AbstractModel
1878
+ # @param ClusterId: 待查询表格所属集群ID
1879
+ # @type ClusterId: String
1880
+ # @param TableGroupIds: 待查询表格所属表格组ID列表
1881
+ # @type TableGroupIds: Array
1882
+ # @param SelectedTables: 待查询表格信息列表
1883
+ # @type SelectedTables: Array
1884
+ # @param Filters: 过滤条件,本接口支持:TableName,TableInstanceId
1885
+ # @type Filters: Array
1886
+ # @param Offset: 查询结果偏移量
1887
+ # @type Offset: Integer
1888
+ # @param Limit: 查询结果返回记录数量
1889
+ # @type Limit: Integer
1890
+
1891
+ attr_accessor :ClusterId, :TableGroupIds, :SelectedTables, :Filters, :Offset, :Limit
1892
+
1893
+ def initialize(clusterid=nil, tablegroupids=nil, selectedtables=nil, filters=nil, offset=nil, limit=nil)
1894
+ @ClusterId = clusterid
1895
+ @TableGroupIds = tablegroupids
1896
+ @SelectedTables = selectedtables
1897
+ @Filters = filters
1898
+ @Offset = offset
1899
+ @Limit = limit
1900
+ end
1901
+
1902
+ def deserialize(params)
1903
+ @ClusterId = params['ClusterId']
1904
+ @TableGroupIds = params['TableGroupIds']
1905
+ unless params['SelectedTables'].nil?
1906
+ @SelectedTables = []
1907
+ params['SelectedTables'].each do |i|
1908
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
1909
+ selectedtableinfonew_tmp.deserialize(i)
1910
+ @SelectedTables << selectedtableinfonew_tmp
1911
+ end
1912
+ end
1913
+ unless params['Filters'].nil?
1914
+ @Filters = []
1915
+ params['Filters'].each do |i|
1916
+ filter_tmp = Filter.new
1917
+ filter_tmp.deserialize(i)
1918
+ @Filters << filter_tmp
1919
+ end
1920
+ end
1921
+ @Offset = params['Offset']
1922
+ @Limit = params['Limit']
1923
+ end
1924
+ end
1925
+
1926
+ # DescribeTables返回参数结构体
1927
+ class DescribeTablesResponse < TencentCloud::Common::AbstractModel
1928
+ # @param TotalCount: 表格数量
1929
+ # @type TotalCount: Integer
1930
+ # @param TableInfos: 表格详情结果列表
1931
+ # @type TableInfos: Array
1932
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1933
+ # @type RequestId: String
1934
+
1935
+ attr_accessor :TotalCount, :TableInfos, :RequestId
1936
+
1937
+ def initialize(totalcount=nil, tableinfos=nil, requestid=nil)
1938
+ @TotalCount = totalcount
1939
+ @TableInfos = tableinfos
1940
+ @RequestId = requestid
1941
+ end
1942
+
1943
+ def deserialize(params)
1944
+ @TotalCount = params['TotalCount']
1945
+ unless params['TableInfos'].nil?
1946
+ @TableInfos = []
1947
+ params['TableInfos'].each do |i|
1948
+ tableinfonew_tmp = TableInfoNew.new
1949
+ tableinfonew_tmp.deserialize(i)
1950
+ @TableInfos << tableinfonew_tmp
1951
+ end
1952
+ end
1953
+ @RequestId = params['RequestId']
1954
+ end
1955
+ end
1956
+
1957
+ # DescribeTasks请求参数结构体
1958
+ class DescribeTasksRequest < TencentCloud::Common::AbstractModel
1959
+ # @param ClusterIds: 需要查询任务所属的集群ID列表
1960
+ # @type ClusterIds: Array
1961
+ # @param TaskIds: 需要查询的任务ID列表
1962
+ # @type TaskIds: Array
1963
+ # @param Filters: 过滤条件,本接口支持:Content,TaskType, Operator, Time
1964
+ # @type Filters: Array
1965
+ # @param Offset: 查询列表偏移量
1966
+ # @type Offset: Integer
1967
+ # @param Limit: 查询列表返回记录数
1968
+ # @type Limit: Integer
1969
+
1970
+ attr_accessor :ClusterIds, :TaskIds, :Filters, :Offset, :Limit
1971
+
1972
+ def initialize(clusterids=nil, taskids=nil, filters=nil, offset=nil, limit=nil)
1973
+ @ClusterIds = clusterids
1974
+ @TaskIds = taskids
1975
+ @Filters = filters
1976
+ @Offset = offset
1977
+ @Limit = limit
1978
+ end
1979
+
1980
+ def deserialize(params)
1981
+ @ClusterIds = params['ClusterIds']
1982
+ @TaskIds = params['TaskIds']
1983
+ unless params['Filters'].nil?
1984
+ @Filters = []
1985
+ params['Filters'].each do |i|
1986
+ filter_tmp = Filter.new
1987
+ filter_tmp.deserialize(i)
1988
+ @Filters << filter_tmp
1989
+ end
1990
+ end
1991
+ @Offset = params['Offset']
1992
+ @Limit = params['Limit']
1993
+ end
1994
+ end
1995
+
1996
+ # DescribeTasks返回参数结构体
1997
+ class DescribeTasksResponse < TencentCloud::Common::AbstractModel
1998
+ # @param TotalCount: 任务数量
1999
+ # @type TotalCount: Integer
2000
+ # @param TaskInfos: 查询到的任务详情列表
2001
+ # @type TaskInfos: Array
2002
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2003
+ # @type RequestId: String
2004
+
2005
+ attr_accessor :TotalCount, :TaskInfos, :RequestId
2006
+
2007
+ def initialize(totalcount=nil, taskinfos=nil, requestid=nil)
2008
+ @TotalCount = totalcount
2009
+ @TaskInfos = taskinfos
2010
+ @RequestId = requestid
2011
+ end
2012
+
2013
+ def deserialize(params)
2014
+ @TotalCount = params['TotalCount']
2015
+ unless params['TaskInfos'].nil?
2016
+ @TaskInfos = []
2017
+ params['TaskInfos'].each do |i|
2018
+ taskinfonew_tmp = TaskInfoNew.new
2019
+ taskinfonew_tmp.deserialize(i)
2020
+ @TaskInfos << taskinfonew_tmp
2021
+ end
2022
+ end
2023
+ @RequestId = params['RequestId']
2024
+ end
2025
+ end
2026
+
2027
+ # DescribeUinInWhitelist请求参数结构体
2028
+ class DescribeUinInWhitelistRequest < TencentCloud::Common::AbstractModel
2029
+
2030
+
2031
+ def initialize()
2032
+ end
2033
+
2034
+ def deserialize(params)
2035
+ end
2036
+ end
2037
+
2038
+ # DescribeUinInWhitelist返回参数结构体
2039
+ class DescribeUinInWhitelistResponse < TencentCloud::Common::AbstractModel
2040
+ # @param Result: 查询结果:`FALSE` 否;`TRUE` 是
2041
+ # @type Result: String
2042
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2043
+ # @type RequestId: String
2044
+
2045
+ attr_accessor :Result, :RequestId
2046
+
2047
+ def initialize(result=nil, requestid=nil)
2048
+ @Result = result
2049
+ @RequestId = requestid
2050
+ end
2051
+
2052
+ def deserialize(params)
2053
+ @Result = params['Result']
2054
+ @RequestId = params['RequestId']
2055
+ end
2056
+ end
2057
+
2058
+ # DisableRestProxy请求参数结构体
2059
+ class DisableRestProxyRequest < TencentCloud::Common::AbstractModel
2060
+ # @param ClusterId: 对应appid
2061
+ # @type ClusterId: String
2062
+
2063
+ attr_accessor :ClusterId
2064
+
2065
+ def initialize(clusterid=nil)
2066
+ @ClusterId = clusterid
2067
+ end
2068
+
2069
+ def deserialize(params)
2070
+ @ClusterId = params['ClusterId']
2071
+ end
2072
+ end
2073
+
2074
+ # DisableRestProxy返回参数结构体
2075
+ class DisableRestProxyResponse < TencentCloud::Common::AbstractModel
2076
+ # @param RestProxyStatus: RestProxy的状态,0为关闭,1为开启中,2为开启,3为关闭中
2077
+ # @type RestProxyStatus: Integer
2078
+ # @param TaskId: TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
2079
+ # @type TaskId: String
2080
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2081
+ # @type RequestId: String
2082
+
2083
+ attr_accessor :RestProxyStatus, :TaskId, :RequestId
2084
+
2085
+ def initialize(restproxystatus=nil, taskid=nil, requestid=nil)
2086
+ @RestProxyStatus = restproxystatus
2087
+ @TaskId = taskid
2088
+ @RequestId = requestid
2089
+ end
2090
+
2091
+ def deserialize(params)
2092
+ @RestProxyStatus = params['RestProxyStatus']
2093
+ @TaskId = params['TaskId']
2094
+ @RequestId = params['RequestId']
2095
+ end
2096
+ end
2097
+
2098
+ # EnableRestProxy请求参数结构体
2099
+ class EnableRestProxyRequest < TencentCloud::Common::AbstractModel
2100
+ # @param ClusterId: 对应于appid
2101
+ # @type ClusterId: String
2102
+
2103
+ attr_accessor :ClusterId
2104
+
2105
+ def initialize(clusterid=nil)
2106
+ @ClusterId = clusterid
2107
+ end
2108
+
2109
+ def deserialize(params)
2110
+ @ClusterId = params['ClusterId']
2111
+ end
2112
+ end
2113
+
2114
+ # EnableRestProxy返回参数结构体
2115
+ class EnableRestProxyResponse < TencentCloud::Common::AbstractModel
2116
+ # @param RestProxyStatus: RestProxy的状态,0为关闭,1为开启中,2为开启,3为关闭中
2117
+ # @type RestProxyStatus: Integer
2118
+ # @param TaskId: TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
2119
+ # @type TaskId: String
2120
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2121
+ # @type RequestId: String
2122
+
2123
+ attr_accessor :RestProxyStatus, :TaskId, :RequestId
2124
+
2125
+ def initialize(restproxystatus=nil, taskid=nil, requestid=nil)
2126
+ @RestProxyStatus = restproxystatus
2127
+ @TaskId = taskid
2128
+ @RequestId = requestid
2129
+ end
2130
+
2131
+ def deserialize(params)
2132
+ @RestProxyStatus = params['RestProxyStatus']
2133
+ @TaskId = params['TaskId']
2134
+ @RequestId = params['RequestId']
2135
+ end
2136
+ end
2137
+
2138
+ # 描述每个实例(应用,大区或表)处理过程中可能出现的错误详情。
2139
+ class ErrorInfo < TencentCloud::Common::AbstractModel
2140
+ # @param Code: 错误码
2141
+ # @type Code: String
2142
+ # @param Message: 错误信息
2143
+ # @type Message: String
2144
+
2145
+ attr_accessor :Code, :Message
2146
+
2147
+ def initialize(code=nil, message=nil)
2148
+ @Code = code
2149
+ @Message = message
2150
+ end
2151
+
2152
+ def deserialize(params)
2153
+ @Code = params['Code']
2154
+ @Message = params['Message']
2155
+ end
2156
+ end
2157
+
2158
+ # 表格字段信息列表
2159
+ class FieldInfo < TencentCloud::Common::AbstractModel
2160
+ # @param FieldName: 表格字段名称
2161
+ # @type FieldName: String
2162
+ # @param IsPrimaryKey: 字段是否是主键字段
2163
+ # @type IsPrimaryKey: String
2164
+ # @param FieldType: 字段类型
2165
+ # @type FieldType: String
2166
+ # @param FieldSize: 字段长度
2167
+ # @type FieldSize: Integer
2168
+
2169
+ attr_accessor :FieldName, :IsPrimaryKey, :FieldType, :FieldSize
2170
+
2171
+ def initialize(fieldname=nil, isprimarykey=nil, fieldtype=nil, fieldsize=nil)
2172
+ @FieldName = fieldname
2173
+ @IsPrimaryKey = isprimarykey
2174
+ @FieldType = fieldtype
2175
+ @FieldSize = fieldsize
2176
+ end
2177
+
2178
+ def deserialize(params)
2179
+ @FieldName = params['FieldName']
2180
+ @IsPrimaryKey = params['IsPrimaryKey']
2181
+ @FieldType = params['FieldType']
2182
+ @FieldSize = params['FieldSize']
2183
+ end
2184
+ end
2185
+
2186
+ # 过滤条件
2187
+ class Filter < TencentCloud::Common::AbstractModel
2188
+ # @param Name: 过滤字段名
2189
+ # @type Name: String
2190
+ # @param Value: 过滤字段值
2191
+ # @type Value: String
2192
+ # @param Values: 过滤字段值
2193
+ # @type Values: Array
2194
+
2195
+ attr_accessor :Name, :Value, :Values
2196
+
2197
+ def initialize(name=nil, value=nil, values=nil)
2198
+ @Name = name
2199
+ @Value = value
2200
+ @Values = values
2201
+ end
2202
+
2203
+ def deserialize(params)
2204
+ @Name = params['Name']
2205
+ @Value = params['Value']
2206
+ @Values = params['Values']
2207
+ end
2208
+ end
2209
+
2210
+ # 表定义描述文件详情,包含文件内容
2211
+ class IdlFileInfo < TencentCloud::Common::AbstractModel
2212
+ # @param FileName: 文件名称,不包含扩展名
2213
+ # @type FileName: String
2214
+ # @param FileType: 数据描述语言(IDL)类型
2215
+ # @type FileType: String
2216
+ # @param FileExtType: 文件扩展名
2217
+ # @type FileExtType: String
2218
+ # @param FileSize: 文件大小(Bytes)
2219
+ # @type FileSize: Integer
2220
+ # @param FileId: 文件ID,对于已上传的文件有意义
2221
+ # 注意:此字段可能返回 null,表示取不到有效值。
2222
+ # @type FileId: Integer
2223
+ # @param FileContent: 文件内容,对于本次新上传的文件有意义
2224
+ # 注意:此字段可能返回 null,表示取不到有效值。
2225
+ # @type FileContent: String
2226
+
2227
+ attr_accessor :FileName, :FileType, :FileExtType, :FileSize, :FileId, :FileContent
2228
+
2229
+ def initialize(filename=nil, filetype=nil, fileexttype=nil, filesize=nil, fileid=nil, filecontent=nil)
2230
+ @FileName = filename
2231
+ @FileType = filetype
2232
+ @FileExtType = fileexttype
2233
+ @FileSize = filesize
2234
+ @FileId = fileid
2235
+ @FileContent = filecontent
2236
+ end
2237
+
2238
+ def deserialize(params)
2239
+ @FileName = params['FileName']
2240
+ @FileType = params['FileType']
2241
+ @FileExtType = params['FileExtType']
2242
+ @FileSize = params['FileSize']
2243
+ @FileId = params['FileId']
2244
+ @FileContent = params['FileContent']
2245
+ end
2246
+ end
2247
+
2248
+ # 表定义描述文件详情,不包含文件内容
2249
+ class IdlFileInfoWithoutContent < TencentCloud::Common::AbstractModel
2250
+ # @param FileName: 文件名称,不包含扩展名
2251
+ # 注意:此字段可能返回 null,表示取不到有效值。
2252
+ # @type FileName: String
2253
+ # @param FileType: 数据描述语言(IDL)类型
2254
+ # 注意:此字段可能返回 null,表示取不到有效值。
2255
+ # @type FileType: String
2256
+ # @param FileExtType: 文件扩展名
2257
+ # 注意:此字段可能返回 null,表示取不到有效值。
2258
+ # @type FileExtType: String
2259
+ # @param FileSize: 文件大小(Bytes)
2260
+ # 注意:此字段可能返回 null,表示取不到有效值。
2261
+ # @type FileSize: Integer
2262
+ # @param FileId: 文件ID
2263
+ # 注意:此字段可能返回 null,表示取不到有效值。
2264
+ # @type FileId: Integer
2265
+ # @param Error: 错误信息
2266
+ # 注意:此字段可能返回 null,表示取不到有效值。
2267
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
2268
+
2269
+ attr_accessor :FileName, :FileType, :FileExtType, :FileSize, :FileId, :Error
2270
+
2271
+ def initialize(filename=nil, filetype=nil, fileexttype=nil, filesize=nil, fileid=nil, error=nil)
2272
+ @FileName = filename
2273
+ @FileType = filetype
2274
+ @FileExtType = fileexttype
2275
+ @FileSize = filesize
2276
+ @FileId = fileid
2277
+ @Error = error
2278
+ end
2279
+
2280
+ def deserialize(params)
2281
+ @FileName = params['FileName']
2282
+ @FileType = params['FileType']
2283
+ @FileExtType = params['FileExtType']
2284
+ @FileSize = params['FileSize']
2285
+ @FileId = params['FileId']
2286
+ unless params['Error'].nil?
2287
+ @Error = ErrorInfo.new
2288
+ @Error.deserialize(params['Error'])
2289
+ end
2290
+ end
2291
+ end
2292
+
2293
+ # ImportSnapshots请求参数结构体
2294
+ class ImportSnapshotsRequest < TencentCloud::Common::AbstractModel
2295
+ # @param ClusterId: 表格所属的集群id
2296
+ # @type ClusterId: String
2297
+ # @param Snapshots: 用于导入的快照信息
2298
+ # @type Snapshots: :class:`Tencentcloud::Tcaplusdb.v20190823.models.SnapshotInfo`
2299
+ # @param ImportSpecialKey: 是否导入部分记录,TRUE表示导入部分记录,FALSE表示全表导入
2300
+ # @type ImportSpecialKey: String
2301
+ # @param ImportOriginTable: 是否导入到当前表,TRUE表示导入到当前表,FALSE表示导入到新表
2302
+ # @type ImportOriginTable: String
2303
+ # @param KeyFile: 部分记录的key文件
2304
+ # @type KeyFile: :class:`Tencentcloud::Tcaplusdb.v20190823.models.KeyFile`
2305
+ # @param NewTableGroupId: 如果导入到新表,此为新表所属的表格组id
2306
+ # @type NewTableGroupId: String
2307
+ # @param NewTableName: 如果导入到新表,此为新表的表名,系统会以该名称自动创建一张结构相同的空表
2308
+ # @type NewTableName: String
2309
+
2310
+ attr_accessor :ClusterId, :Snapshots, :ImportSpecialKey, :ImportOriginTable, :KeyFile, :NewTableGroupId, :NewTableName
2311
+
2312
+ def initialize(clusterid=nil, snapshots=nil, importspecialkey=nil, importorigintable=nil, keyfile=nil, newtablegroupid=nil, newtablename=nil)
2313
+ @ClusterId = clusterid
2314
+ @Snapshots = snapshots
2315
+ @ImportSpecialKey = importspecialkey
2316
+ @ImportOriginTable = importorigintable
2317
+ @KeyFile = keyfile
2318
+ @NewTableGroupId = newtablegroupid
2319
+ @NewTableName = newtablename
2320
+ end
2321
+
2322
+ def deserialize(params)
2323
+ @ClusterId = params['ClusterId']
2324
+ unless params['Snapshots'].nil?
2325
+ @Snapshots = SnapshotInfo.new
2326
+ @Snapshots.deserialize(params['Snapshots'])
2327
+ end
2328
+ @ImportSpecialKey = params['ImportSpecialKey']
2329
+ @ImportOriginTable = params['ImportOriginTable']
2330
+ unless params['KeyFile'].nil?
2331
+ @KeyFile = KeyFile.new
2332
+ @KeyFile.deserialize(params['KeyFile'])
2333
+ end
2334
+ @NewTableGroupId = params['NewTableGroupId']
2335
+ @NewTableName = params['NewTableName']
2336
+ end
2337
+ end
2338
+
2339
+ # ImportSnapshots返回参数结构体
2340
+ class ImportSnapshotsResponse < TencentCloud::Common::AbstractModel
2341
+ # @param TaskId: TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
2342
+ # 注意:此字段可能返回 null,表示取不到有效值。
2343
+ # @type TaskId: String
2344
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2345
+ # @type RequestId: String
2346
+
2347
+ attr_accessor :TaskId, :RequestId
2348
+
2349
+ def initialize(taskid=nil, requestid=nil)
2350
+ @TaskId = taskid
2351
+ @RequestId = requestid
2352
+ end
2353
+
2354
+ def deserialize(params)
2355
+ @TaskId = params['TaskId']
2356
+ @RequestId = params['RequestId']
2357
+ end
2358
+ end
2359
+
2360
+ # ckafka地址信息
2361
+ class KafkaInfo < TencentCloud::Common::AbstractModel
2362
+ # @param Address: kafaka address
2363
+ # @type Address: String
2364
+ # @param Topic: kafaka topic
2365
+ # @type Topic: String
2366
+ # @param User: kafka username
2367
+ # @type User: String
2368
+ # @param Password: kafka password
2369
+ # @type Password: String
2370
+ # @param Instance: ckafka实例
2371
+ # @type Instance: String
2372
+ # @param IsVpc: 是否走VPC
2373
+ # @type IsVpc: Integer
2374
+
2375
+ attr_accessor :Address, :Topic, :User, :Password, :Instance, :IsVpc
2376
+
2377
+ def initialize(address=nil, topic=nil, user=nil, password=nil, instance=nil, isvpc=nil)
2378
+ @Address = address
2379
+ @Topic = topic
2380
+ @User = user
2381
+ @Password = password
2382
+ @Instance = instance
2383
+ @IsVpc = isvpc
2384
+ end
2385
+
2386
+ def deserialize(params)
2387
+ @Address = params['Address']
2388
+ @Topic = params['Topic']
2389
+ @User = params['User']
2390
+ @Password = params['Password']
2391
+ @Instance = params['Instance']
2392
+ @IsVpc = params['IsVpc']
2393
+ end
2394
+ end
2395
+
2396
+ # 部分key导入快照数据时所需要的key文件
2397
+ class KeyFile < TencentCloud::Common::AbstractModel
2398
+ # @param FileName: key文件名称
2399
+ # @type FileName: String
2400
+ # @param FileExtType: key文件扩展名
2401
+ # @type FileExtType: String
2402
+ # @param FileContent: key文件内容
2403
+ # @type FileContent: String
2404
+ # @param FileSize: key文件大小
2405
+ # @type FileSize: Integer
2406
+
2407
+ attr_accessor :FileName, :FileExtType, :FileContent, :FileSize
2408
+
2409
+ def initialize(filename=nil, fileexttype=nil, filecontent=nil, filesize=nil)
2410
+ @FileName = filename
2411
+ @FileExtType = fileexttype
2412
+ @FileContent = filecontent
2413
+ @FileSize = filesize
2414
+ end
2415
+
2416
+ def deserialize(params)
2417
+ @FileName = params['FileName']
2418
+ @FileExtType = params['FileExtType']
2419
+ @FileContent = params['FileContent']
2420
+ @FileSize = params['FileSize']
2421
+ end
2422
+ end
2423
+
2424
+ # 机器类型和数量
2425
+ class MachineInfo < TencentCloud::Common::AbstractModel
2426
+ # @param MachineType: 机器类型
2427
+ # @type MachineType: String
2428
+ # @param MachineNum: 机器数量
2429
+ # @type MachineNum: Integer
2430
+
2431
+ attr_accessor :MachineType, :MachineNum
2432
+
2433
+ def initialize(machinetype=nil, machinenum=nil)
2434
+ @MachineType = machinetype
2435
+ @MachineNum = machinenum
2436
+ end
2437
+
2438
+ def deserialize(params)
2439
+ @MachineType = params['MachineType']
2440
+ @MachineNum = params['MachineNum']
2441
+ end
2442
+ end
2443
+
2444
+ # 合服结果
2445
+ class MergeTableResult < TencentCloud::Common::AbstractModel
2446
+ # @param TaskId: 任务Id
2447
+ # 注意:此字段可能返回 null,表示取不到有效值。
2448
+ # @type TaskId: String
2449
+ # @param Error: 成功时此字段返回 null,表示取不到有效值。
2450
+ # 注意:此字段可能返回 null,表示取不到有效值。
2451
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
2452
+ # @param Table: 对比的表格信息
2453
+ # @type Table: :class:`Tencentcloud::Tcaplusdb.v20190823.models.CompareTablesInfo`
2454
+ # @param ApplicationId: 申请单Id
2455
+ # 注意:此字段可能返回 null,表示取不到有效值。
2456
+ # @type ApplicationId: String
2457
+
2458
+ attr_accessor :TaskId, :Error, :Table, :ApplicationId
2459
+
2460
+ def initialize(taskid=nil, error=nil, table=nil, applicationid=nil)
2461
+ @TaskId = taskid
2462
+ @Error = error
2463
+ @Table = table
2464
+ @ApplicationId = applicationid
2465
+ end
2466
+
2467
+ def deserialize(params)
2468
+ @TaskId = params['TaskId']
2469
+ unless params['Error'].nil?
2470
+ @Error = ErrorInfo.new
2471
+ @Error.deserialize(params['Error'])
2472
+ end
2473
+ unless params['Table'].nil?
2474
+ @Table = CompareTablesInfo.new
2475
+ @Table.deserialize(params['Table'])
2476
+ end
2477
+ @ApplicationId = params['ApplicationId']
2478
+ end
2479
+ end
2480
+
2481
+ # MergeTablesData请求参数结构体
2482
+ class MergeTablesDataRequest < TencentCloud::Common::AbstractModel
2483
+ # @param SelectedTables: 选取的表格
2484
+ # @type SelectedTables: Array
2485
+ # @param IsOnlyCompare: true只做对比,false既对比又执行
2486
+ # @type IsOnlyCompare: Boolean
2487
+
2488
+ attr_accessor :SelectedTables, :IsOnlyCompare
2489
+
2490
+ def initialize(selectedtables=nil, isonlycompare=nil)
2491
+ @SelectedTables = selectedtables
2492
+ @IsOnlyCompare = isonlycompare
2493
+ end
2494
+
2495
+ def deserialize(params)
2496
+ unless params['SelectedTables'].nil?
2497
+ @SelectedTables = []
2498
+ params['SelectedTables'].each do |i|
2499
+ mergetablesinfo_tmp = MergeTablesInfo.new
2500
+ mergetablesinfo_tmp.deserialize(i)
2501
+ @SelectedTables << mergetablesinfo_tmp
2502
+ end
2503
+ end
2504
+ @IsOnlyCompare = params['IsOnlyCompare']
2505
+ end
2506
+ end
2507
+
2508
+ # MergeTablesData返回参数结构体
2509
+ class MergeTablesDataResponse < TencentCloud::Common::AbstractModel
2510
+ # @param Results: 合服结果集
2511
+ # @type Results: Array
2512
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2513
+ # @type RequestId: String
2514
+
2515
+ attr_accessor :Results, :RequestId
2516
+
2517
+ def initialize(results=nil, requestid=nil)
2518
+ @Results = results
2519
+ @RequestId = requestid
2520
+ end
2521
+
2522
+ def deserialize(params)
2523
+ unless params['Results'].nil?
2524
+ @Results = []
2525
+ params['Results'].each do |i|
2526
+ mergetableresult_tmp = MergeTableResult.new
2527
+ mergetableresult_tmp.deserialize(i)
2528
+ @Results << mergetableresult_tmp
2529
+ end
2530
+ end
2531
+ @RequestId = params['RequestId']
2532
+ end
2533
+ end
2534
+
2535
+ # 合服请求入参
2536
+ class MergeTablesInfo < TencentCloud::Common::AbstractModel
2537
+ # @param MergeTables: 合服的表格信息
2538
+ # @type MergeTables: :class:`Tencentcloud::Tcaplusdb.v20190823.models.CompareTablesInfo`
2539
+ # @param CheckIndex: 是否检查索引
2540
+ # @type CheckIndex: Boolean
2541
+
2542
+ attr_accessor :MergeTables, :CheckIndex
2543
+
2544
+ def initialize(mergetables=nil, checkindex=nil)
2545
+ @MergeTables = mergetables
2546
+ @CheckIndex = checkindex
2547
+ end
2548
+
2549
+ def deserialize(params)
2550
+ unless params['MergeTables'].nil?
2551
+ @MergeTables = CompareTablesInfo.new
2552
+ @MergeTables.deserialize(params['MergeTables'])
2553
+ end
2554
+ @CheckIndex = params['CheckIndex']
2555
+ end
2556
+ end
2557
+
2558
+ # ModifyCensorship请求参数结构体
2559
+ class ModifyCensorshipRequest < TencentCloud::Common::AbstractModel
2560
+ # @param ClusterId: 集群id
2561
+ # @type ClusterId: String
2562
+ # @param Censorship: 集群是否开启审核 0-关闭 1-开启
2563
+ # @type Censorship: Integer
2564
+ # @param Uins: 审批人uin列表
2565
+ # @type Uins: Array
2566
+
2567
+ attr_accessor :ClusterId, :Censorship, :Uins
2568
+
2569
+ def initialize(clusterid=nil, censorship=nil, uins=nil)
2570
+ @ClusterId = clusterid
2571
+ @Censorship = censorship
2572
+ @Uins = uins
2573
+ end
2574
+
2575
+ def deserialize(params)
2576
+ @ClusterId = params['ClusterId']
2577
+ @Censorship = params['Censorship']
2578
+ @Uins = params['Uins']
2579
+ end
2580
+ end
2581
+
2582
+ # ModifyCensorship返回参数结构体
2583
+ class ModifyCensorshipResponse < TencentCloud::Common::AbstractModel
2584
+ # @param ClusterId: 集群id
2585
+ # @type ClusterId: String
2586
+ # @param Uins: 已加入审批人的uin
2587
+ # 注意:此字段可能返回 null,表示取不到有效值。
2588
+ # @type Uins: Array
2589
+ # @param Censorship: 集群是否开启审核 0-关闭 1-开启
2590
+ # @type Censorship: Integer
2591
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2592
+ # @type RequestId: String
2593
+
2594
+ attr_accessor :ClusterId, :Uins, :Censorship, :RequestId
2595
+
2596
+ def initialize(clusterid=nil, uins=nil, censorship=nil, requestid=nil)
2597
+ @ClusterId = clusterid
2598
+ @Uins = uins
2599
+ @Censorship = censorship
2600
+ @RequestId = requestid
2601
+ end
2602
+
2603
+ def deserialize(params)
2604
+ @ClusterId = params['ClusterId']
2605
+ @Uins = params['Uins']
2606
+ @Censorship = params['Censorship']
2607
+ @RequestId = params['RequestId']
2608
+ end
2609
+ end
2610
+
2611
+ # ModifyClusterMachine请求参数结构体
2612
+ class ModifyClusterMachineRequest < TencentCloud::Common::AbstractModel
2613
+ # @param ClusterId: 集群id
2614
+ # @type ClusterId: String
2615
+ # @param ServerList: svr占用的机器
2616
+ # @type ServerList: Array
2617
+ # @param ProxyList: proxy占用的机器
2618
+ # @type ProxyList: Array
2619
+ # @param ClusterType: 集群类型1共享集群2独占集群
2620
+ # @type ClusterType: Integer
2621
+
2622
+ attr_accessor :ClusterId, :ServerList, :ProxyList, :ClusterType
2623
+
2624
+ def initialize(clusterid=nil, serverlist=nil, proxylist=nil, clustertype=nil)
2625
+ @ClusterId = clusterid
2626
+ @ServerList = serverlist
2627
+ @ProxyList = proxylist
2628
+ @ClusterType = clustertype
2629
+ end
2630
+
2631
+ def deserialize(params)
2632
+ @ClusterId = params['ClusterId']
2633
+ unless params['ServerList'].nil?
2634
+ @ServerList = []
2635
+ params['ServerList'].each do |i|
2636
+ machineinfo_tmp = MachineInfo.new
2637
+ machineinfo_tmp.deserialize(i)
2638
+ @ServerList << machineinfo_tmp
2639
+ end
2640
+ end
2641
+ unless params['ProxyList'].nil?
2642
+ @ProxyList = []
2643
+ params['ProxyList'].each do |i|
2644
+ machineinfo_tmp = MachineInfo.new
2645
+ machineinfo_tmp.deserialize(i)
2646
+ @ProxyList << machineinfo_tmp
2647
+ end
2648
+ end
2649
+ @ClusterType = params['ClusterType']
2650
+ end
2651
+ end
2652
+
2653
+ # ModifyClusterMachine返回参数结构体
2654
+ class ModifyClusterMachineResponse < TencentCloud::Common::AbstractModel
2655
+ # @param ClusterId: 集群id
2656
+ # @type ClusterId: String
2657
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2658
+ # @type RequestId: String
2659
+
2660
+ attr_accessor :ClusterId, :RequestId
2661
+
2662
+ def initialize(clusterid=nil, requestid=nil)
2663
+ @ClusterId = clusterid
2664
+ @RequestId = requestid
2665
+ end
2666
+
2667
+ def deserialize(params)
2668
+ @ClusterId = params['ClusterId']
2669
+ @RequestId = params['RequestId']
2670
+ end
2671
+ end
2672
+
2673
+ # ModifyClusterName请求参数结构体
2674
+ class ModifyClusterNameRequest < TencentCloud::Common::AbstractModel
2675
+ # @param ClusterId: 需要修改名称的集群ID
2676
+ # @type ClusterId: String
2677
+ # @param ClusterName: 需要修改的集群名称,可使用中文或英文字符,最大长度32个字符
2678
+ # @type ClusterName: String
2679
+
2680
+ attr_accessor :ClusterId, :ClusterName
2681
+
2682
+ def initialize(clusterid=nil, clustername=nil)
2683
+ @ClusterId = clusterid
2684
+ @ClusterName = clustername
2685
+ end
2686
+
2687
+ def deserialize(params)
2688
+ @ClusterId = params['ClusterId']
2689
+ @ClusterName = params['ClusterName']
2690
+ end
2691
+ end
2692
+
2693
+ # ModifyClusterName返回参数结构体
2694
+ class ModifyClusterNameResponse < TencentCloud::Common::AbstractModel
2695
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2696
+ # @type RequestId: String
2697
+
2698
+ attr_accessor :RequestId
2699
+
2700
+ def initialize(requestid=nil)
2701
+ @RequestId = requestid
2702
+ end
2703
+
2704
+ def deserialize(params)
2705
+ @RequestId = params['RequestId']
2706
+ end
2707
+ end
2708
+
2709
+ # ModifyClusterPassword请求参数结构体
2710
+ class ModifyClusterPasswordRequest < TencentCloud::Common::AbstractModel
2711
+ # @param ClusterId: 需要修改密码的集群ID
2712
+ # @type ClusterId: String
2713
+ # @param OldPassword: 集群旧密码
2714
+ # @type OldPassword: String
2715
+ # @param OldPasswordExpireTime: 集群旧密码预期失效时间
2716
+ # @type OldPasswordExpireTime: String
2717
+ # @param NewPassword: 集群新密码,密码必须是a-zA-Z0-9的字符,且必须包含数字和大小写字母
2718
+ # @type NewPassword: String
2719
+ # @param Mode: 更新模式: `1` 更新密码;`2` 更新旧密码失效时间,默认为`1` 模式
2720
+ # @type Mode: String
2721
+
2722
+ attr_accessor :ClusterId, :OldPassword, :OldPasswordExpireTime, :NewPassword, :Mode
2723
+
2724
+ def initialize(clusterid=nil, oldpassword=nil, oldpasswordexpiretime=nil, newpassword=nil, mode=nil)
2725
+ @ClusterId = clusterid
2726
+ @OldPassword = oldpassword
2727
+ @OldPasswordExpireTime = oldpasswordexpiretime
2728
+ @NewPassword = newpassword
2729
+ @Mode = mode
2730
+ end
2731
+
2732
+ def deserialize(params)
2733
+ @ClusterId = params['ClusterId']
2734
+ @OldPassword = params['OldPassword']
2735
+ @OldPasswordExpireTime = params['OldPasswordExpireTime']
2736
+ @NewPassword = params['NewPassword']
2737
+ @Mode = params['Mode']
2738
+ end
2739
+ end
2740
+
2741
+ # ModifyClusterPassword返回参数结构体
2742
+ class ModifyClusterPasswordResponse < TencentCloud::Common::AbstractModel
2743
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2744
+ # @type RequestId: String
2745
+
2746
+ attr_accessor :RequestId
2747
+
2748
+ def initialize(requestid=nil)
2749
+ @RequestId = requestid
2750
+ end
2751
+
2752
+ def deserialize(params)
2753
+ @RequestId = params['RequestId']
2754
+ end
2755
+ end
2756
+
2757
+ # ModifyClusterTags请求参数结构体
2758
+ class ModifyClusterTagsRequest < TencentCloud::Common::AbstractModel
2759
+ # @param ClusterId: 待修改标签的集群ID
2760
+ # @type ClusterId: String
2761
+ # @param ReplaceTags: 待增加或修改的标签列表
2762
+ # @type ReplaceTags: Array
2763
+ # @param DeleteTags: 待删除的标签
2764
+ # @type DeleteTags: Array
2765
+
2766
+ attr_accessor :ClusterId, :ReplaceTags, :DeleteTags
2767
+
2768
+ def initialize(clusterid=nil, replacetags=nil, deletetags=nil)
2769
+ @ClusterId = clusterid
2770
+ @ReplaceTags = replacetags
2771
+ @DeleteTags = deletetags
2772
+ end
2773
+
2774
+ def deserialize(params)
2775
+ @ClusterId = params['ClusterId']
2776
+ unless params['ReplaceTags'].nil?
2777
+ @ReplaceTags = []
2778
+ params['ReplaceTags'].each do |i|
2779
+ taginfounit_tmp = TagInfoUnit.new
2780
+ taginfounit_tmp.deserialize(i)
2781
+ @ReplaceTags << taginfounit_tmp
2782
+ end
2783
+ end
2784
+ unless params['DeleteTags'].nil?
2785
+ @DeleteTags = []
2786
+ params['DeleteTags'].each do |i|
2787
+ taginfounit_tmp = TagInfoUnit.new
2788
+ taginfounit_tmp.deserialize(i)
2789
+ @DeleteTags << taginfounit_tmp
2790
+ end
2791
+ end
2792
+ end
2793
+ end
2794
+
2795
+ # ModifyClusterTags返回参数结构体
2796
+ class ModifyClusterTagsResponse < TencentCloud::Common::AbstractModel
2797
+ # @param TaskId: 任务ID
2798
+ # 注意:此字段可能返回 null,表示取不到有效值。
2799
+ # @type TaskId: String
2800
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2801
+ # @type RequestId: String
2802
+
2803
+ attr_accessor :TaskId, :RequestId
2804
+
2805
+ def initialize(taskid=nil, requestid=nil)
2806
+ @TaskId = taskid
2807
+ @RequestId = requestid
2808
+ end
2809
+
2810
+ def deserialize(params)
2811
+ @TaskId = params['TaskId']
2812
+ @RequestId = params['RequestId']
2813
+ end
2814
+ end
2815
+
2816
+ # ModifySnapshots请求参数结构体
2817
+ class ModifySnapshotsRequest < TencentCloud::Common::AbstractModel
2818
+ # @param ClusterId: 表格所属集群id
2819
+ # @type ClusterId: String
2820
+ # @param SelectedTables: 快照列表
2821
+ # @type SelectedTables: Array
2822
+
2823
+ attr_accessor :ClusterId, :SelectedTables
2824
+
2825
+ def initialize(clusterid=nil, selectedtables=nil)
2826
+ @ClusterId = clusterid
2827
+ @SelectedTables = selectedtables
2828
+ end
2829
+
2830
+ def deserialize(params)
2831
+ @ClusterId = params['ClusterId']
2832
+ unless params['SelectedTables'].nil?
2833
+ @SelectedTables = []
2834
+ params['SelectedTables'].each do |i|
2835
+ snapshotinfonew_tmp = SnapshotInfoNew.new
2836
+ snapshotinfonew_tmp.deserialize(i)
2837
+ @SelectedTables << snapshotinfonew_tmp
2838
+ end
2839
+ end
2840
+ end
2841
+ end
2842
+
2843
+ # ModifySnapshots返回参数结构体
2844
+ class ModifySnapshotsResponse < TencentCloud::Common::AbstractModel
2845
+ # @param TotalCount: 批量修改的快照数量
2846
+ # @type TotalCount: Integer
2847
+ # @param TableResults: 批量修改的快照结果列表
2848
+ # @type TableResults: Array
2849
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2850
+ # @type RequestId: String
2851
+
2852
+ attr_accessor :TotalCount, :TableResults, :RequestId
2853
+
2854
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
2855
+ @TotalCount = totalcount
2856
+ @TableResults = tableresults
2857
+ @RequestId = requestid
2858
+ end
2859
+
2860
+ def deserialize(params)
2861
+ @TotalCount = params['TotalCount']
2862
+ unless params['TableResults'].nil?
2863
+ @TableResults = []
2864
+ params['TableResults'].each do |i|
2865
+ snapshotresult_tmp = SnapshotResult.new
2866
+ snapshotresult_tmp.deserialize(i)
2867
+ @TableResults << snapshotresult_tmp
2868
+ end
2869
+ end
2870
+ @RequestId = params['RequestId']
2871
+ end
2872
+ end
2873
+
2874
+ # ModifyTableGroupName请求参数结构体
2875
+ class ModifyTableGroupNameRequest < TencentCloud::Common::AbstractModel
2876
+ # @param ClusterId: 表格组所属的集群ID
2877
+ # @type ClusterId: String
2878
+ # @param TableGroupId: 待修改名称的表格组ID
2879
+ # @type TableGroupId: String
2880
+ # @param TableGroupName: 新的表格组名称,可以使用中英文字符和符号
2881
+ # @type TableGroupName: String
2882
+
2883
+ attr_accessor :ClusterId, :TableGroupId, :TableGroupName
2884
+
2885
+ def initialize(clusterid=nil, tablegroupid=nil, tablegroupname=nil)
2886
+ @ClusterId = clusterid
2887
+ @TableGroupId = tablegroupid
2888
+ @TableGroupName = tablegroupname
2889
+ end
2890
+
2891
+ def deserialize(params)
2892
+ @ClusterId = params['ClusterId']
2893
+ @TableGroupId = params['TableGroupId']
2894
+ @TableGroupName = params['TableGroupName']
2895
+ end
2896
+ end
2897
+
2898
+ # ModifyTableGroupName返回参数结构体
2899
+ class ModifyTableGroupNameResponse < TencentCloud::Common::AbstractModel
2900
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2901
+ # @type RequestId: String
2902
+
2903
+ attr_accessor :RequestId
2904
+
2905
+ def initialize(requestid=nil)
2906
+ @RequestId = requestid
2907
+ end
2908
+
2909
+ def deserialize(params)
2910
+ @RequestId = params['RequestId']
2911
+ end
2912
+ end
2913
+
2914
+ # ModifyTableGroupTags请求参数结构体
2915
+ class ModifyTableGroupTagsRequest < TencentCloud::Common::AbstractModel
2916
+ # @param ClusterId: 待修改标签表格组所属集群ID
2917
+ # @type ClusterId: String
2918
+ # @param TableGroupId: 待修改标签表格组ID
2919
+ # @type TableGroupId: String
2920
+ # @param ReplaceTags: 待增加或修改的标签列表
2921
+ # @type ReplaceTags: Array
2922
+ # @param DeleteTags: 待删除的标签
2923
+ # @type DeleteTags: Array
2924
+
2925
+ attr_accessor :ClusterId, :TableGroupId, :ReplaceTags, :DeleteTags
2926
+
2927
+ def initialize(clusterid=nil, tablegroupid=nil, replacetags=nil, deletetags=nil)
2928
+ @ClusterId = clusterid
2929
+ @TableGroupId = tablegroupid
2930
+ @ReplaceTags = replacetags
2931
+ @DeleteTags = deletetags
2932
+ end
2933
+
2934
+ def deserialize(params)
2935
+ @ClusterId = params['ClusterId']
2936
+ @TableGroupId = params['TableGroupId']
2937
+ unless params['ReplaceTags'].nil?
2938
+ @ReplaceTags = []
2939
+ params['ReplaceTags'].each do |i|
2940
+ taginfounit_tmp = TagInfoUnit.new
2941
+ taginfounit_tmp.deserialize(i)
2942
+ @ReplaceTags << taginfounit_tmp
2943
+ end
2944
+ end
2945
+ unless params['DeleteTags'].nil?
2946
+ @DeleteTags = []
2947
+ params['DeleteTags'].each do |i|
2948
+ taginfounit_tmp = TagInfoUnit.new
2949
+ taginfounit_tmp.deserialize(i)
2950
+ @DeleteTags << taginfounit_tmp
2951
+ end
2952
+ end
2953
+ end
2954
+ end
2955
+
2956
+ # ModifyTableGroupTags返回参数结构体
2957
+ class ModifyTableGroupTagsResponse < TencentCloud::Common::AbstractModel
2958
+ # @param TaskId: 任务ID
2959
+ # 注意:此字段可能返回 null,表示取不到有效值。
2960
+ # @type TaskId: String
2961
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2962
+ # @type RequestId: String
2963
+
2964
+ attr_accessor :TaskId, :RequestId
2965
+
2966
+ def initialize(taskid=nil, requestid=nil)
2967
+ @TaskId = taskid
2968
+ @RequestId = requestid
2969
+ end
2970
+
2971
+ def deserialize(params)
2972
+ @TaskId = params['TaskId']
2973
+ @RequestId = params['RequestId']
2974
+ end
2975
+ end
2976
+
2977
+ # ModifyTableMemos请求参数结构体
2978
+ class ModifyTableMemosRequest < TencentCloud::Common::AbstractModel
2979
+ # @param ClusterId: 表所属集群实例ID
2980
+ # @type ClusterId: String
2981
+ # @param TableMemos: 选定表详情列表
2982
+ # @type TableMemos: Array
2983
+
2984
+ attr_accessor :ClusterId, :TableMemos
2985
+
2986
+ def initialize(clusterid=nil, tablememos=nil)
2987
+ @ClusterId = clusterid
2988
+ @TableMemos = tablememos
2989
+ end
2990
+
2991
+ def deserialize(params)
2992
+ @ClusterId = params['ClusterId']
2993
+ unless params['TableMemos'].nil?
2994
+ @TableMemos = []
2995
+ params['TableMemos'].each do |i|
2996
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
2997
+ selectedtableinfonew_tmp.deserialize(i)
2998
+ @TableMemos << selectedtableinfonew_tmp
2999
+ end
3000
+ end
3001
+ end
3002
+ end
3003
+
3004
+ # ModifyTableMemos返回参数结构体
3005
+ class ModifyTableMemosResponse < TencentCloud::Common::AbstractModel
3006
+ # @param TotalCount: 表备注修改结果数量
3007
+ # @type TotalCount: Integer
3008
+ # @param TableResults: 表备注修改结果列表
3009
+ # @type TableResults: Array
3010
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3011
+ # @type RequestId: String
3012
+
3013
+ attr_accessor :TotalCount, :TableResults, :RequestId
3014
+
3015
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3016
+ @TotalCount = totalcount
3017
+ @TableResults = tableresults
3018
+ @RequestId = requestid
3019
+ end
3020
+
3021
+ def deserialize(params)
3022
+ @TotalCount = params['TotalCount']
3023
+ unless params['TableResults'].nil?
3024
+ @TableResults = []
3025
+ params['TableResults'].each do |i|
3026
+ tableresultnew_tmp = TableResultNew.new
3027
+ tableresultnew_tmp.deserialize(i)
3028
+ @TableResults << tableresultnew_tmp
3029
+ end
3030
+ end
3031
+ @RequestId = params['RequestId']
3032
+ end
3033
+ end
3034
+
3035
+ # ModifyTableQuotas请求参数结构体
3036
+ class ModifyTableQuotasRequest < TencentCloud::Common::AbstractModel
3037
+ # @param ClusterId: 带扩缩容表所属集群ID
3038
+ # @type ClusterId: String
3039
+ # @param TableQuotas: 已选中待修改的表配额列表
3040
+ # @type TableQuotas: Array
3041
+
3042
+ attr_accessor :ClusterId, :TableQuotas
3043
+
3044
+ def initialize(clusterid=nil, tablequotas=nil)
3045
+ @ClusterId = clusterid
3046
+ @TableQuotas = tablequotas
3047
+ end
3048
+
3049
+ def deserialize(params)
3050
+ @ClusterId = params['ClusterId']
3051
+ unless params['TableQuotas'].nil?
3052
+ @TableQuotas = []
3053
+ params['TableQuotas'].each do |i|
3054
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
3055
+ selectedtableinfonew_tmp.deserialize(i)
3056
+ @TableQuotas << selectedtableinfonew_tmp
3057
+ end
3058
+ end
3059
+ end
3060
+ end
3061
+
3062
+ # ModifyTableQuotas返回参数结构体
3063
+ class ModifyTableQuotasResponse < TencentCloud::Common::AbstractModel
3064
+ # @param TotalCount: 扩缩容结果数量
3065
+ # @type TotalCount: Integer
3066
+ # @param TableResults: 扩缩容结果列表
3067
+ # @type TableResults: Array
3068
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3069
+ # @type RequestId: String
3070
+
3071
+ attr_accessor :TotalCount, :TableResults, :RequestId
3072
+
3073
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3074
+ @TotalCount = totalcount
3075
+ @TableResults = tableresults
3076
+ @RequestId = requestid
3077
+ end
3078
+
3079
+ def deserialize(params)
3080
+ @TotalCount = params['TotalCount']
3081
+ unless params['TableResults'].nil?
3082
+ @TableResults = []
3083
+ params['TableResults'].each do |i|
3084
+ tableresultnew_tmp = TableResultNew.new
3085
+ tableresultnew_tmp.deserialize(i)
3086
+ @TableResults << tableresultnew_tmp
3087
+ end
3088
+ end
3089
+ @RequestId = params['RequestId']
3090
+ end
3091
+ end
3092
+
3093
+ # ModifyTableTags请求参数结构体
3094
+ class ModifyTableTagsRequest < TencentCloud::Common::AbstractModel
3095
+ # @param ClusterId: 待修改标签表格所属集群ID
3096
+ # @type ClusterId: String
3097
+ # @param SelectedTables: 待修改标签表格列表
3098
+ # @type SelectedTables: Array
3099
+ # @param ReplaceTags: 待增加或修改的标签列表
3100
+ # @type ReplaceTags: Array
3101
+ # @param DeleteTags: 待删除的标签列表
3102
+ # @type DeleteTags: Array
3103
+
3104
+ attr_accessor :ClusterId, :SelectedTables, :ReplaceTags, :DeleteTags
3105
+
3106
+ def initialize(clusterid=nil, selectedtables=nil, replacetags=nil, deletetags=nil)
3107
+ @ClusterId = clusterid
3108
+ @SelectedTables = selectedtables
3109
+ @ReplaceTags = replacetags
3110
+ @DeleteTags = deletetags
3111
+ end
3112
+
3113
+ def deserialize(params)
3114
+ @ClusterId = params['ClusterId']
3115
+ unless params['SelectedTables'].nil?
3116
+ @SelectedTables = []
3117
+ params['SelectedTables'].each do |i|
3118
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
3119
+ selectedtableinfonew_tmp.deserialize(i)
3120
+ @SelectedTables << selectedtableinfonew_tmp
3121
+ end
3122
+ end
3123
+ unless params['ReplaceTags'].nil?
3124
+ @ReplaceTags = []
3125
+ params['ReplaceTags'].each do |i|
3126
+ taginfounit_tmp = TagInfoUnit.new
3127
+ taginfounit_tmp.deserialize(i)
3128
+ @ReplaceTags << taginfounit_tmp
3129
+ end
3130
+ end
3131
+ unless params['DeleteTags'].nil?
3132
+ @DeleteTags = []
3133
+ params['DeleteTags'].each do |i|
3134
+ taginfounit_tmp = TagInfoUnit.new
3135
+ taginfounit_tmp.deserialize(i)
3136
+ @DeleteTags << taginfounit_tmp
3137
+ end
3138
+ end
3139
+ end
3140
+ end
3141
+
3142
+ # ModifyTableTags返回参数结构体
3143
+ class ModifyTableTagsResponse < TencentCloud::Common::AbstractModel
3144
+ # @param TotalCount: 返回结果总数
3145
+ # @type TotalCount: Integer
3146
+ # @param TableResults: 返回结果
3147
+ # @type TableResults: Array
3148
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3149
+ # @type RequestId: String
3150
+
3151
+ attr_accessor :TotalCount, :TableResults, :RequestId
3152
+
3153
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3154
+ @TotalCount = totalcount
3155
+ @TableResults = tableresults
3156
+ @RequestId = requestid
3157
+ end
3158
+
3159
+ def deserialize(params)
3160
+ @TotalCount = params['TotalCount']
3161
+ unless params['TableResults'].nil?
3162
+ @TableResults = []
3163
+ params['TableResults'].each do |i|
3164
+ tableresultnew_tmp = TableResultNew.new
3165
+ tableresultnew_tmp.deserialize(i)
3166
+ @TableResults << tableresultnew_tmp
3167
+ end
3168
+ end
3169
+ @RequestId = params['RequestId']
3170
+ end
3171
+ end
3172
+
3173
+ # ModifyTables请求参数结构体
3174
+ class ModifyTablesRequest < TencentCloud::Common::AbstractModel
3175
+ # @param ClusterId: 待修改表格所在集群ID
3176
+ # @type ClusterId: String
3177
+ # @param IdlFiles: 选中的改表IDL文件
3178
+ # @type IdlFiles: Array
3179
+ # @param SelectedTables: 待改表格列表
3180
+ # @type SelectedTables: Array
3181
+
3182
+ attr_accessor :ClusterId, :IdlFiles, :SelectedTables
3183
+
3184
+ def initialize(clusterid=nil, idlfiles=nil, selectedtables=nil)
3185
+ @ClusterId = clusterid
3186
+ @IdlFiles = idlfiles
3187
+ @SelectedTables = selectedtables
3188
+ end
3189
+
3190
+ def deserialize(params)
3191
+ @ClusterId = params['ClusterId']
3192
+ unless params['IdlFiles'].nil?
3193
+ @IdlFiles = []
3194
+ params['IdlFiles'].each do |i|
3195
+ idlfileinfo_tmp = IdlFileInfo.new
3196
+ idlfileinfo_tmp.deserialize(i)
3197
+ @IdlFiles << idlfileinfo_tmp
3198
+ end
3199
+ end
3200
+ unless params['SelectedTables'].nil?
3201
+ @SelectedTables = []
3202
+ params['SelectedTables'].each do |i|
3203
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
3204
+ selectedtableinfonew_tmp.deserialize(i)
3205
+ @SelectedTables << selectedtableinfonew_tmp
3206
+ end
3207
+ end
3208
+ end
3209
+ end
3210
+
3211
+ # ModifyTables返回参数结构体
3212
+ class ModifyTablesResponse < TencentCloud::Common::AbstractModel
3213
+ # @param TotalCount: 修改表结果数量
3214
+ # @type TotalCount: Integer
3215
+ # @param TableResults: 修改表结果列表
3216
+ # @type TableResults: Array
3217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3218
+ # @type RequestId: String
3219
+
3220
+ attr_accessor :TotalCount, :TableResults, :RequestId
3221
+
3222
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3223
+ @TotalCount = totalcount
3224
+ @TableResults = tableresults
3225
+ @RequestId = requestid
3226
+ end
3227
+
3228
+ def deserialize(params)
3229
+ @TotalCount = params['TotalCount']
3230
+ unless params['TableResults'].nil?
3231
+ @TableResults = []
3232
+ params['TableResults'].each do |i|
3233
+ tableresultnew_tmp = TableResultNew.new
3234
+ tableresultnew_tmp.deserialize(i)
3235
+ @TableResults << tableresultnew_tmp
3236
+ end
3237
+ end
3238
+ @RequestId = params['RequestId']
3239
+ end
3240
+ end
3241
+
3242
+ # 从IDL表描述文件中解析出来的表信息
3243
+ class ParsedTableInfoNew < TencentCloud::Common::AbstractModel
3244
+ # @param TableIdlType: 表格描述语言类型:`PROTO`或`TDR`
3245
+ # 注意:此字段可能返回 null,表示取不到有效值。
3246
+ # @type TableIdlType: String
3247
+ # @param TableInstanceId: 表格实例ID
3248
+ # 注意:此字段可能返回 null,表示取不到有效值。
3249
+ # @type TableInstanceId: String
3250
+ # @param TableName: 表格名称
3251
+ # 注意:此字段可能返回 null,表示取不到有效值。
3252
+ # @type TableName: String
3253
+ # @param TableType: 表格数据结构类型:`GENERIC`或`LIST`
3254
+ # 注意:此字段可能返回 null,表示取不到有效值。
3255
+ # @type TableType: String
3256
+ # @param KeyFields: 主键字段信息
3257
+ # 注意:此字段可能返回 null,表示取不到有效值。
3258
+ # @type KeyFields: String
3259
+ # @param OldKeyFields: 原主键字段信息,改表校验时有效
3260
+ # 注意:此字段可能返回 null,表示取不到有效值。
3261
+ # @type OldKeyFields: String
3262
+ # @param ValueFields: 非主键字段信息
3263
+ # 注意:此字段可能返回 null,表示取不到有效值。
3264
+ # @type ValueFields: String
3265
+ # @param OldValueFields: 原非主键字段信息,改表校验时有效
3266
+ # 注意:此字段可能返回 null,表示取不到有效值。
3267
+ # @type OldValueFields: String
3268
+ # @param TableGroupId: 所属表格组ID
3269
+ # 注意:此字段可能返回 null,表示取不到有效值。
3270
+ # @type TableGroupId: String
3271
+ # @param SumKeyFieldSize: 主键字段总大小
3272
+ # 注意:此字段可能返回 null,表示取不到有效值。
3273
+ # @type SumKeyFieldSize: Integer
3274
+ # @param SumValueFieldSize: 非主键字段总大小
3275
+ # 注意:此字段可能返回 null,表示取不到有效值。
3276
+ # @type SumValueFieldSize: Integer
3277
+ # @param IndexKeySet: 索引键集合
3278
+ # 注意:此字段可能返回 null,表示取不到有效值。
3279
+ # @type IndexKeySet: String
3280
+ # @param ShardingKeySet: 分表因子集合
3281
+ # 注意:此字段可能返回 null,表示取不到有效值。
3282
+ # @type ShardingKeySet: String
3283
+ # @param TdrVersion: TDR版本号
3284
+ # 注意:此字段可能返回 null,表示取不到有效值。
3285
+ # @type TdrVersion: Integer
3286
+ # @param Error: 错误信息
3287
+ # 注意:此字段可能返回 null,表示取不到有效值。
3288
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
3289
+ # @param ListElementNum: LIST类型表格元素个数
3290
+ # 注意:此字段可能返回 null,表示取不到有效值。
3291
+ # @type ListElementNum: Integer
3292
+ # @param SortFieldNum: SORTLIST类型表格排序字段个数
3293
+ # 注意:此字段可能返回 null,表示取不到有效值。
3294
+ # @type SortFieldNum: Integer
3295
+ # @param SortRule: SORTLIST类型表格排序顺序
3296
+ # 注意:此字段可能返回 null,表示取不到有效值。
3297
+ # @type SortRule: Integer
3298
+
3299
+ attr_accessor :TableIdlType, :TableInstanceId, :TableName, :TableType, :KeyFields, :OldKeyFields, :ValueFields, :OldValueFields, :TableGroupId, :SumKeyFieldSize, :SumValueFieldSize, :IndexKeySet, :ShardingKeySet, :TdrVersion, :Error, :ListElementNum, :SortFieldNum, :SortRule
3300
+
3301
+ def initialize(tableidltype=nil, tableinstanceid=nil, tablename=nil, tabletype=nil, keyfields=nil, oldkeyfields=nil, valuefields=nil, oldvaluefields=nil, tablegroupid=nil, sumkeyfieldsize=nil, sumvaluefieldsize=nil, indexkeyset=nil, shardingkeyset=nil, tdrversion=nil, error=nil, listelementnum=nil, sortfieldnum=nil, sortrule=nil)
3302
+ @TableIdlType = tableidltype
3303
+ @TableInstanceId = tableinstanceid
3304
+ @TableName = tablename
3305
+ @TableType = tabletype
3306
+ @KeyFields = keyfields
3307
+ @OldKeyFields = oldkeyfields
3308
+ @ValueFields = valuefields
3309
+ @OldValueFields = oldvaluefields
3310
+ @TableGroupId = tablegroupid
3311
+ @SumKeyFieldSize = sumkeyfieldsize
3312
+ @SumValueFieldSize = sumvaluefieldsize
3313
+ @IndexKeySet = indexkeyset
3314
+ @ShardingKeySet = shardingkeyset
3315
+ @TdrVersion = tdrversion
3316
+ @Error = error
3317
+ @ListElementNum = listelementnum
3318
+ @SortFieldNum = sortfieldnum
3319
+ @SortRule = sortrule
3320
+ end
3321
+
3322
+ def deserialize(params)
3323
+ @TableIdlType = params['TableIdlType']
3324
+ @TableInstanceId = params['TableInstanceId']
3325
+ @TableName = params['TableName']
3326
+ @TableType = params['TableType']
3327
+ @KeyFields = params['KeyFields']
3328
+ @OldKeyFields = params['OldKeyFields']
3329
+ @ValueFields = params['ValueFields']
3330
+ @OldValueFields = params['OldValueFields']
3331
+ @TableGroupId = params['TableGroupId']
3332
+ @SumKeyFieldSize = params['SumKeyFieldSize']
3333
+ @SumValueFieldSize = params['SumValueFieldSize']
3334
+ @IndexKeySet = params['IndexKeySet']
3335
+ @ShardingKeySet = params['ShardingKeySet']
3336
+ @TdrVersion = params['TdrVersion']
3337
+ unless params['Error'].nil?
3338
+ @Error = ErrorInfo.new
3339
+ @Error.deserialize(params['Error'])
3340
+ end
3341
+ @ListElementNum = params['ListElementNum']
3342
+ @SortFieldNum = params['SortFieldNum']
3343
+ @SortRule = params['SortRule']
3344
+ end
3345
+ end
3346
+
3347
+ # center资源池中的机器信息
3348
+ class PoolInfo < TencentCloud::Common::AbstractModel
3349
+ # @param PoolUid: 唯一id
3350
+ # @type PoolUid: Integer
3351
+ # @param Ipv6Enable: 是否支持ipv6
3352
+ # @type Ipv6Enable: Integer
3353
+ # @param AvailableAppCount: 剩余可用app
3354
+ # @type AvailableAppCount: Integer
3355
+ # @param ServerList: svr机器列表
3356
+ # @type ServerList: Array
3357
+ # @param ProxyList: proxy机器列表
3358
+ # @type ProxyList: Array
3359
+
3360
+ attr_accessor :PoolUid, :Ipv6Enable, :AvailableAppCount, :ServerList, :ProxyList
3361
+
3362
+ def initialize(pooluid=nil, ipv6enable=nil, availableappcount=nil, serverlist=nil, proxylist=nil)
3363
+ @PoolUid = pooluid
3364
+ @Ipv6Enable = ipv6enable
3365
+ @AvailableAppCount = availableappcount
3366
+ @ServerList = serverlist
3367
+ @ProxyList = proxylist
3368
+ end
3369
+
3370
+ def deserialize(params)
3371
+ @PoolUid = params['PoolUid']
3372
+ @Ipv6Enable = params['Ipv6Enable']
3373
+ @AvailableAppCount = params['AvailableAppCount']
3374
+ unless params['ServerList'].nil?
3375
+ @ServerList = []
3376
+ params['ServerList'].each do |i|
3377
+ servermachineinfo_tmp = ServerMachineInfo.new
3378
+ servermachineinfo_tmp.deserialize(i)
3379
+ @ServerList << servermachineinfo_tmp
3380
+ end
3381
+ end
3382
+ unless params['ProxyList'].nil?
3383
+ @ProxyList = []
3384
+ params['ProxyList'].each do |i|
3385
+ proxymachineinfo_tmp = ProxyMachineInfo.new
3386
+ proxymachineinfo_tmp.deserialize(i)
3387
+ @ProxyList << proxymachineinfo_tmp
3388
+ end
3389
+ end
3390
+ end
3391
+ end
3392
+
3393
+ # 独占的proxy详细信息
3394
+ class ProxyDetailInfo < TencentCloud::Common::AbstractModel
3395
+ # @param ProxyUid: proxy的唯一id
3396
+ # @type ProxyUid: String
3397
+ # @param MachineType: 机器类型
3398
+ # @type MachineType: String
3399
+ # @param ProcessSpeed: 请求包速度
3400
+ # @type ProcessSpeed: Integer
3401
+ # @param AverageProcessDelay: 请求包时延
3402
+ # @type AverageProcessDelay: Integer
3403
+ # @param SlowProcessSpeed: 慢处理包速度
3404
+ # @type SlowProcessSpeed: Integer
3405
+
3406
+ attr_accessor :ProxyUid, :MachineType, :ProcessSpeed, :AverageProcessDelay, :SlowProcessSpeed
3407
+
3408
+ def initialize(proxyuid=nil, machinetype=nil, processspeed=nil, averageprocessdelay=nil, slowprocessspeed=nil)
3409
+ @ProxyUid = proxyuid
3410
+ @MachineType = machinetype
3411
+ @ProcessSpeed = processspeed
3412
+ @AverageProcessDelay = averageprocessdelay
3413
+ @SlowProcessSpeed = slowprocessspeed
3414
+ end
3415
+
3416
+ def deserialize(params)
3417
+ @ProxyUid = params['ProxyUid']
3418
+ @MachineType = params['MachineType']
3419
+ @ProcessSpeed = params['ProcessSpeed']
3420
+ @AverageProcessDelay = params['AverageProcessDelay']
3421
+ @SlowProcessSpeed = params['SlowProcessSpeed']
3422
+ end
3423
+ end
3424
+
3425
+ # proxy机器信息
3426
+ class ProxyMachineInfo < TencentCloud::Common::AbstractModel
3427
+ # @param ProxyUid: 唯一id
3428
+ # @type ProxyUid: String
3429
+ # @param MachineType: 机器类型
3430
+ # @type MachineType: String
3431
+ # @param AvailableCount: 可分配proxy资源数
3432
+ # @type AvailableCount: Integer
3433
+
3434
+ attr_accessor :ProxyUid, :MachineType, :AvailableCount
3435
+
3436
+ def initialize(proxyuid=nil, machinetype=nil, availablecount=nil)
3437
+ @ProxyUid = proxyuid
3438
+ @MachineType = machinetype
3439
+ @AvailableCount = availablecount
3440
+ end
3441
+
3442
+ def deserialize(params)
3443
+ @ProxyUid = params['ProxyUid']
3444
+ @MachineType = params['MachineType']
3445
+ @AvailableCount = params['AvailableCount']
3446
+ end
3447
+ end
3448
+
3449
+ # RecoverRecycleTables请求参数结构体
3450
+ class RecoverRecycleTablesRequest < TencentCloud::Common::AbstractModel
3451
+ # @param ClusterId: 表所在集群ID
3452
+ # @type ClusterId: String
3453
+ # @param SelectedTables: 待恢复表信息
3454
+ # @type SelectedTables: Array
3455
+
3456
+ attr_accessor :ClusterId, :SelectedTables
3457
+
3458
+ def initialize(clusterid=nil, selectedtables=nil)
3459
+ @ClusterId = clusterid
3460
+ @SelectedTables = selectedtables
3461
+ end
3462
+
3463
+ def deserialize(params)
3464
+ @ClusterId = params['ClusterId']
3465
+ unless params['SelectedTables'].nil?
3466
+ @SelectedTables = []
3467
+ params['SelectedTables'].each do |i|
3468
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
3469
+ selectedtableinfonew_tmp.deserialize(i)
3470
+ @SelectedTables << selectedtableinfonew_tmp
3471
+ end
3472
+ end
3473
+ end
3474
+ end
3475
+
3476
+ # RecoverRecycleTables返回参数结构体
3477
+ class RecoverRecycleTablesResponse < TencentCloud::Common::AbstractModel
3478
+ # @param TotalCount: 恢复表结果数量
3479
+ # @type TotalCount: Integer
3480
+ # @param TableResults: 恢复表信息列表
3481
+ # @type TableResults: Array
3482
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3483
+ # @type RequestId: String
3484
+
3485
+ attr_accessor :TotalCount, :TableResults, :RequestId
3486
+
3487
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3488
+ @TotalCount = totalcount
3489
+ @TableResults = tableresults
3490
+ @RequestId = requestid
3491
+ end
3492
+
3493
+ def deserialize(params)
3494
+ @TotalCount = params['TotalCount']
3495
+ unless params['TableResults'].nil?
3496
+ @TableResults = []
3497
+ params['TableResults'].each do |i|
3498
+ tableresultnew_tmp = TableResultNew.new
3499
+ tableresultnew_tmp.deserialize(i)
3500
+ @TableResults << tableresultnew_tmp
3501
+ end
3502
+ end
3503
+ @RequestId = params['RequestId']
3504
+ end
3505
+ end
3506
+
3507
+ # TcaplusDB服务地域信息详情
3508
+ class RegionInfo < TencentCloud::Common::AbstractModel
3509
+ # @param RegionName: 地域Ap-Code
3510
+ # @type RegionName: String
3511
+ # @param RegionAbbr: 地域缩写
3512
+ # @type RegionAbbr: String
3513
+ # @param RegionId: 地域ID
3514
+ # @type RegionId: Integer
3515
+ # @param Ipv6Enable: 是否支持ipv6,0:不支持,1:支持
3516
+ # @type Ipv6Enable: Integer
3517
+
3518
+ attr_accessor :RegionName, :RegionAbbr, :RegionId, :Ipv6Enable
3519
+
3520
+ def initialize(regionname=nil, regionabbr=nil, regionid=nil, ipv6enable=nil)
3521
+ @RegionName = regionname
3522
+ @RegionAbbr = regionabbr
3523
+ @RegionId = regionid
3524
+ @Ipv6Enable = ipv6enable
3525
+ end
3526
+
3527
+ def deserialize(params)
3528
+ @RegionName = params['RegionName']
3529
+ @RegionAbbr = params['RegionAbbr']
3530
+ @RegionId = params['RegionId']
3531
+ @Ipv6Enable = params['Ipv6Enable']
3532
+ end
3533
+ end
3534
+
3535
+ # RollbackTables请求参数结构体
3536
+ class RollbackTablesRequest < TencentCloud::Common::AbstractModel
3537
+ # @param ClusterId: 待回档表格所在集群ID
3538
+ # @type ClusterId: String
3539
+ # @param SelectedTables: 待回档表格列表
3540
+ # @type SelectedTables: Array
3541
+ # @param RollbackTime: 待回档时间
3542
+ # @type RollbackTime: String
3543
+ # @param Mode: 回档模式,支持:`KEYS`
3544
+ # @type Mode: String
3545
+
3546
+ attr_accessor :ClusterId, :SelectedTables, :RollbackTime, :Mode
3547
+
3548
+ def initialize(clusterid=nil, selectedtables=nil, rollbacktime=nil, mode=nil)
3549
+ @ClusterId = clusterid
3550
+ @SelectedTables = selectedtables
3551
+ @RollbackTime = rollbacktime
3552
+ @Mode = mode
3553
+ end
3554
+
3555
+ def deserialize(params)
3556
+ @ClusterId = params['ClusterId']
3557
+ unless params['SelectedTables'].nil?
3558
+ @SelectedTables = []
3559
+ params['SelectedTables'].each do |i|
3560
+ selectedtableinfonew_tmp = SelectedTableInfoNew.new
3561
+ selectedtableinfonew_tmp.deserialize(i)
3562
+ @SelectedTables << selectedtableinfonew_tmp
3563
+ end
3564
+ end
3565
+ @RollbackTime = params['RollbackTime']
3566
+ @Mode = params['Mode']
3567
+ end
3568
+ end
3569
+
3570
+ # RollbackTables返回参数结构体
3571
+ class RollbackTablesResponse < TencentCloud::Common::AbstractModel
3572
+ # @param TotalCount: 表格回档任务结果数量
3573
+ # @type TotalCount: Integer
3574
+ # @param TableResults: 表格回档任务结果列表
3575
+ # @type TableResults: Array
3576
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3577
+ # @type RequestId: String
3578
+
3579
+ attr_accessor :TotalCount, :TableResults, :RequestId
3580
+
3581
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3582
+ @TotalCount = totalcount
3583
+ @TableResults = tableresults
3584
+ @RequestId = requestid
3585
+ end
3586
+
3587
+ def deserialize(params)
3588
+ @TotalCount = params['TotalCount']
3589
+ unless params['TableResults'].nil?
3590
+ @TableResults = []
3591
+ params['TableResults'].each do |i|
3592
+ tablerollbackresultnew_tmp = TableRollbackResultNew.new
3593
+ tablerollbackresultnew_tmp.deserialize(i)
3594
+ @TableResults << tablerollbackresultnew_tmp
3595
+ end
3596
+ end
3597
+ @RequestId = params['RequestId']
3598
+ end
3599
+ end
3600
+
3601
+ # 被选中的表信息
3602
+ class SelectedTableInfoNew < TencentCloud::Common::AbstractModel
3603
+ # @param TableGroupId: 表所属表格组ID
3604
+ # @type TableGroupId: String
3605
+ # @param TableName: 表格名称
3606
+ # @type TableName: String
3607
+ # @param TableInstanceId: 表实例ID
3608
+ # @type TableInstanceId: String
3609
+ # @param TableIdlType: 表格描述语言类型:`PROTO`或`TDR`
3610
+ # @type TableIdlType: String
3611
+ # @param TableType: 表格数据结构类型:`GENERIC`或`LIST`
3612
+ # @type TableType: String
3613
+ # @param ListElementNum: LIST表元素个数
3614
+ # @type ListElementNum: Integer
3615
+ # @param ReservedVolume: 表格预留容量(GB)
3616
+ # @type ReservedVolume: Integer
3617
+ # @param ReservedReadQps: 表格预留读CU
3618
+ # @type ReservedReadQps: Integer
3619
+ # @param ReservedWriteQps: 表格预留写CU
3620
+ # @type ReservedWriteQps: Integer
3621
+ # @param Memo: 表格备注信息
3622
+ # @type Memo: String
3623
+ # @param FileName: Key回档文件名,回档专用
3624
+ # @type FileName: String
3625
+ # @param FileExtType: Key回档文件扩展名,回档专用
3626
+ # @type FileExtType: String
3627
+ # @param FileSize: Key回档文件大小,回档专用
3628
+ # @type FileSize: Integer
3629
+ # @param FileContent: Key回档文件内容,回档专用
3630
+ # @type FileContent: String
3631
+
3632
+ attr_accessor :TableGroupId, :TableName, :TableInstanceId, :TableIdlType, :TableType, :ListElementNum, :ReservedVolume, :ReservedReadQps, :ReservedWriteQps, :Memo, :FileName, :FileExtType, :FileSize, :FileContent
3633
+
3634
+ def initialize(tablegroupid=nil, tablename=nil, tableinstanceid=nil, tableidltype=nil, tabletype=nil, listelementnum=nil, reservedvolume=nil, reservedreadqps=nil, reservedwriteqps=nil, memo=nil, filename=nil, fileexttype=nil, filesize=nil, filecontent=nil)
3635
+ @TableGroupId = tablegroupid
3636
+ @TableName = tablename
3637
+ @TableInstanceId = tableinstanceid
3638
+ @TableIdlType = tableidltype
3639
+ @TableType = tabletype
3640
+ @ListElementNum = listelementnum
3641
+ @ReservedVolume = reservedvolume
3642
+ @ReservedReadQps = reservedreadqps
3643
+ @ReservedWriteQps = reservedwriteqps
3644
+ @Memo = memo
3645
+ @FileName = filename
3646
+ @FileExtType = fileexttype
3647
+ @FileSize = filesize
3648
+ @FileContent = filecontent
3649
+ end
3650
+
3651
+ def deserialize(params)
3652
+ @TableGroupId = params['TableGroupId']
3653
+ @TableName = params['TableName']
3654
+ @TableInstanceId = params['TableInstanceId']
3655
+ @TableIdlType = params['TableIdlType']
3656
+ @TableType = params['TableType']
3657
+ @ListElementNum = params['ListElementNum']
3658
+ @ReservedVolume = params['ReservedVolume']
3659
+ @ReservedReadQps = params['ReservedReadQps']
3660
+ @ReservedWriteQps = params['ReservedWriteQps']
3661
+ @Memo = params['Memo']
3662
+ @FileName = params['FileName']
3663
+ @FileExtType = params['FileExtType']
3664
+ @FileSize = params['FileSize']
3665
+ @FileContent = params['FileContent']
3666
+ end
3667
+ end
3668
+
3669
+ # 附带被选中字段信息的表格列表
3670
+ class SelectedTableWithField < TencentCloud::Common::AbstractModel
3671
+ # @param TableGroupId: 表所属表格组ID
3672
+ # @type TableGroupId: String
3673
+ # @param TableName: 表格名称
3674
+ # @type TableName: String
3675
+ # @param TableInstanceId: 表实例ID
3676
+ # @type TableInstanceId: String
3677
+ # @param TableIdlType: 表格描述语言类型:`PROTO`或`TDR`
3678
+ # @type TableIdlType: String
3679
+ # @param TableType: 表格数据结构类型:`GENERIC`或`LIST`
3680
+ # @type TableType: String
3681
+ # @param SelectedFields: 待创建索引、缓写、数据订阅的字段列表
3682
+ # @type SelectedFields: Array
3683
+ # @param ShardNum: 索引分片数
3684
+ # @type ShardNum: Integer
3685
+ # @param KafkaInfo: ckafka实例信息
3686
+ # @type KafkaInfo: :class:`Tencentcloud::Tcaplusdb.v20190823.models.KafkaInfo`
3687
+
3688
+ attr_accessor :TableGroupId, :TableName, :TableInstanceId, :TableIdlType, :TableType, :SelectedFields, :ShardNum, :KafkaInfo
3689
+
3690
+ def initialize(tablegroupid=nil, tablename=nil, tableinstanceid=nil, tableidltype=nil, tabletype=nil, selectedfields=nil, shardnum=nil, kafkainfo=nil)
3691
+ @TableGroupId = tablegroupid
3692
+ @TableName = tablename
3693
+ @TableInstanceId = tableinstanceid
3694
+ @TableIdlType = tableidltype
3695
+ @TableType = tabletype
3696
+ @SelectedFields = selectedfields
3697
+ @ShardNum = shardnum
3698
+ @KafkaInfo = kafkainfo
3699
+ end
3700
+
3701
+ def deserialize(params)
3702
+ @TableGroupId = params['TableGroupId']
3703
+ @TableName = params['TableName']
3704
+ @TableInstanceId = params['TableInstanceId']
3705
+ @TableIdlType = params['TableIdlType']
3706
+ @TableType = params['TableType']
3707
+ unless params['SelectedFields'].nil?
3708
+ @SelectedFields = []
3709
+ params['SelectedFields'].each do |i|
3710
+ fieldinfo_tmp = FieldInfo.new
3711
+ fieldinfo_tmp.deserialize(i)
3712
+ @SelectedFields << fieldinfo_tmp
3713
+ end
3714
+ end
3715
+ @ShardNum = params['ShardNum']
3716
+ unless params['KafkaInfo'].nil?
3717
+ @KafkaInfo = KafkaInfo.new
3718
+ @KafkaInfo.deserialize(params['KafkaInfo'])
3719
+ end
3720
+ end
3721
+ end
3722
+
3723
+ # server独占机器的详细信息
3724
+ class ServerDetailInfo < TencentCloud::Common::AbstractModel
3725
+ # @param ServerUid: svr唯一id
3726
+ # @type ServerUid: String
3727
+ # @param MachineType: 机器类型
3728
+ # @type MachineType: String
3729
+ # @param MemoryRate: 内存占用量
3730
+ # @type MemoryRate: Integer
3731
+ # @param DiskRate: 磁盘占用量
3732
+ # @type DiskRate: Integer
3733
+ # @param ReadNum: 读次数
3734
+ # @type ReadNum: Integer
3735
+ # @param WriteNum: 写次数
3736
+ # @type WriteNum: Integer
3737
+
3738
+ attr_accessor :ServerUid, :MachineType, :MemoryRate, :DiskRate, :ReadNum, :WriteNum
3739
+
3740
+ def initialize(serveruid=nil, machinetype=nil, memoryrate=nil, diskrate=nil, readnum=nil, writenum=nil)
3741
+ @ServerUid = serveruid
3742
+ @MachineType = machinetype
3743
+ @MemoryRate = memoryrate
3744
+ @DiskRate = diskrate
3745
+ @ReadNum = readnum
3746
+ @WriteNum = writenum
3747
+ end
3748
+
3749
+ def deserialize(params)
3750
+ @ServerUid = params['ServerUid']
3751
+ @MachineType = params['MachineType']
3752
+ @MemoryRate = params['MemoryRate']
3753
+ @DiskRate = params['DiskRate']
3754
+ @ReadNum = params['ReadNum']
3755
+ @WriteNum = params['WriteNum']
3756
+ end
3757
+ end
3758
+
3759
+ # svr的机器列表ServerList
3760
+ class ServerMachineInfo < TencentCloud::Common::AbstractModel
3761
+ # @param ServerUid: 机器唯一id
3762
+ # @type ServerUid: String
3763
+ # @param MachineType: 机器类型
3764
+ # @type MachineType: String
3765
+
3766
+ attr_accessor :ServerUid, :MachineType
3767
+
3768
+ def initialize(serveruid=nil, machinetype=nil)
3769
+ @ServerUid = serveruid
3770
+ @MachineType = machinetype
3771
+ end
3772
+
3773
+ def deserialize(params)
3774
+ @ServerUid = params['ServerUid']
3775
+ @MachineType = params['MachineType']
3776
+ end
3777
+ end
3778
+
3779
+ # SetTableDataFlow请求参数结构体
3780
+ class SetTableDataFlowRequest < TencentCloud::Common::AbstractModel
3781
+ # @param ClusterId: 表所属集群实例ID
3782
+ # @type ClusterId: String
3783
+ # @param SelectedTables: 待创建分布式索引表格列表
3784
+ # @type SelectedTables: Array
3785
+
3786
+ attr_accessor :ClusterId, :SelectedTables
3787
+
3788
+ def initialize(clusterid=nil, selectedtables=nil)
3789
+ @ClusterId = clusterid
3790
+ @SelectedTables = selectedtables
3791
+ end
3792
+
3793
+ def deserialize(params)
3794
+ @ClusterId = params['ClusterId']
3795
+ unless params['SelectedTables'].nil?
3796
+ @SelectedTables = []
3797
+ params['SelectedTables'].each do |i|
3798
+ selectedtablewithfield_tmp = SelectedTableWithField.new
3799
+ selectedtablewithfield_tmp.deserialize(i)
3800
+ @SelectedTables << selectedtablewithfield_tmp
3801
+ end
3802
+ end
3803
+ end
3804
+ end
3805
+
3806
+ # SetTableDataFlow返回参数结构体
3807
+ class SetTableDataFlowResponse < TencentCloud::Common::AbstractModel
3808
+ # @param TotalCount: 表格数据订阅创建结果数量
3809
+ # @type TotalCount: Integer
3810
+ # @param TableResults: 表格数据订阅创建结果列表
3811
+ # @type TableResults: Array
3812
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3813
+ # @type RequestId: String
3814
+
3815
+ attr_accessor :TotalCount, :TableResults, :RequestId
3816
+
3817
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3818
+ @TotalCount = totalcount
3819
+ @TableResults = tableresults
3820
+ @RequestId = requestid
3821
+ end
3822
+
3823
+ def deserialize(params)
3824
+ @TotalCount = params['TotalCount']
3825
+ unless params['TableResults'].nil?
3826
+ @TableResults = []
3827
+ params['TableResults'].each do |i|
3828
+ tableresultnew_tmp = TableResultNew.new
3829
+ tableresultnew_tmp.deserialize(i)
3830
+ @TableResults << tableresultnew_tmp
3831
+ end
3832
+ end
3833
+ @RequestId = params['RequestId']
3834
+ end
3835
+ end
3836
+
3837
+ # SetTableIndex请求参数结构体
3838
+ class SetTableIndexRequest < TencentCloud::Common::AbstractModel
3839
+ # @param ClusterId: 表所属集群实例ID
3840
+ # @type ClusterId: String
3841
+ # @param SelectedTables: 待创建分布式索引表格列表
3842
+ # @type SelectedTables: Array
3843
+
3844
+ attr_accessor :ClusterId, :SelectedTables
3845
+
3846
+ def initialize(clusterid=nil, selectedtables=nil)
3847
+ @ClusterId = clusterid
3848
+ @SelectedTables = selectedtables
3849
+ end
3850
+
3851
+ def deserialize(params)
3852
+ @ClusterId = params['ClusterId']
3853
+ unless params['SelectedTables'].nil?
3854
+ @SelectedTables = []
3855
+ params['SelectedTables'].each do |i|
3856
+ selectedtablewithfield_tmp = SelectedTableWithField.new
3857
+ selectedtablewithfield_tmp.deserialize(i)
3858
+ @SelectedTables << selectedtablewithfield_tmp
3859
+ end
3860
+ end
3861
+ end
3862
+ end
3863
+
3864
+ # SetTableIndex返回参数结构体
3865
+ class SetTableIndexResponse < TencentCloud::Common::AbstractModel
3866
+ # @param TotalCount: 表格分布式索引创建结果数量
3867
+ # @type TotalCount: Integer
3868
+ # @param TableResults: 表格分布式索引创建结果列表
3869
+ # @type TableResults: Array
3870
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3871
+ # @type RequestId: String
3872
+
3873
+ attr_accessor :TotalCount, :TableResults, :RequestId
3874
+
3875
+ def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3876
+ @TotalCount = totalcount
3877
+ @TableResults = tableresults
3878
+ @RequestId = requestid
3879
+ end
3880
+
3881
+ def deserialize(params)
3882
+ @TotalCount = params['TotalCount']
3883
+ unless params['TableResults'].nil?
3884
+ @TableResults = []
3885
+ params['TableResults'].each do |i|
3886
+ tableresultnew_tmp = TableResultNew.new
3887
+ tableresultnew_tmp.deserialize(i)
3888
+ @TableResults << tableresultnew_tmp
3889
+ end
3890
+ end
3891
+ @RequestId = params['RequestId']
3892
+ end
3893
+ end
3894
+
3895
+ # 快照列表
3896
+ class SnapshotInfo < TencentCloud::Common::AbstractModel
3897
+ # @param TableGroupId: 所属表格组ID
3898
+ # @type TableGroupId: String
3899
+ # @param TableName: 表名称
3900
+ # @type TableName: String
3901
+ # @param SnapshotName: 快照名称
3902
+ # @type SnapshotName: String
3903
+ # @param SnapshotTime: 快照时间点
3904
+ # @type SnapshotTime: String
3905
+ # @param SnapshotDeadTime: 快照过期时间点
3906
+ # @type SnapshotDeadTime: String
3907
+
3908
+ attr_accessor :TableGroupId, :TableName, :SnapshotName, :SnapshotTime, :SnapshotDeadTime
3909
+
3910
+ def initialize(tablegroupid=nil, tablename=nil, snapshotname=nil, snapshottime=nil, snapshotdeadtime=nil)
3911
+ @TableGroupId = tablegroupid
3912
+ @TableName = tablename
3913
+ @SnapshotName = snapshotname
3914
+ @SnapshotTime = snapshottime
3915
+ @SnapshotDeadTime = snapshotdeadtime
3916
+ end
3917
+
3918
+ def deserialize(params)
3919
+ @TableGroupId = params['TableGroupId']
3920
+ @TableName = params['TableName']
3921
+ @SnapshotName = params['SnapshotName']
3922
+ @SnapshotTime = params['SnapshotTime']
3923
+ @SnapshotDeadTime = params['SnapshotDeadTime']
3924
+ end
3925
+ end
3926
+
3927
+ # 新的快照过期时间
3928
+ class SnapshotInfoNew < TencentCloud::Common::AbstractModel
3929
+ # @param TableGroupId: 所属表格组ID
3930
+ # @type TableGroupId: String
3931
+ # @param TableName: 表名称
3932
+ # @type TableName: String
3933
+ # @param SnapshotName: 快照名称
3934
+ # @type SnapshotName: String
3935
+ # @param SnapshotDeadTime: 快照过期时间点
3936
+ # @type SnapshotDeadTime: String
3937
+
3938
+ attr_accessor :TableGroupId, :TableName, :SnapshotName, :SnapshotDeadTime
3939
+
3940
+ def initialize(tablegroupid=nil, tablename=nil, snapshotname=nil, snapshotdeadtime=nil)
3941
+ @TableGroupId = tablegroupid
3942
+ @TableName = tablename
3943
+ @SnapshotName = snapshotname
3944
+ @SnapshotDeadTime = snapshotdeadtime
3945
+ end
3946
+
3947
+ def deserialize(params)
3948
+ @TableGroupId = params['TableGroupId']
3949
+ @TableName = params['TableName']
3950
+ @SnapshotName = params['SnapshotName']
3951
+ @SnapshotDeadTime = params['SnapshotDeadTime']
3952
+ end
3953
+ end
3954
+
3955
+ # 创建快照结果
3956
+ class SnapshotResult < TencentCloud::Common::AbstractModel
3957
+ # @param TableGroupId: 表格所属表格组ID
3958
+ # 注意:此字段可能返回 null,表示取不到有效值。
3959
+ # @type TableGroupId: String
3960
+ # @param TableName: 表格名称
3961
+ # 注意:此字段可能返回 null,表示取不到有效值。
3962
+ # @type TableName: String
3963
+ # @param TaskId: 任务ID,对于创建单任务的接口有效
3964
+ # 注意:此字段可能返回 null,表示取不到有效值。
3965
+ # @type TaskId: String
3966
+ # @param Error: 错误信息
3967
+ # 注意:此字段可能返回 null,表示取不到有效值。
3968
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
3969
+ # @param SnapshotName: 快照名称
3970
+ # 注意:此字段可能返回 null,表示取不到有效值。
3971
+ # @type SnapshotName: String
3972
+ # @param SnapshotTime: 快照的时间点
3973
+ # 注意:此字段可能返回 null,表示取不到有效值。
3974
+ # @type SnapshotTime: String
3975
+ # @param SnapshotDeadTime: 快照的过期时间点
3976
+ # 注意:此字段可能返回 null,表示取不到有效值。
3977
+ # @type SnapshotDeadTime: String
3978
+ # @param SnapshotCreateTime: 快照创建时间点
3979
+ # 注意:此字段可能返回 null,表示取不到有效值。
3980
+ # @type SnapshotCreateTime: String
3981
+ # @param SnapshotSize: 快照大小
3982
+ # 注意:此字段可能返回 null,表示取不到有效值。
3983
+ # @type SnapshotSize: Integer
3984
+ # @param SnapshotStatus: 快照状态,0 生成中 1 正常 2 删除中 3 已失效 4 回档使用中
3985
+ # 注意:此字段可能返回 null,表示取不到有效值。
3986
+ # @type SnapshotStatus: Integer
3987
+
3988
+ attr_accessor :TableGroupId, :TableName, :TaskId, :Error, :SnapshotName, :SnapshotTime, :SnapshotDeadTime, :SnapshotCreateTime, :SnapshotSize, :SnapshotStatus
3989
+
3990
+ def initialize(tablegroupid=nil, tablename=nil, taskid=nil, error=nil, snapshotname=nil, snapshottime=nil, snapshotdeadtime=nil, snapshotcreatetime=nil, snapshotsize=nil, snapshotstatus=nil)
3991
+ @TableGroupId = tablegroupid
3992
+ @TableName = tablename
3993
+ @TaskId = taskid
3994
+ @Error = error
3995
+ @SnapshotName = snapshotname
3996
+ @SnapshotTime = snapshottime
3997
+ @SnapshotDeadTime = snapshotdeadtime
3998
+ @SnapshotCreateTime = snapshotcreatetime
3999
+ @SnapshotSize = snapshotsize
4000
+ @SnapshotStatus = snapshotstatus
4001
+ end
4002
+
4003
+ def deserialize(params)
4004
+ @TableGroupId = params['TableGroupId']
4005
+ @TableName = params['TableName']
4006
+ @TaskId = params['TaskId']
4007
+ unless params['Error'].nil?
4008
+ @Error = ErrorInfo.new
4009
+ @Error.deserialize(params['Error'])
4010
+ end
4011
+ @SnapshotName = params['SnapshotName']
4012
+ @SnapshotTime = params['SnapshotTime']
4013
+ @SnapshotDeadTime = params['SnapshotDeadTime']
4014
+ @SnapshotCreateTime = params['SnapshotCreateTime']
4015
+ @SnapshotSize = params['SnapshotSize']
4016
+ @SnapshotStatus = params['SnapshotStatus']
4017
+ end
4018
+ end
4019
+
4020
+ # 表格组详细信息
4021
+ class TableGroupInfo < TencentCloud::Common::AbstractModel
4022
+ # @param TableGroupId: 表格组ID
4023
+ # @type TableGroupId: String
4024
+ # @param TableGroupName: 表格组名称
4025
+ # @type TableGroupName: String
4026
+ # @param CreatedTime: 表格组创建时间
4027
+ # @type CreatedTime: String
4028
+ # @param TableCount: 表格组包含的表格数量
4029
+ # @type TableCount: Integer
4030
+ # @param TotalSize: 表格组包含的表格存储总量(MB)
4031
+ # @type TotalSize: Integer
4032
+
4033
+ attr_accessor :TableGroupId, :TableGroupName, :CreatedTime, :TableCount, :TotalSize
4034
+
4035
+ def initialize(tablegroupid=nil, tablegroupname=nil, createdtime=nil, tablecount=nil, totalsize=nil)
4036
+ @TableGroupId = tablegroupid
4037
+ @TableGroupName = tablegroupname
4038
+ @CreatedTime = createdtime
4039
+ @TableCount = tablecount
4040
+ @TotalSize = totalsize
4041
+ end
4042
+
4043
+ def deserialize(params)
4044
+ @TableGroupId = params['TableGroupId']
4045
+ @TableGroupName = params['TableGroupName']
4046
+ @CreatedTime = params['CreatedTime']
4047
+ @TableCount = params['TableCount']
4048
+ @TotalSize = params['TotalSize']
4049
+ end
4050
+ end
4051
+
4052
+ # 表格详情信息
4053
+ class TableInfoNew < TencentCloud::Common::AbstractModel
4054
+ # @param TableName: 表格名称
4055
+ # 注意:此字段可能返回 null,表示取不到有效值。
4056
+ # @type TableName: String
4057
+ # @param TableInstanceId: 表格实例ID
4058
+ # 注意:此字段可能返回 null,表示取不到有效值。
4059
+ # @type TableInstanceId: String
4060
+ # @param TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
4061
+ # 注意:此字段可能返回 null,表示取不到有效值。
4062
+ # @type TableType: String
4063
+ # @param TableIdlType: 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
4064
+ # 注意:此字段可能返回 null,表示取不到有效值。
4065
+ # @type TableIdlType: String
4066
+ # @param ClusterId: 表格所属集群ID
4067
+ # 注意:此字段可能返回 null,表示取不到有效值。
4068
+ # @type ClusterId: String
4069
+ # @param ClusterName: 表格所属集群名称
4070
+ # 注意:此字段可能返回 null,表示取不到有效值。
4071
+ # @type ClusterName: String
4072
+ # @param TableGroupId: 表格所属表格组ID
4073
+ # 注意:此字段可能返回 null,表示取不到有效值。
4074
+ # @type TableGroupId: String
4075
+ # @param TableGroupName: 表格所属表格组名称
4076
+ # 注意:此字段可能返回 null,表示取不到有效值。
4077
+ # @type TableGroupName: String
4078
+ # @param KeyStruct: 表格主键字段结构json字符串
4079
+ # 注意:此字段可能返回 null,表示取不到有效值。
4080
+ # @type KeyStruct: String
4081
+ # @param ValueStruct: 表格非主键字段结构json字符串
4082
+ # 注意:此字段可能返回 null,表示取不到有效值。
4083
+ # @type ValueStruct: String
4084
+ # @param ShardingKeySet: 表格分表因子集合,对PROTO类型表格有效
4085
+ # 注意:此字段可能返回 null,表示取不到有效值。
4086
+ # @type ShardingKeySet: String
4087
+ # @param IndexStruct: 表格索引键字段集合,对PROTO类型表格有效
4088
+ # 注意:此字段可能返回 null,表示取不到有效值。
4089
+ # @type IndexStruct: String
4090
+ # @param ListElementNum: LIST类型表格元素个数
4091
+ # 注意:此字段可能返回 null,表示取不到有效值。
4092
+ # @type ListElementNum: Integer
4093
+ # @param IdlFiles: 表格所关联IDL文件信息列表
4094
+ # 注意:此字段可能返回 null,表示取不到有效值。
4095
+ # @type IdlFiles: Array
4096
+ # @param ReservedVolume: 表格预留容量(GB)
4097
+ # 注意:此字段可能返回 null,表示取不到有效值。
4098
+ # @type ReservedVolume: Integer
4099
+ # @param ReservedReadQps: 表格预留读CU
4100
+ # 注意:此字段可能返回 null,表示取不到有效值。
4101
+ # @type ReservedReadQps: Integer
4102
+ # @param ReservedWriteQps: 表格预留写CU
4103
+ # 注意:此字段可能返回 null,表示取不到有效值。
4104
+ # @type ReservedWriteQps: Integer
4105
+ # @param TableSize: 表格实际数据量大小(MB)
4106
+ # 注意:此字段可能返回 null,表示取不到有效值。
4107
+ # @type TableSize: Integer
4108
+ # @param Status: 表格状态
4109
+ # 注意:此字段可能返回 null,表示取不到有效值。
4110
+ # @type Status: String
4111
+ # @param CreatedTime: 表格创建时间
4112
+ # 注意:此字段可能返回 null,表示取不到有效值。
4113
+ # @type CreatedTime: String
4114
+ # @param UpdatedTime: 表格最后一次修改时间
4115
+ # 注意:此字段可能返回 null,表示取不到有效值。
4116
+ # @type UpdatedTime: String
4117
+ # @param Memo: 表格备注信息
4118
+ # 注意:此字段可能返回 null,表示取不到有效值。
4119
+ # @type Memo: String
4120
+ # @param Error: 错误信息
4121
+ # 注意:此字段可能返回 null,表示取不到有效值。
4122
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4123
+ # @param ApiAccessId: TcaplusDB SDK数据访问接入ID
4124
+ # 注意:此字段可能返回 null,表示取不到有效值。
4125
+ # @type ApiAccessId: String
4126
+ # @param SortFieldNum: SORTLIST类型表格排序字段个数
4127
+ # 注意:此字段可能返回 null,表示取不到有效值。
4128
+ # @type SortFieldNum: Integer
4129
+ # @param SortRule: SORTLIST类型表格排序顺序
4130
+ # 注意:此字段可能返回 null,表示取不到有效值。
4131
+ # @type SortRule: Integer
4132
+ # @param DbClusterInfoStruct: 表格分布式索引/缓写、kafka数据订阅信息
4133
+ # 注意:此字段可能返回 null,表示取不到有效值。
4134
+ # @type DbClusterInfoStruct: String
4135
+
4136
+ attr_accessor :TableName, :TableInstanceId, :TableType, :TableIdlType, :ClusterId, :ClusterName, :TableGroupId, :TableGroupName, :KeyStruct, :ValueStruct, :ShardingKeySet, :IndexStruct, :ListElementNum, :IdlFiles, :ReservedVolume, :ReservedReadQps, :ReservedWriteQps, :TableSize, :Status, :CreatedTime, :UpdatedTime, :Memo, :Error, :ApiAccessId, :SortFieldNum, :SortRule, :DbClusterInfoStruct
4137
+
4138
+ def initialize(tablename=nil, tableinstanceid=nil, tabletype=nil, tableidltype=nil, clusterid=nil, clustername=nil, tablegroupid=nil, tablegroupname=nil, keystruct=nil, valuestruct=nil, shardingkeyset=nil, indexstruct=nil, listelementnum=nil, idlfiles=nil, reservedvolume=nil, reservedreadqps=nil, reservedwriteqps=nil, tablesize=nil, status=nil, createdtime=nil, updatedtime=nil, memo=nil, error=nil, apiaccessid=nil, sortfieldnum=nil, sortrule=nil, dbclusterinfostruct=nil)
4139
+ @TableName = tablename
4140
+ @TableInstanceId = tableinstanceid
4141
+ @TableType = tabletype
4142
+ @TableIdlType = tableidltype
4143
+ @ClusterId = clusterid
4144
+ @ClusterName = clustername
4145
+ @TableGroupId = tablegroupid
4146
+ @TableGroupName = tablegroupname
4147
+ @KeyStruct = keystruct
4148
+ @ValueStruct = valuestruct
4149
+ @ShardingKeySet = shardingkeyset
4150
+ @IndexStruct = indexstruct
4151
+ @ListElementNum = listelementnum
4152
+ @IdlFiles = idlfiles
4153
+ @ReservedVolume = reservedvolume
4154
+ @ReservedReadQps = reservedreadqps
4155
+ @ReservedWriteQps = reservedwriteqps
4156
+ @TableSize = tablesize
4157
+ @Status = status
4158
+ @CreatedTime = createdtime
4159
+ @UpdatedTime = updatedtime
4160
+ @Memo = memo
4161
+ @Error = error
4162
+ @ApiAccessId = apiaccessid
4163
+ @SortFieldNum = sortfieldnum
4164
+ @SortRule = sortrule
4165
+ @DbClusterInfoStruct = dbclusterinfostruct
4166
+ end
4167
+
4168
+ def deserialize(params)
4169
+ @TableName = params['TableName']
4170
+ @TableInstanceId = params['TableInstanceId']
4171
+ @TableType = params['TableType']
4172
+ @TableIdlType = params['TableIdlType']
4173
+ @ClusterId = params['ClusterId']
4174
+ @ClusterName = params['ClusterName']
4175
+ @TableGroupId = params['TableGroupId']
4176
+ @TableGroupName = params['TableGroupName']
4177
+ @KeyStruct = params['KeyStruct']
4178
+ @ValueStruct = params['ValueStruct']
4179
+ @ShardingKeySet = params['ShardingKeySet']
4180
+ @IndexStruct = params['IndexStruct']
4181
+ @ListElementNum = params['ListElementNum']
4182
+ unless params['IdlFiles'].nil?
4183
+ @IdlFiles = []
4184
+ params['IdlFiles'].each do |i|
4185
+ idlfileinfo_tmp = IdlFileInfo.new
4186
+ idlfileinfo_tmp.deserialize(i)
4187
+ @IdlFiles << idlfileinfo_tmp
4188
+ end
4189
+ end
4190
+ @ReservedVolume = params['ReservedVolume']
4191
+ @ReservedReadQps = params['ReservedReadQps']
4192
+ @ReservedWriteQps = params['ReservedWriteQps']
4193
+ @TableSize = params['TableSize']
4194
+ @Status = params['Status']
4195
+ @CreatedTime = params['CreatedTime']
4196
+ @UpdatedTime = params['UpdatedTime']
4197
+ @Memo = params['Memo']
4198
+ unless params['Error'].nil?
4199
+ @Error = ErrorInfo.new
4200
+ @Error.deserialize(params['Error'])
4201
+ end
4202
+ @ApiAccessId = params['ApiAccessId']
4203
+ @SortFieldNum = params['SortFieldNum']
4204
+ @SortRule = params['SortRule']
4205
+ @DbClusterInfoStruct = params['DbClusterInfoStruct']
4206
+ end
4207
+ end
4208
+
4209
+ # 表处理结果信息
4210
+ class TableResultNew < TencentCloud::Common::AbstractModel
4211
+ # @param TableInstanceId: 表格实例ID,形如:tcaplus-3be64cbb
4212
+ # 注意:此字段可能返回 null,表示取不到有效值。
4213
+ # @type TableInstanceId: String
4214
+ # @param TaskId: 任务ID,对于创建单任务的接口有效
4215
+ # 注意:此字段可能返回 null,表示取不到有效值。
4216
+ # @type TaskId: String
4217
+ # @param TableName: 表格名称
4218
+ # 注意:此字段可能返回 null,表示取不到有效值。
4219
+ # @type TableName: String
4220
+ # @param TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
4221
+ # 注意:此字段可能返回 null,表示取不到有效值。
4222
+ # @type TableType: String
4223
+ # @param TableIdlType: 表数据描述语言(IDL)类型,如:`PROTO`或`TDR`
4224
+ # 注意:此字段可能返回 null,表示取不到有效值。
4225
+ # @type TableIdlType: String
4226
+ # @param TableGroupId: 表格所属表格组ID
4227
+ # 注意:此字段可能返回 null,表示取不到有效值。
4228
+ # @type TableGroupId: String
4229
+ # @param Error: 错误信息
4230
+ # 注意:此字段可能返回 null,表示取不到有效值。
4231
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4232
+ # @param TaskIds: 任务ID列表,对于创建多任务的接口有效
4233
+ # 注意:此字段可能返回 null,表示取不到有效值。
4234
+ # @type TaskIds: Array
4235
+ # @param ApplicationId: 腾讯云申请审核单Id
4236
+ # 注意:此字段可能返回 null,表示取不到有效值。
4237
+ # @type ApplicationId: String
4238
+
4239
+ attr_accessor :TableInstanceId, :TaskId, :TableName, :TableType, :TableIdlType, :TableGroupId, :Error, :TaskIds, :ApplicationId
4240
+
4241
+ def initialize(tableinstanceid=nil, taskid=nil, tablename=nil, tabletype=nil, tableidltype=nil, tablegroupid=nil, error=nil, taskids=nil, applicationid=nil)
4242
+ @TableInstanceId = tableinstanceid
4243
+ @TaskId = taskid
4244
+ @TableName = tablename
4245
+ @TableType = tabletype
4246
+ @TableIdlType = tableidltype
4247
+ @TableGroupId = tablegroupid
4248
+ @Error = error
4249
+ @TaskIds = taskids
4250
+ @ApplicationId = applicationid
4251
+ end
4252
+
4253
+ def deserialize(params)
4254
+ @TableInstanceId = params['TableInstanceId']
4255
+ @TaskId = params['TaskId']
4256
+ @TableName = params['TableName']
4257
+ @TableType = params['TableType']
4258
+ @TableIdlType = params['TableIdlType']
4259
+ @TableGroupId = params['TableGroupId']
4260
+ unless params['Error'].nil?
4261
+ @Error = ErrorInfo.new
4262
+ @Error.deserialize(params['Error'])
4263
+ end
4264
+ @TaskIds = params['TaskIds']
4265
+ @ApplicationId = params['ApplicationId']
4266
+ end
4267
+ end
4268
+
4269
+ # 表格回档结果信息
4270
+ class TableRollbackResultNew < TencentCloud::Common::AbstractModel
4271
+ # @param TableInstanceId: 表格实例ID,形如:tcaplus-3be64cbb
4272
+ # 注意:此字段可能返回 null,表示取不到有效值。
4273
+ # @type TableInstanceId: String
4274
+ # @param TaskId: 任务ID,对于创建单任务的接口有效
4275
+ # 注意:此字段可能返回 null,表示取不到有效值。
4276
+ # @type TaskId: String
4277
+ # @param TableName: 表格名称
4278
+ # 注意:此字段可能返回 null,表示取不到有效值。
4279
+ # @type TableName: String
4280
+ # @param TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
4281
+ # 注意:此字段可能返回 null,表示取不到有效值。
4282
+ # @type TableType: String
4283
+ # @param TableIdlType: 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
4284
+ # 注意:此字段可能返回 null,表示取不到有效值。
4285
+ # @type TableIdlType: String
4286
+ # @param TableGroupId: 表格所属表格组ID
4287
+ # 注意:此字段可能返回 null,表示取不到有效值。
4288
+ # @type TableGroupId: String
4289
+ # @param Error: 错误信息
4290
+ # 注意:此字段可能返回 null,表示取不到有效值。
4291
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4292
+ # @param TaskIds: 任务ID列表,对于创建多任务的接口有效
4293
+ # 注意:此字段可能返回 null,表示取不到有效值。
4294
+ # @type TaskIds: Array
4295
+ # @param FileId: 上传的key文件ID
4296
+ # 注意:此字段可能返回 null,表示取不到有效值。
4297
+ # @type FileId: String
4298
+ # @param SuccKeyNum: 校验成功Key数量
4299
+ # 注意:此字段可能返回 null,表示取不到有效值。
4300
+ # @type SuccKeyNum: Integer
4301
+ # @param TotalKeyNum: Key文件中包含总的Key数量
4302
+ # 注意:此字段可能返回 null,表示取不到有效值。
4303
+ # @type TotalKeyNum: Integer
4304
+
4305
+ attr_accessor :TableInstanceId, :TaskId, :TableName, :TableType, :TableIdlType, :TableGroupId, :Error, :TaskIds, :FileId, :SuccKeyNum, :TotalKeyNum
4306
+
4307
+ def initialize(tableinstanceid=nil, taskid=nil, tablename=nil, tabletype=nil, tableidltype=nil, tablegroupid=nil, error=nil, taskids=nil, fileid=nil, succkeynum=nil, totalkeynum=nil)
4308
+ @TableInstanceId = tableinstanceid
4309
+ @TaskId = taskid
4310
+ @TableName = tablename
4311
+ @TableType = tabletype
4312
+ @TableIdlType = tableidltype
4313
+ @TableGroupId = tablegroupid
4314
+ @Error = error
4315
+ @TaskIds = taskids
4316
+ @FileId = fileid
4317
+ @SuccKeyNum = succkeynum
4318
+ @TotalKeyNum = totalkeynum
4319
+ end
4320
+
4321
+ def deserialize(params)
4322
+ @TableInstanceId = params['TableInstanceId']
4323
+ @TaskId = params['TaskId']
4324
+ @TableName = params['TableName']
4325
+ @TableType = params['TableType']
4326
+ @TableIdlType = params['TableIdlType']
4327
+ @TableGroupId = params['TableGroupId']
4328
+ unless params['Error'].nil?
4329
+ @Error = ErrorInfo.new
4330
+ @Error.deserialize(params['Error'])
4331
+ end
4332
+ @TaskIds = params['TaskIds']
4333
+ @FileId = params['FileId']
4334
+ @SuccKeyNum = params['SuccKeyNum']
4335
+ @TotalKeyNum = params['TotalKeyNum']
4336
+ end
4337
+ end
4338
+
4339
+ # 标签信息单元
4340
+ class TagInfoUnit < TencentCloud::Common::AbstractModel
4341
+ # @param TagKey: 标签键
4342
+ # @type TagKey: String
4343
+ # @param TagValue: 标签值
4344
+ # 注意:此字段可能返回 null,表示取不到有效值。
4345
+ # @type TagValue: String
4346
+
4347
+ attr_accessor :TagKey, :TagValue
4348
+
4349
+ def initialize(tagkey=nil, tagvalue=nil)
4350
+ @TagKey = tagkey
4351
+ @TagValue = tagvalue
4352
+ end
4353
+
4354
+ def deserialize(params)
4355
+ @TagKey = params['TagKey']
4356
+ @TagValue = params['TagValue']
4357
+ end
4358
+ end
4359
+
4360
+ # 集群的标签信息
4361
+ class TagsInfoOfCluster < TencentCloud::Common::AbstractModel
4362
+ # @param ClusterId: 集群ID
4363
+ # 注意:此字段可能返回 null,表示取不到有效值。
4364
+ # @type ClusterId: String
4365
+ # @param Tags: 标签信息
4366
+ # 注意:此字段可能返回 null,表示取不到有效值。
4367
+ # @type Tags: Array
4368
+ # @param Error: 错误信息
4369
+ # 注意:此字段可能返回 null,表示取不到有效值。
4370
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4371
+
4372
+ attr_accessor :ClusterId, :Tags, :Error
4373
+
4374
+ def initialize(clusterid=nil, tags=nil, error=nil)
4375
+ @ClusterId = clusterid
4376
+ @Tags = tags
4377
+ @Error = error
4378
+ end
4379
+
4380
+ def deserialize(params)
4381
+ @ClusterId = params['ClusterId']
4382
+ unless params['Tags'].nil?
4383
+ @Tags = []
4384
+ params['Tags'].each do |i|
4385
+ taginfounit_tmp = TagInfoUnit.new
4386
+ taginfounit_tmp.deserialize(i)
4387
+ @Tags << taginfounit_tmp
4388
+ end
4389
+ end
4390
+ unless params['Error'].nil?
4391
+ @Error = ErrorInfo.new
4392
+ @Error.deserialize(params['Error'])
4393
+ end
4394
+ end
4395
+ end
4396
+
4397
+ # 表格标签信息
4398
+ class TagsInfoOfTable < TencentCloud::Common::AbstractModel
4399
+ # @param TableInstanceId: 表格实例ID
4400
+ # 注意:此字段可能返回 null,表示取不到有效值。
4401
+ # @type TableInstanceId: String
4402
+ # @param TableName: 表格名称
4403
+ # 注意:此字段可能返回 null,表示取不到有效值。
4404
+ # @type TableName: String
4405
+ # @param TableGroupId: 表格组ID
4406
+ # 注意:此字段可能返回 null,表示取不到有效值。
4407
+ # @type TableGroupId: String
4408
+ # @param Tags: 标签信息
4409
+ # 注意:此字段可能返回 null,表示取不到有效值。
4410
+ # @type Tags: Array
4411
+ # @param Error: 错误信息
4412
+ # 注意:此字段可能返回 null,表示取不到有效值。
4413
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4414
+
4415
+ attr_accessor :TableInstanceId, :TableName, :TableGroupId, :Tags, :Error
4416
+
4417
+ def initialize(tableinstanceid=nil, tablename=nil, tablegroupid=nil, tags=nil, error=nil)
4418
+ @TableInstanceId = tableinstanceid
4419
+ @TableName = tablename
4420
+ @TableGroupId = tablegroupid
4421
+ @Tags = tags
4422
+ @Error = error
4423
+ end
4424
+
4425
+ def deserialize(params)
4426
+ @TableInstanceId = params['TableInstanceId']
4427
+ @TableName = params['TableName']
4428
+ @TableGroupId = params['TableGroupId']
4429
+ unless params['Tags'].nil?
4430
+ @Tags = []
4431
+ params['Tags'].each do |i|
4432
+ taginfounit_tmp = TagInfoUnit.new
4433
+ taginfounit_tmp.deserialize(i)
4434
+ @Tags << taginfounit_tmp
4435
+ end
4436
+ end
4437
+ unless params['Error'].nil?
4438
+ @Error = ErrorInfo.new
4439
+ @Error.deserialize(params['Error'])
4440
+ end
4441
+ end
4442
+ end
4443
+
4444
+ # 表格组标签信息
4445
+ class TagsInfoOfTableGroup < TencentCloud::Common::AbstractModel
4446
+ # @param ClusterId: 集群ID
4447
+ # 注意:此字段可能返回 null,表示取不到有效值。
4448
+ # @type ClusterId: String
4449
+ # @param TableGroupId: 表格组ID
4450
+ # 注意:此字段可能返回 null,表示取不到有效值。
4451
+ # @type TableGroupId: String
4452
+ # @param Tags: 标签信息
4453
+ # 注意:此字段可能返回 null,表示取不到有效值。
4454
+ # @type Tags: Array
4455
+ # @param Error: 错误信息
4456
+ # 注意:此字段可能返回 null,表示取不到有效值。
4457
+ # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4458
+
4459
+ attr_accessor :ClusterId, :TableGroupId, :Tags, :Error
4460
+
4461
+ def initialize(clusterid=nil, tablegroupid=nil, tags=nil, error=nil)
4462
+ @ClusterId = clusterid
4463
+ @TableGroupId = tablegroupid
4464
+ @Tags = tags
4465
+ @Error = error
4466
+ end
4467
+
4468
+ def deserialize(params)
4469
+ @ClusterId = params['ClusterId']
4470
+ @TableGroupId = params['TableGroupId']
4471
+ unless params['Tags'].nil?
4472
+ @Tags = []
4473
+ params['Tags'].each do |i|
4474
+ taginfounit_tmp = TagInfoUnit.new
4475
+ taginfounit_tmp.deserialize(i)
4476
+ @Tags << taginfounit_tmp
4477
+ end
4478
+ end
4479
+ unless params['Error'].nil?
4480
+ @Error = ErrorInfo.new
4481
+ @Error.deserialize(params['Error'])
4482
+ end
4483
+ end
4484
+ end
4485
+
4486
+ # 任务信息详情
4487
+ class TaskInfoNew < TencentCloud::Common::AbstractModel
4488
+ # @param TaskId: 任务ID
4489
+ # @type TaskId: String
4490
+ # @param TaskType: 任务类型
4491
+ # @type TaskType: String
4492
+ # @param TransId: 任务所关联的TcaplusDB内部事务ID
4493
+ # @type TransId: String
4494
+ # @param ClusterId: 任务所属集群ID
4495
+ # @type ClusterId: String
4496
+ # @param ClusterName: 任务所属集群名称
4497
+ # @type ClusterName: String
4498
+ # @param Progress: 任务进度
4499
+ # @type Progress: Integer
4500
+ # @param StartTime: 任务创建时间
4501
+ # @type StartTime: String
4502
+ # @param UpdateTime: 任务最后更新时间
4503
+ # @type UpdateTime: String
4504
+ # @param Operator: 操作者
4505
+ # @type Operator: String
4506
+ # @param Content: 任务详情
4507
+ # @type Content: String
4508
+
4509
+ attr_accessor :TaskId, :TaskType, :TransId, :ClusterId, :ClusterName, :Progress, :StartTime, :UpdateTime, :Operator, :Content
4510
+
4511
+ def initialize(taskid=nil, tasktype=nil, transid=nil, clusterid=nil, clustername=nil, progress=nil, starttime=nil, updatetime=nil, operator=nil, content=nil)
4512
+ @TaskId = taskid
4513
+ @TaskType = tasktype
4514
+ @TransId = transid
4515
+ @ClusterId = clusterid
4516
+ @ClusterName = clustername
4517
+ @Progress = progress
4518
+ @StartTime = starttime
4519
+ @UpdateTime = updatetime
4520
+ @Operator = operator
4521
+ @Content = content
4522
+ end
4523
+
4524
+ def deserialize(params)
4525
+ @TaskId = params['TaskId']
4526
+ @TaskType = params['TaskType']
4527
+ @TransId = params['TransId']
4528
+ @ClusterId = params['ClusterId']
4529
+ @ClusterName = params['ClusterName']
4530
+ @Progress = params['Progress']
4531
+ @StartTime = params['StartTime']
4532
+ @UpdateTime = params['UpdateTime']
4533
+ @Operator = params['Operator']
4534
+ @Content = params['Content']
4535
+ end
4536
+ end
4537
+
4538
+ # UpdateApply请求参数结构体
4539
+ class UpdateApplyRequest < TencentCloud::Common::AbstractModel
4540
+ # @param ApplyStatus: 申请单状态
4541
+ # @type ApplyStatus: Array
4542
+
4543
+ attr_accessor :ApplyStatus
4544
+
4545
+ def initialize(applystatus=nil)
4546
+ @ApplyStatus = applystatus
4547
+ end
4548
+
4549
+ def deserialize(params)
4550
+ unless params['ApplyStatus'].nil?
4551
+ @ApplyStatus = []
4552
+ params['ApplyStatus'].each do |i|
4553
+ applystatus_tmp = ApplyStatus.new
4554
+ applystatus_tmp.deserialize(i)
4555
+ @ApplyStatus << applystatus_tmp
4556
+ end
4557
+ end
4558
+ end
4559
+ end
4560
+
4561
+ # UpdateApply返回参数结构体
4562
+ class UpdateApplyResponse < TencentCloud::Common::AbstractModel
4563
+ # @param ApplyResults: 已更新的申请单列表
4564
+ # 注意:此字段可能返回 null,表示取不到有效值。
4565
+ # @type ApplyResults: Array
4566
+ # @param TotalCount: 更新数量
4567
+ # @type TotalCount: Integer
4568
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4569
+ # @type RequestId: String
4570
+
4571
+ attr_accessor :ApplyResults, :TotalCount, :RequestId
4572
+
4573
+ def initialize(applyresults=nil, totalcount=nil, requestid=nil)
4574
+ @ApplyResults = applyresults
4575
+ @TotalCount = totalcount
4576
+ @RequestId = requestid
4577
+ end
4578
+
4579
+ def deserialize(params)
4580
+ unless params['ApplyResults'].nil?
4581
+ @ApplyResults = []
4582
+ params['ApplyResults'].each do |i|
4583
+ applyresult_tmp = ApplyResult.new
4584
+ applyresult_tmp.deserialize(i)
4585
+ @ApplyResults << applyresult_tmp
4586
+ end
4587
+ end
4588
+ @TotalCount = params['TotalCount']
4589
+ @RequestId = params['RequestId']
4590
+ end
4591
+ end
4592
+
4593
+ # VerifyIdlFiles请求参数结构体
4594
+ class VerifyIdlFilesRequest < TencentCloud::Common::AbstractModel
4595
+ # @param ClusterId: 待创建表格的集群ID
4596
+ # @type ClusterId: String
4597
+ # @param TableGroupId: 待创建表格的表格组ID
4598
+ # @type TableGroupId: String
4599
+ # @param ExistingIdlFiles: 曾经上传过的IDL文件信息列表,与NewIdlFiles至少有一者
4600
+ # @type ExistingIdlFiles: Array
4601
+ # @param NewIdlFiles: 待上传的IDL文件信息列表,与ExistingIdlFiles至少有一者
4602
+ # @type NewIdlFiles: Array
4603
+
4604
+ attr_accessor :ClusterId, :TableGroupId, :ExistingIdlFiles, :NewIdlFiles
4605
+
4606
+ def initialize(clusterid=nil, tablegroupid=nil, existingidlfiles=nil, newidlfiles=nil)
4607
+ @ClusterId = clusterid
4608
+ @TableGroupId = tablegroupid
4609
+ @ExistingIdlFiles = existingidlfiles
4610
+ @NewIdlFiles = newidlfiles
4611
+ end
4612
+
4613
+ def deserialize(params)
4614
+ @ClusterId = params['ClusterId']
4615
+ @TableGroupId = params['TableGroupId']
4616
+ unless params['ExistingIdlFiles'].nil?
4617
+ @ExistingIdlFiles = []
4618
+ params['ExistingIdlFiles'].each do |i|
4619
+ idlfileinfo_tmp = IdlFileInfo.new
4620
+ idlfileinfo_tmp.deserialize(i)
4621
+ @ExistingIdlFiles << idlfileinfo_tmp
4622
+ end
4623
+ end
4624
+ unless params['NewIdlFiles'].nil?
4625
+ @NewIdlFiles = []
4626
+ params['NewIdlFiles'].each do |i|
4627
+ idlfileinfo_tmp = IdlFileInfo.new
4628
+ idlfileinfo_tmp.deserialize(i)
4629
+ @NewIdlFiles << idlfileinfo_tmp
4630
+ end
4631
+ end
4632
+ end
4633
+ end
4634
+
4635
+ # VerifyIdlFiles返回参数结构体
4636
+ class VerifyIdlFilesResponse < TencentCloud::Common::AbstractModel
4637
+ # @param IdlFiles: 本次上传校验所有的IDL文件信息列表
4638
+ # @type IdlFiles: Array
4639
+ # @param TotalCount: 读取IDL描述文件后解析出的合法表数量,不包含已经创建的表
4640
+ # @type TotalCount: Integer
4641
+ # @param TableInfos: 读取IDL描述文件后解析出的合法表列表,不包含已经创建的表
4642
+ # @type TableInfos: Array
4643
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4644
+ # @type RequestId: String
4645
+
4646
+ attr_accessor :IdlFiles, :TotalCount, :TableInfos, :RequestId
4647
+
4648
+ def initialize(idlfiles=nil, totalcount=nil, tableinfos=nil, requestid=nil)
4649
+ @IdlFiles = idlfiles
4650
+ @TotalCount = totalcount
4651
+ @TableInfos = tableinfos
4652
+ @RequestId = requestid
4653
+ end
4654
+
4655
+ def deserialize(params)
4656
+ unless params['IdlFiles'].nil?
4657
+ @IdlFiles = []
4658
+ params['IdlFiles'].each do |i|
4659
+ idlfileinfo_tmp = IdlFileInfo.new
4660
+ idlfileinfo_tmp.deserialize(i)
4661
+ @IdlFiles << idlfileinfo_tmp
4662
+ end
4663
+ end
4664
+ @TotalCount = params['TotalCount']
4665
+ unless params['TableInfos'].nil?
4666
+ @TableInfos = []
4667
+ params['TableInfos'].each do |i|
4668
+ parsedtableinfonew_tmp = ParsedTableInfoNew.new
4669
+ parsedtableinfonew_tmp.deserialize(i)
4670
+ @TableInfos << parsedtableinfonew_tmp
4671
+ end
4672
+ end
4673
+ @RequestId = params['RequestId']
4674
+ end
4675
+ end
4676
+
4677
+ end
4678
+ end
4679
+ end
4680
+