tencentcloud-sdk-dlc 1.0.344 → 1.0.345
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +384 -0
- data/lib/v20210125/models.rb +1576 -35
- metadata +2 -2
data/lib/v20210125/models.rb
CHANGED
@@ -17,6 +17,60 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Dlc
|
19
19
|
module V20210125
|
20
|
+
# AddDMSPartitions请求参数结构体
|
21
|
+
class AddDMSPartitionsRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Partitions: 分区
|
23
|
+
# @type Partitions: Array
|
24
|
+
|
25
|
+
attr_accessor :Partitions
|
26
|
+
|
27
|
+
def initialize(partitions=nil)
|
28
|
+
@Partitions = partitions
|
29
|
+
end
|
30
|
+
|
31
|
+
def deserialize(params)
|
32
|
+
unless params['Partitions'].nil?
|
33
|
+
@Partitions = []
|
34
|
+
params['Partitions'].each do |i|
|
35
|
+
dmspartition_tmp = DMSPartition.new
|
36
|
+
dmspartition_tmp.deserialize(i)
|
37
|
+
@Partitions << dmspartition_tmp
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# AddDMSPartitions返回参数结构体
|
44
|
+
class AddDMSPartitionsResponse < TencentCloud::Common::AbstractModel
|
45
|
+
# @param Total: 成功数量
|
46
|
+
# @type Total: Integer
|
47
|
+
# @param Partitions: 分区值
|
48
|
+
# @type Partitions: Array
|
49
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
50
|
+
# @type RequestId: String
|
51
|
+
|
52
|
+
attr_accessor :Total, :Partitions, :RequestId
|
53
|
+
|
54
|
+
def initialize(total=nil, partitions=nil, requestid=nil)
|
55
|
+
@Total = total
|
56
|
+
@Partitions = partitions
|
57
|
+
@RequestId = requestid
|
58
|
+
end
|
59
|
+
|
60
|
+
def deserialize(params)
|
61
|
+
@Total = params['Total']
|
62
|
+
unless params['Partitions'].nil?
|
63
|
+
@Partitions = []
|
64
|
+
params['Partitions'].each do |i|
|
65
|
+
dmspartition_tmp = DMSPartition.new
|
66
|
+
dmspartition_tmp.deserialize(i)
|
67
|
+
@Partitions << dmspartition_tmp
|
68
|
+
end
|
69
|
+
end
|
70
|
+
@RequestId = params['RequestId']
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
20
74
|
# AddUsersToWorkGroup请求参数结构体
|
21
75
|
class AddUsersToWorkGroupRequest < TencentCloud::Common::AbstractModel
|
22
76
|
# @param AddInfo: 要操作的工作组和用户信息
|
@@ -52,6 +106,214 @@ module TencentCloud
|
|
52
106
|
end
|
53
107
|
end
|
54
108
|
|
109
|
+
# AlterDMSDatabase请求参数结构体
|
110
|
+
class AlterDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
111
|
+
|
112
|
+
|
113
|
+
def initialize()
|
114
|
+
end
|
115
|
+
|
116
|
+
def deserialize(params)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# AlterDMSDatabase返回参数结构体
|
121
|
+
class AlterDMSDatabaseResponse < TencentCloud::Common::AbstractModel
|
122
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
123
|
+
# @type RequestId: String
|
124
|
+
|
125
|
+
attr_accessor :RequestId
|
126
|
+
|
127
|
+
def initialize(requestid=nil)
|
128
|
+
@RequestId = requestid
|
129
|
+
end
|
130
|
+
|
131
|
+
def deserialize(params)
|
132
|
+
@RequestId = params['RequestId']
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# AlterDMSPartition请求参数结构体
|
137
|
+
class AlterDMSPartitionRequest < TencentCloud::Common::AbstractModel
|
138
|
+
# @param CurrentDbName: 当前名称,变更前db名称
|
139
|
+
# @type CurrentDbName: String
|
140
|
+
# @param CurrentTableName: 当前名称,变更前table名称
|
141
|
+
# @type CurrentTableName: String
|
142
|
+
# @param CurrentValues: 当前名称,变更前Part名称
|
143
|
+
# @type CurrentValues: String
|
144
|
+
# @param Partition: 分区
|
145
|
+
# @type Partition: :class:`Tencentcloud::Dlc.v20210125.models.DMSPartition`
|
146
|
+
|
147
|
+
attr_accessor :CurrentDbName, :CurrentTableName, :CurrentValues, :Partition
|
148
|
+
|
149
|
+
def initialize(currentdbname=nil, currenttablename=nil, currentvalues=nil, partition=nil)
|
150
|
+
@CurrentDbName = currentdbname
|
151
|
+
@CurrentTableName = currenttablename
|
152
|
+
@CurrentValues = currentvalues
|
153
|
+
@Partition = partition
|
154
|
+
end
|
155
|
+
|
156
|
+
def deserialize(params)
|
157
|
+
@CurrentDbName = params['CurrentDbName']
|
158
|
+
@CurrentTableName = params['CurrentTableName']
|
159
|
+
@CurrentValues = params['CurrentValues']
|
160
|
+
unless params['Partition'].nil?
|
161
|
+
@Partition = DMSPartition.new
|
162
|
+
@Partition.deserialize(params['Partition'])
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# AlterDMSPartition返回参数结构体
|
168
|
+
class AlterDMSPartitionResponse < TencentCloud::Common::AbstractModel
|
169
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
170
|
+
# @type RequestId: String
|
171
|
+
|
172
|
+
attr_accessor :RequestId
|
173
|
+
|
174
|
+
def initialize(requestid=nil)
|
175
|
+
@RequestId = requestid
|
176
|
+
end
|
177
|
+
|
178
|
+
def deserialize(params)
|
179
|
+
@RequestId = params['RequestId']
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# AlterDMSTable请求参数结构体
|
184
|
+
class AlterDMSTableRequest < TencentCloud::Common::AbstractModel
|
185
|
+
# @param CurrentName: 当前名称
|
186
|
+
# @type CurrentName: String
|
187
|
+
# @param CurrentDbName: 当前数据库名称
|
188
|
+
# @type CurrentDbName: String
|
189
|
+
# @param Asset: 基础对象
|
190
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
191
|
+
# @param Type: 表类型
|
192
|
+
# @type Type: String
|
193
|
+
# @param DbName: 数据库名称
|
194
|
+
# @type DbName: String
|
195
|
+
# @param StorageSize: 存储大小
|
196
|
+
# @type StorageSize: Integer
|
197
|
+
# @param RecordCount: 记录数量
|
198
|
+
# @type RecordCount: Integer
|
199
|
+
# @param LifeTime: 生命周期
|
200
|
+
# @type LifeTime: Integer
|
201
|
+
# @param DataUpdateTime: 数据更新时间
|
202
|
+
# @type DataUpdateTime: String
|
203
|
+
# @param StructUpdateTime: 结构更新时间
|
204
|
+
# @type StructUpdateTime: String
|
205
|
+
# @param LastAccessTime: 最后访问时间
|
206
|
+
# @type LastAccessTime: String
|
207
|
+
# @param Sds: 存储对象
|
208
|
+
# @type Sds: :class:`Tencentcloud::Dlc.v20210125.models.DMSSds`
|
209
|
+
# @param Columns: 列
|
210
|
+
# @type Columns: Array
|
211
|
+
# @param PartitionKeys: 分区键值
|
212
|
+
# @type PartitionKeys: Array
|
213
|
+
# @param ViewOriginalText: 视图文本
|
214
|
+
# @type ViewOriginalText: String
|
215
|
+
# @param ViewExpandedText: 视图文本
|
216
|
+
# @type ViewExpandedText: String
|
217
|
+
# @param Partitions: 分区
|
218
|
+
# @type Partitions: Array
|
219
|
+
|
220
|
+
attr_accessor :CurrentName, :CurrentDbName, :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions
|
221
|
+
|
222
|
+
def initialize(currentname=nil, currentdbname=nil, asset=nil, type=nil, dbname=nil, storagesize=nil, recordcount=nil, lifetime=nil, dataupdatetime=nil, structupdatetime=nil, lastaccesstime=nil, sds=nil, columns=nil, partitionkeys=nil, vieworiginaltext=nil, viewexpandedtext=nil, partitions=nil)
|
223
|
+
@CurrentName = currentname
|
224
|
+
@CurrentDbName = currentdbname
|
225
|
+
@Asset = asset
|
226
|
+
@Type = type
|
227
|
+
@DbName = dbname
|
228
|
+
@StorageSize = storagesize
|
229
|
+
@RecordCount = recordcount
|
230
|
+
@LifeTime = lifetime
|
231
|
+
@DataUpdateTime = dataupdatetime
|
232
|
+
@StructUpdateTime = structupdatetime
|
233
|
+
@LastAccessTime = lastaccesstime
|
234
|
+
@Sds = sds
|
235
|
+
@Columns = columns
|
236
|
+
@PartitionKeys = partitionkeys
|
237
|
+
@ViewOriginalText = vieworiginaltext
|
238
|
+
@ViewExpandedText = viewexpandedtext
|
239
|
+
@Partitions = partitions
|
240
|
+
end
|
241
|
+
|
242
|
+
def deserialize(params)
|
243
|
+
@CurrentName = params['CurrentName']
|
244
|
+
@CurrentDbName = params['CurrentDbName']
|
245
|
+
unless params['Asset'].nil?
|
246
|
+
@Asset = Asset.new
|
247
|
+
@Asset.deserialize(params['Asset'])
|
248
|
+
end
|
249
|
+
@Type = params['Type']
|
250
|
+
@DbName = params['DbName']
|
251
|
+
@StorageSize = params['StorageSize']
|
252
|
+
@RecordCount = params['RecordCount']
|
253
|
+
@LifeTime = params['LifeTime']
|
254
|
+
@DataUpdateTime = params['DataUpdateTime']
|
255
|
+
@StructUpdateTime = params['StructUpdateTime']
|
256
|
+
@LastAccessTime = params['LastAccessTime']
|
257
|
+
unless params['Sds'].nil?
|
258
|
+
@Sds = DMSSds.new
|
259
|
+
@Sds.deserialize(params['Sds'])
|
260
|
+
end
|
261
|
+
unless params['Columns'].nil?
|
262
|
+
@Columns = []
|
263
|
+
params['Columns'].each do |i|
|
264
|
+
dmscolumn_tmp = DMSColumn.new
|
265
|
+
dmscolumn_tmp.deserialize(i)
|
266
|
+
@Columns << dmscolumn_tmp
|
267
|
+
end
|
268
|
+
end
|
269
|
+
unless params['PartitionKeys'].nil?
|
270
|
+
@PartitionKeys = []
|
271
|
+
params['PartitionKeys'].each do |i|
|
272
|
+
dmscolumn_tmp = DMSColumn.new
|
273
|
+
dmscolumn_tmp.deserialize(i)
|
274
|
+
@PartitionKeys << dmscolumn_tmp
|
275
|
+
end
|
276
|
+
end
|
277
|
+
@ViewOriginalText = params['ViewOriginalText']
|
278
|
+
@ViewExpandedText = params['ViewExpandedText']
|
279
|
+
unless params['Partitions'].nil?
|
280
|
+
@Partitions = []
|
281
|
+
params['Partitions'].each do |i|
|
282
|
+
dmspartition_tmp = DMSPartition.new
|
283
|
+
dmspartition_tmp.deserialize(i)
|
284
|
+
@Partitions << dmspartition_tmp
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
# AlterDMSTable返回参数结构体
|
291
|
+
class AlterDMSTableResponse < TencentCloud::Common::AbstractModel
|
292
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
293
|
+
# @type RequestId: String
|
294
|
+
|
295
|
+
attr_accessor :RequestId
|
296
|
+
|
297
|
+
def initialize(requestid=nil)
|
298
|
+
@RequestId = requestid
|
299
|
+
end
|
300
|
+
|
301
|
+
def deserialize(params)
|
302
|
+
@RequestId = params['RequestId']
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
# 元数据基本对象
|
307
|
+
class Asset < TencentCloud::Common::AbstractModel
|
308
|
+
|
309
|
+
|
310
|
+
def initialize()
|
311
|
+
end
|
312
|
+
|
313
|
+
def deserialize(params)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
55
317
|
# AttachUserPolicy请求参数结构体
|
56
318
|
class AttachUserPolicyRequest < TencentCloud::Common::AbstractModel
|
57
319
|
# @param UserId: 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
|
@@ -262,6 +524,58 @@ module TencentCloud
|
|
262
524
|
end
|
263
525
|
end
|
264
526
|
|
527
|
+
# CheckLockMetaData请求参数结构体
|
528
|
+
class CheckLockMetaDataRequest < TencentCloud::Common::AbstractModel
|
529
|
+
# @param LockId: 锁ID
|
530
|
+
# @type LockId: Integer
|
531
|
+
# @param DatasourceConnectionName: 数据源名称
|
532
|
+
# @type DatasourceConnectionName: String
|
533
|
+
# @param TxnId: 事务ID
|
534
|
+
# @type TxnId: Integer
|
535
|
+
# @param ElapsedMs: 过期时间ms
|
536
|
+
# @type ElapsedMs: Integer
|
537
|
+
|
538
|
+
attr_accessor :LockId, :DatasourceConnectionName, :TxnId, :ElapsedMs
|
539
|
+
|
540
|
+
def initialize(lockid=nil, datasourceconnectionname=nil, txnid=nil, elapsedms=nil)
|
541
|
+
@LockId = lockid
|
542
|
+
@DatasourceConnectionName = datasourceconnectionname
|
543
|
+
@TxnId = txnid
|
544
|
+
@ElapsedMs = elapsedms
|
545
|
+
end
|
546
|
+
|
547
|
+
def deserialize(params)
|
548
|
+
@LockId = params['LockId']
|
549
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
550
|
+
@TxnId = params['TxnId']
|
551
|
+
@ElapsedMs = params['ElapsedMs']
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
# CheckLockMetaData返回参数结构体
|
556
|
+
class CheckLockMetaDataResponse < TencentCloud::Common::AbstractModel
|
557
|
+
# @param LockId: 锁ID
|
558
|
+
# @type LockId: Integer
|
559
|
+
# @param LockState: 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED
|
560
|
+
# @type LockState: String
|
561
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
562
|
+
# @type RequestId: String
|
563
|
+
|
564
|
+
attr_accessor :LockId, :LockState, :RequestId
|
565
|
+
|
566
|
+
def initialize(lockid=nil, lockstate=nil, requestid=nil)
|
567
|
+
@LockId = lockid
|
568
|
+
@LockState = lockstate
|
569
|
+
@RequestId = requestid
|
570
|
+
end
|
571
|
+
|
572
|
+
def deserialize(params)
|
573
|
+
@LockId = params['LockId']
|
574
|
+
@LockState = params['LockState']
|
575
|
+
@RequestId = params['RequestId']
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
265
579
|
# 数据表列信息。
|
266
580
|
class Column < TencentCloud::Common::AbstractModel
|
267
581
|
# @param Name: 列名称,不区分大小写,最大支持25个字符。
|
@@ -323,6 +637,157 @@ module TencentCloud
|
|
323
637
|
end
|
324
638
|
end
|
325
639
|
|
640
|
+
# CreateDMSDatabase请求参数结构体
|
641
|
+
class CreateDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
642
|
+
# @param Name: 数据库名称
|
643
|
+
# @type Name: String
|
644
|
+
|
645
|
+
attr_accessor :Name
|
646
|
+
|
647
|
+
def initialize(name=nil)
|
648
|
+
@Name = name
|
649
|
+
end
|
650
|
+
|
651
|
+
def deserialize(params)
|
652
|
+
@Name = params['Name']
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# CreateDMSDatabase返回参数结构体
|
657
|
+
class CreateDMSDatabaseResponse < TencentCloud::Common::AbstractModel
|
658
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
659
|
+
# @type RequestId: String
|
660
|
+
|
661
|
+
attr_accessor :RequestId
|
662
|
+
|
663
|
+
def initialize(requestid=nil)
|
664
|
+
@RequestId = requestid
|
665
|
+
end
|
666
|
+
|
667
|
+
def deserialize(params)
|
668
|
+
@RequestId = params['RequestId']
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# CreateDMSTable请求参数结构体
|
673
|
+
class CreateDMSTableRequest < TencentCloud::Common::AbstractModel
|
674
|
+
# @param Asset: 基础对象
|
675
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
676
|
+
# @param Type: 表类型
|
677
|
+
# @type Type: String
|
678
|
+
# @param DbName: 数据库名称
|
679
|
+
# @type DbName: String
|
680
|
+
# @param StorageSize: 存储大小
|
681
|
+
# @type StorageSize: Integer
|
682
|
+
# @param RecordCount: 记录数量
|
683
|
+
# @type RecordCount: Integer
|
684
|
+
# @param LifeTime: 生命周期
|
685
|
+
# @type LifeTime: Integer
|
686
|
+
# @param DataUpdateTime: 数据更新时间
|
687
|
+
# @type DataUpdateTime: String
|
688
|
+
# @param StructUpdateTime: 结构更新时间
|
689
|
+
# @type StructUpdateTime: String
|
690
|
+
# @param LastAccessTime: 最后访问时间
|
691
|
+
# @type LastAccessTime: String
|
692
|
+
# @param Sds: 存储对象
|
693
|
+
# @type Sds: :class:`Tencentcloud::Dlc.v20210125.models.DMSSds`
|
694
|
+
# @param Columns: 列
|
695
|
+
# @type Columns: Array
|
696
|
+
# @param PartitionKeys: 分区键值
|
697
|
+
# @type PartitionKeys: Array
|
698
|
+
# @param ViewOriginalText: 视图文本
|
699
|
+
# @type ViewOriginalText: String
|
700
|
+
# @param ViewExpandedText: 视图文本
|
701
|
+
# @type ViewExpandedText: String
|
702
|
+
# @param Partitions: 分区
|
703
|
+
# @type Partitions: Array
|
704
|
+
# @param Name: 表名称
|
705
|
+
# @type Name: String
|
706
|
+
|
707
|
+
attr_accessor :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions, :Name
|
708
|
+
|
709
|
+
def initialize(asset=nil, type=nil, dbname=nil, storagesize=nil, recordcount=nil, lifetime=nil, dataupdatetime=nil, structupdatetime=nil, lastaccesstime=nil, sds=nil, columns=nil, partitionkeys=nil, vieworiginaltext=nil, viewexpandedtext=nil, partitions=nil, name=nil)
|
710
|
+
@Asset = asset
|
711
|
+
@Type = type
|
712
|
+
@DbName = dbname
|
713
|
+
@StorageSize = storagesize
|
714
|
+
@RecordCount = recordcount
|
715
|
+
@LifeTime = lifetime
|
716
|
+
@DataUpdateTime = dataupdatetime
|
717
|
+
@StructUpdateTime = structupdatetime
|
718
|
+
@LastAccessTime = lastaccesstime
|
719
|
+
@Sds = sds
|
720
|
+
@Columns = columns
|
721
|
+
@PartitionKeys = partitionkeys
|
722
|
+
@ViewOriginalText = vieworiginaltext
|
723
|
+
@ViewExpandedText = viewexpandedtext
|
724
|
+
@Partitions = partitions
|
725
|
+
@Name = name
|
726
|
+
end
|
727
|
+
|
728
|
+
def deserialize(params)
|
729
|
+
unless params['Asset'].nil?
|
730
|
+
@Asset = Asset.new
|
731
|
+
@Asset.deserialize(params['Asset'])
|
732
|
+
end
|
733
|
+
@Type = params['Type']
|
734
|
+
@DbName = params['DbName']
|
735
|
+
@StorageSize = params['StorageSize']
|
736
|
+
@RecordCount = params['RecordCount']
|
737
|
+
@LifeTime = params['LifeTime']
|
738
|
+
@DataUpdateTime = params['DataUpdateTime']
|
739
|
+
@StructUpdateTime = params['StructUpdateTime']
|
740
|
+
@LastAccessTime = params['LastAccessTime']
|
741
|
+
unless params['Sds'].nil?
|
742
|
+
@Sds = DMSSds.new
|
743
|
+
@Sds.deserialize(params['Sds'])
|
744
|
+
end
|
745
|
+
unless params['Columns'].nil?
|
746
|
+
@Columns = []
|
747
|
+
params['Columns'].each do |i|
|
748
|
+
dmscolumn_tmp = DMSColumn.new
|
749
|
+
dmscolumn_tmp.deserialize(i)
|
750
|
+
@Columns << dmscolumn_tmp
|
751
|
+
end
|
752
|
+
end
|
753
|
+
unless params['PartitionKeys'].nil?
|
754
|
+
@PartitionKeys = []
|
755
|
+
params['PartitionKeys'].each do |i|
|
756
|
+
dmscolumn_tmp = DMSColumn.new
|
757
|
+
dmscolumn_tmp.deserialize(i)
|
758
|
+
@PartitionKeys << dmscolumn_tmp
|
759
|
+
end
|
760
|
+
end
|
761
|
+
@ViewOriginalText = params['ViewOriginalText']
|
762
|
+
@ViewExpandedText = params['ViewExpandedText']
|
763
|
+
unless params['Partitions'].nil?
|
764
|
+
@Partitions = []
|
765
|
+
params['Partitions'].each do |i|
|
766
|
+
dmspartition_tmp = DMSPartition.new
|
767
|
+
dmspartition_tmp.deserialize(i)
|
768
|
+
@Partitions << dmspartition_tmp
|
769
|
+
end
|
770
|
+
end
|
771
|
+
@Name = params['Name']
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
# CreateDMSTable返回参数结构体
|
776
|
+
class CreateDMSTableResponse < TencentCloud::Common::AbstractModel
|
777
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
778
|
+
# @type RequestId: String
|
779
|
+
|
780
|
+
attr_accessor :RequestId
|
781
|
+
|
782
|
+
def initialize(requestid=nil)
|
783
|
+
@RequestId = requestid
|
784
|
+
end
|
785
|
+
|
786
|
+
def deserialize(params)
|
787
|
+
@RequestId = params['RequestId']
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
326
791
|
# CreateDatabase请求参数结构体
|
327
792
|
class CreateDatabaseRequest < TencentCloud::Common::AbstractModel
|
328
793
|
# @param DatabaseInfo: 数据库基础信息
|
@@ -1039,27 +1504,446 @@ module TencentCloud
|
|
1039
1504
|
end
|
1040
1505
|
end
|
1041
1506
|
|
1042
|
-
#
|
1043
|
-
class
|
1044
|
-
# @param
|
1507
|
+
# 迁移列对象
|
1508
|
+
class DMSColumn < TencentCloud::Common::AbstractModel
|
1509
|
+
# @param Name: 名称
|
1045
1510
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1046
|
-
# @type
|
1047
|
-
# @param
|
1511
|
+
# @type Name: String
|
1512
|
+
# @param Description: 描述
|
1048
1513
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1049
|
-
# @type
|
1050
|
-
# @param
|
1514
|
+
# @type Description: String
|
1515
|
+
# @param Type: 类型
|
1051
1516
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1052
|
-
# @type
|
1053
|
-
# @param
|
1517
|
+
# @type Type: String
|
1518
|
+
# @param Position: 排序
|
1054
1519
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1055
|
-
# @type
|
1056
|
-
# @param
|
1520
|
+
# @type Position: Integer
|
1521
|
+
# @param Params: 附加参数
|
1057
1522
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1058
|
-
# @type
|
1059
|
-
# @param
|
1523
|
+
# @type Params: Array
|
1524
|
+
# @param BizParams: 业务参数
|
1060
1525
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1061
|
-
# @type
|
1062
|
-
|
1526
|
+
# @type BizParams: Array
|
1527
|
+
# @param IsPartition: 是否分区
|
1528
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1529
|
+
# @type IsPartition: Boolean
|
1530
|
+
|
1531
|
+
attr_accessor :Name, :Description, :Type, :Position, :Params, :BizParams, :IsPartition
|
1532
|
+
|
1533
|
+
def initialize(name=nil, description=nil, type=nil, position=nil, params=nil, bizparams=nil, ispartition=nil)
|
1534
|
+
@Name = name
|
1535
|
+
@Description = description
|
1536
|
+
@Type = type
|
1537
|
+
@Position = position
|
1538
|
+
@Params = params
|
1539
|
+
@BizParams = bizparams
|
1540
|
+
@IsPartition = ispartition
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
def deserialize(params)
|
1544
|
+
@Name = params['Name']
|
1545
|
+
@Description = params['Description']
|
1546
|
+
@Type = params['Type']
|
1547
|
+
@Position = params['Position']
|
1548
|
+
unless params['Params'].nil?
|
1549
|
+
@Params = []
|
1550
|
+
params['Params'].each do |i|
|
1551
|
+
kvpair_tmp = KVPair.new
|
1552
|
+
kvpair_tmp.deserialize(i)
|
1553
|
+
@Params << kvpair_tmp
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
unless params['BizParams'].nil?
|
1557
|
+
@BizParams = []
|
1558
|
+
params['BizParams'].each do |i|
|
1559
|
+
kvpair_tmp = KVPair.new
|
1560
|
+
kvpair_tmp.deserialize(i)
|
1561
|
+
@BizParams << kvpair_tmp
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
@IsPartition = params['IsPartition']
|
1565
|
+
end
|
1566
|
+
end
|
1567
|
+
|
1568
|
+
# 列排序对象
|
1569
|
+
class DMSColumnOrder < TencentCloud::Common::AbstractModel
|
1570
|
+
# @param Col: 列名
|
1571
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1572
|
+
# @type Col: String
|
1573
|
+
# @param Order: 排序
|
1574
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1575
|
+
# @type Order: Integer
|
1576
|
+
|
1577
|
+
attr_accessor :Col, :Order
|
1578
|
+
|
1579
|
+
def initialize(col=nil, order=nil)
|
1580
|
+
@Col = col
|
1581
|
+
@Order = order
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
def deserialize(params)
|
1585
|
+
@Col = params['Col']
|
1586
|
+
@Order = params['Order']
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
# 迁移元数据分区对象
|
1591
|
+
class DMSPartition < TencentCloud::Common::AbstractModel
|
1592
|
+
# @param DatabaseName: 数据库名称
|
1593
|
+
# @type DatabaseName: String
|
1594
|
+
# @param SchemaName: 数据目录名称
|
1595
|
+
# @type SchemaName: String
|
1596
|
+
# @param TableName: 表名称
|
1597
|
+
# @type TableName: String
|
1598
|
+
# @param DataVersion: 数据版本
|
1599
|
+
# @type DataVersion: Integer
|
1600
|
+
# @param Name: 分区名称
|
1601
|
+
# @type Name: String
|
1602
|
+
# @param Values: 值列表
|
1603
|
+
# @type Values: Array
|
1604
|
+
# @param StorageSize: 存储大小
|
1605
|
+
# @type StorageSize: Integer
|
1606
|
+
# @param RecordCount: 记录数量
|
1607
|
+
# @type RecordCount: Integer
|
1608
|
+
# @param CreateTime: 创建时间
|
1609
|
+
# @type CreateTime: String
|
1610
|
+
# @param ModifiedTime: 修改时间
|
1611
|
+
# @type ModifiedTime: String
|
1612
|
+
# @param LastAccessTime: 最后访问时间
|
1613
|
+
# @type LastAccessTime: String
|
1614
|
+
# @param Params: 附件属性
|
1615
|
+
# @type Params: Array
|
1616
|
+
# @param Sds: 存储对象
|
1617
|
+
# @type Sds: :class:`Tencentcloud::Dlc.v20210125.models.DMSSds`
|
1618
|
+
|
1619
|
+
attr_accessor :DatabaseName, :SchemaName, :TableName, :DataVersion, :Name, :Values, :StorageSize, :RecordCount, :CreateTime, :ModifiedTime, :LastAccessTime, :Params, :Sds
|
1620
|
+
|
1621
|
+
def initialize(databasename=nil, schemaname=nil, tablename=nil, dataversion=nil, name=nil, values=nil, storagesize=nil, recordcount=nil, createtime=nil, modifiedtime=nil, lastaccesstime=nil, params=nil, sds=nil)
|
1622
|
+
@DatabaseName = databasename
|
1623
|
+
@SchemaName = schemaname
|
1624
|
+
@TableName = tablename
|
1625
|
+
@DataVersion = dataversion
|
1626
|
+
@Name = name
|
1627
|
+
@Values = values
|
1628
|
+
@StorageSize = storagesize
|
1629
|
+
@RecordCount = recordcount
|
1630
|
+
@CreateTime = createtime
|
1631
|
+
@ModifiedTime = modifiedtime
|
1632
|
+
@LastAccessTime = lastaccesstime
|
1633
|
+
@Params = params
|
1634
|
+
@Sds = sds
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
def deserialize(params)
|
1638
|
+
@DatabaseName = params['DatabaseName']
|
1639
|
+
@SchemaName = params['SchemaName']
|
1640
|
+
@TableName = params['TableName']
|
1641
|
+
@DataVersion = params['DataVersion']
|
1642
|
+
@Name = params['Name']
|
1643
|
+
@Values = params['Values']
|
1644
|
+
@StorageSize = params['StorageSize']
|
1645
|
+
@RecordCount = params['RecordCount']
|
1646
|
+
@CreateTime = params['CreateTime']
|
1647
|
+
@ModifiedTime = params['ModifiedTime']
|
1648
|
+
@LastAccessTime = params['LastAccessTime']
|
1649
|
+
unless params['Params'].nil?
|
1650
|
+
@Params = []
|
1651
|
+
params['Params'].each do |i|
|
1652
|
+
kvpair_tmp = KVPair.new
|
1653
|
+
kvpair_tmp.deserialize(i)
|
1654
|
+
@Params << kvpair_tmp
|
1655
|
+
end
|
1656
|
+
end
|
1657
|
+
unless params['Sds'].nil?
|
1658
|
+
@Sds = DMSSds.new
|
1659
|
+
@Sds.deserialize(params['Sds'])
|
1660
|
+
end
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# 元数据存储描述属性
|
1665
|
+
class DMSSds < TencentCloud::Common::AbstractModel
|
1666
|
+
# @param Location: 存储地址
|
1667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1668
|
+
# @type Location: String
|
1669
|
+
# @param InputFormat: 输入格式
|
1670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1671
|
+
# @type InputFormat: String
|
1672
|
+
# @param OutputFormat: 输出格式
|
1673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1674
|
+
# @type OutputFormat: String
|
1675
|
+
# @param NumBuckets: bucket数量
|
1676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1677
|
+
# @type NumBuckets: Integer
|
1678
|
+
# @param Compressed: 是是否压缩
|
1679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1680
|
+
# @type Compressed: Boolean
|
1681
|
+
# @param StoredAsSubDirectories: 是否有子目录
|
1682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1683
|
+
# @type StoredAsSubDirectories: Boolean
|
1684
|
+
# @param SerdeLib: 序列化lib
|
1685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1686
|
+
# @type SerdeLib: String
|
1687
|
+
# @param SerdeName: 序列化名称
|
1688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1689
|
+
# @type SerdeName: String
|
1690
|
+
# @param BucketCols: 桶名称
|
1691
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1692
|
+
# @type BucketCols: Array
|
1693
|
+
# @param SerdeParams: 序列化参数
|
1694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1695
|
+
# @type SerdeParams: Array
|
1696
|
+
# @param Params: 附加参数
|
1697
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1698
|
+
# @type Params: Array
|
1699
|
+
# @param SortCols: 列排序(Expired)
|
1700
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1701
|
+
# @type SortCols: :class:`Tencentcloud::Dlc.v20210125.models.DMSColumnOrder`
|
1702
|
+
# @param Cols: 列
|
1703
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1704
|
+
# @type Cols: Array
|
1705
|
+
# @param SortColumns: 列排序字段
|
1706
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1707
|
+
# @type SortColumns: Array
|
1708
|
+
|
1709
|
+
attr_accessor :Location, :InputFormat, :OutputFormat, :NumBuckets, :Compressed, :StoredAsSubDirectories, :SerdeLib, :SerdeName, :BucketCols, :SerdeParams, :Params, :SortCols, :Cols, :SortColumns
|
1710
|
+
|
1711
|
+
def initialize(location=nil, inputformat=nil, outputformat=nil, numbuckets=nil, compressed=nil, storedassubdirectories=nil, serdelib=nil, serdename=nil, bucketcols=nil, serdeparams=nil, params=nil, sortcols=nil, cols=nil, sortcolumns=nil)
|
1712
|
+
@Location = location
|
1713
|
+
@InputFormat = inputformat
|
1714
|
+
@OutputFormat = outputformat
|
1715
|
+
@NumBuckets = numbuckets
|
1716
|
+
@Compressed = compressed
|
1717
|
+
@StoredAsSubDirectories = storedassubdirectories
|
1718
|
+
@SerdeLib = serdelib
|
1719
|
+
@SerdeName = serdename
|
1720
|
+
@BucketCols = bucketcols
|
1721
|
+
@SerdeParams = serdeparams
|
1722
|
+
@Params = params
|
1723
|
+
@SortCols = sortcols
|
1724
|
+
@Cols = cols
|
1725
|
+
@SortColumns = sortcolumns
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
def deserialize(params)
|
1729
|
+
@Location = params['Location']
|
1730
|
+
@InputFormat = params['InputFormat']
|
1731
|
+
@OutputFormat = params['OutputFormat']
|
1732
|
+
@NumBuckets = params['NumBuckets']
|
1733
|
+
@Compressed = params['Compressed']
|
1734
|
+
@StoredAsSubDirectories = params['StoredAsSubDirectories']
|
1735
|
+
@SerdeLib = params['SerdeLib']
|
1736
|
+
@SerdeName = params['SerdeName']
|
1737
|
+
@BucketCols = params['BucketCols']
|
1738
|
+
unless params['SerdeParams'].nil?
|
1739
|
+
@SerdeParams = []
|
1740
|
+
params['SerdeParams'].each do |i|
|
1741
|
+
kvpair_tmp = KVPair.new
|
1742
|
+
kvpair_tmp.deserialize(i)
|
1743
|
+
@SerdeParams << kvpair_tmp
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
unless params['Params'].nil?
|
1747
|
+
@Params = []
|
1748
|
+
params['Params'].each do |i|
|
1749
|
+
kvpair_tmp = KVPair.new
|
1750
|
+
kvpair_tmp.deserialize(i)
|
1751
|
+
@Params << kvpair_tmp
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
unless params['SortCols'].nil?
|
1755
|
+
@SortCols = DMSColumnOrder.new
|
1756
|
+
@SortCols.deserialize(params['SortCols'])
|
1757
|
+
end
|
1758
|
+
unless params['Cols'].nil?
|
1759
|
+
@Cols = []
|
1760
|
+
params['Cols'].each do |i|
|
1761
|
+
dmscolumn_tmp = DMSColumn.new
|
1762
|
+
dmscolumn_tmp.deserialize(i)
|
1763
|
+
@Cols << dmscolumn_tmp
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
unless params['SortColumns'].nil?
|
1767
|
+
@SortColumns = []
|
1768
|
+
params['SortColumns'].each do |i|
|
1769
|
+
dmscolumnorder_tmp = DMSColumnOrder.new
|
1770
|
+
dmscolumnorder_tmp.deserialize(i)
|
1771
|
+
@SortColumns << dmscolumnorder_tmp
|
1772
|
+
end
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# DMSTable基本信息
|
1778
|
+
class DMSTable < TencentCloud::Common::AbstractModel
|
1779
|
+
# @param ViewOriginalText: 视图文本
|
1780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1781
|
+
# @type ViewOriginalText: String
|
1782
|
+
# @param ViewExpandedText: 视图文本
|
1783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1784
|
+
# @type ViewExpandedText: String
|
1785
|
+
# @param Retention: hive维护版本
|
1786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1787
|
+
# @type Retention: Integer
|
1788
|
+
# @param Sds: 存储对象
|
1789
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1790
|
+
# @type Sds: :class:`Tencentcloud::Dlc.v20210125.models.DMSSds`
|
1791
|
+
# @param PartitionKeys: 分区列
|
1792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1793
|
+
# @type PartitionKeys: Array
|
1794
|
+
# @param Partitions: 分区
|
1795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1796
|
+
# @type Partitions: Array
|
1797
|
+
# @param Type: 表类型
|
1798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1799
|
+
# @type Type: String
|
1800
|
+
# @param DbName: 数据库名称
|
1801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1802
|
+
# @type DbName: String
|
1803
|
+
# @param SchemaName: Schema名称
|
1804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1805
|
+
# @type SchemaName: String
|
1806
|
+
# @param StorageSize: 存储大小
|
1807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1808
|
+
# @type StorageSize: Integer
|
1809
|
+
# @param RecordCount: 记录数量
|
1810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1811
|
+
# @type RecordCount: Integer
|
1812
|
+
# @param LifeTime: 生命周期
|
1813
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1814
|
+
# @type LifeTime: Integer
|
1815
|
+
# @param LastAccessTime: 最后访问时间
|
1816
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1817
|
+
# @type LastAccessTime: String
|
1818
|
+
# @param DataUpdateTime: 数据更新时间
|
1819
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1820
|
+
# @type DataUpdateTime: String
|
1821
|
+
# @param StructUpdateTime: 结构更新时间
|
1822
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1823
|
+
# @type StructUpdateTime: String
|
1824
|
+
# @param Columns: 列
|
1825
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1826
|
+
# @type Columns: Array
|
1827
|
+
# @param Name: 表名
|
1828
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1829
|
+
# @type Name: String
|
1830
|
+
|
1831
|
+
attr_accessor :ViewOriginalText, :ViewExpandedText, :Retention, :Sds, :PartitionKeys, :Partitions, :Type, :DbName, :SchemaName, :StorageSize, :RecordCount, :LifeTime, :LastAccessTime, :DataUpdateTime, :StructUpdateTime, :Columns, :Name
|
1832
|
+
|
1833
|
+
def initialize(vieworiginaltext=nil, viewexpandedtext=nil, retention=nil, sds=nil, partitionkeys=nil, partitions=nil, type=nil, dbname=nil, schemaname=nil, storagesize=nil, recordcount=nil, lifetime=nil, lastaccesstime=nil, dataupdatetime=nil, structupdatetime=nil, columns=nil, name=nil)
|
1834
|
+
@ViewOriginalText = vieworiginaltext
|
1835
|
+
@ViewExpandedText = viewexpandedtext
|
1836
|
+
@Retention = retention
|
1837
|
+
@Sds = sds
|
1838
|
+
@PartitionKeys = partitionkeys
|
1839
|
+
@Partitions = partitions
|
1840
|
+
@Type = type
|
1841
|
+
@DbName = dbname
|
1842
|
+
@SchemaName = schemaname
|
1843
|
+
@StorageSize = storagesize
|
1844
|
+
@RecordCount = recordcount
|
1845
|
+
@LifeTime = lifetime
|
1846
|
+
@LastAccessTime = lastaccesstime
|
1847
|
+
@DataUpdateTime = dataupdatetime
|
1848
|
+
@StructUpdateTime = structupdatetime
|
1849
|
+
@Columns = columns
|
1850
|
+
@Name = name
|
1851
|
+
end
|
1852
|
+
|
1853
|
+
def deserialize(params)
|
1854
|
+
@ViewOriginalText = params['ViewOriginalText']
|
1855
|
+
@ViewExpandedText = params['ViewExpandedText']
|
1856
|
+
@Retention = params['Retention']
|
1857
|
+
unless params['Sds'].nil?
|
1858
|
+
@Sds = DMSSds.new
|
1859
|
+
@Sds.deserialize(params['Sds'])
|
1860
|
+
end
|
1861
|
+
unless params['PartitionKeys'].nil?
|
1862
|
+
@PartitionKeys = []
|
1863
|
+
params['PartitionKeys'].each do |i|
|
1864
|
+
dmscolumn_tmp = DMSColumn.new
|
1865
|
+
dmscolumn_tmp.deserialize(i)
|
1866
|
+
@PartitionKeys << dmscolumn_tmp
|
1867
|
+
end
|
1868
|
+
end
|
1869
|
+
unless params['Partitions'].nil?
|
1870
|
+
@Partitions = []
|
1871
|
+
params['Partitions'].each do |i|
|
1872
|
+
dmspartition_tmp = DMSPartition.new
|
1873
|
+
dmspartition_tmp.deserialize(i)
|
1874
|
+
@Partitions << dmspartition_tmp
|
1875
|
+
end
|
1876
|
+
end
|
1877
|
+
@Type = params['Type']
|
1878
|
+
@DbName = params['DbName']
|
1879
|
+
@SchemaName = params['SchemaName']
|
1880
|
+
@StorageSize = params['StorageSize']
|
1881
|
+
@RecordCount = params['RecordCount']
|
1882
|
+
@LifeTime = params['LifeTime']
|
1883
|
+
@LastAccessTime = params['LastAccessTime']
|
1884
|
+
@DataUpdateTime = params['DataUpdateTime']
|
1885
|
+
@StructUpdateTime = params['StructUpdateTime']
|
1886
|
+
unless params['Columns'].nil?
|
1887
|
+
@Columns = []
|
1888
|
+
params['Columns'].each do |i|
|
1889
|
+
dmscolumn_tmp = DMSColumn.new
|
1890
|
+
dmscolumn_tmp.deserialize(i)
|
1891
|
+
@Columns << dmscolumn_tmp
|
1892
|
+
end
|
1893
|
+
end
|
1894
|
+
@Name = params['Name']
|
1895
|
+
end
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# DMSTable信息
|
1899
|
+
class DMSTableInfo < TencentCloud::Common::AbstractModel
|
1900
|
+
# @param Table: DMS表信息
|
1901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1902
|
+
# @type Table: :class:`Tencentcloud::Dlc.v20210125.models.DMSTable`
|
1903
|
+
# @param Asset: 基础对象信息
|
1904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1905
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
1906
|
+
|
1907
|
+
attr_accessor :Table, :Asset
|
1908
|
+
|
1909
|
+
def initialize(table=nil, asset=nil)
|
1910
|
+
@Table = table
|
1911
|
+
@Asset = asset
|
1912
|
+
end
|
1913
|
+
|
1914
|
+
def deserialize(params)
|
1915
|
+
unless params['Table'].nil?
|
1916
|
+
@Table = DMSTable.new
|
1917
|
+
@Table.deserialize(params['Table'])
|
1918
|
+
end
|
1919
|
+
unless params['Asset'].nil?
|
1920
|
+
@Asset = Asset.new
|
1921
|
+
@Asset.deserialize(params['Asset'])
|
1922
|
+
end
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
# 数据表数据格式。
|
1927
|
+
class DataFormat < TencentCloud::Common::AbstractModel
|
1928
|
+
# @param TextFile: 文本格式,TextFile。
|
1929
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1930
|
+
# @type TextFile: :class:`Tencentcloud::Dlc.v20210125.models.TextFile`
|
1931
|
+
# @param CSV: 文本格式,CSV。
|
1932
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1933
|
+
# @type CSV: :class:`Tencentcloud::Dlc.v20210125.models.CSV`
|
1934
|
+
# @param Json: 文本格式,Json。
|
1935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1936
|
+
# @type Json: :class:`Tencentcloud::Dlc.v20210125.models.Other`
|
1937
|
+
# @param Parquet: Parquet格式
|
1938
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1939
|
+
# @type Parquet: :class:`Tencentcloud::Dlc.v20210125.models.Other`
|
1940
|
+
# @param ORC: ORC格式
|
1941
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1942
|
+
# @type ORC: :class:`Tencentcloud::Dlc.v20210125.models.Other`
|
1943
|
+
# @param AVRO: AVRO格式
|
1944
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1945
|
+
# @type AVRO: :class:`Tencentcloud::Dlc.v20210125.models.Other`
|
1946
|
+
|
1063
1947
|
attr_accessor :TextFile, :CSV, :Json, :Parquet, :ORC, :AVRO
|
1064
1948
|
|
1065
1949
|
def initialize(textfile=nil, csv=nil, json=nil, parquet=nil, orc=nil, avro=nil)
|
@@ -1292,57 +2176,441 @@ module TencentCloud
|
|
1292
2176
|
end
|
1293
2177
|
|
1294
2178
|
def deserialize(params)
|
1295
|
-
unless params['AddInfo'].nil?
|
1296
|
-
@AddInfo = UserIdSetOfWorkGroupId.new
|
1297
|
-
@AddInfo.deserialize(params['AddInfo'])
|
1298
|
-
end
|
2179
|
+
unless params['AddInfo'].nil?
|
2180
|
+
@AddInfo = UserIdSetOfWorkGroupId.new
|
2181
|
+
@AddInfo.deserialize(params['AddInfo'])
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
# DeleteUsersFromWorkGroup返回参数结构体
|
2187
|
+
class DeleteUsersFromWorkGroupResponse < TencentCloud::Common::AbstractModel
|
2188
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2189
|
+
# @type RequestId: String
|
2190
|
+
|
2191
|
+
attr_accessor :RequestId
|
2192
|
+
|
2193
|
+
def initialize(requestid=nil)
|
2194
|
+
@RequestId = requestid
|
2195
|
+
end
|
2196
|
+
|
2197
|
+
def deserialize(params)
|
2198
|
+
@RequestId = params['RequestId']
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# DeleteWorkGroup请求参数结构体
|
2203
|
+
class DeleteWorkGroupRequest < TencentCloud::Common::AbstractModel
|
2204
|
+
# @param WorkGroupIds: 要删除的工作组Id集合
|
2205
|
+
# @type WorkGroupIds: Array
|
2206
|
+
|
2207
|
+
attr_accessor :WorkGroupIds
|
2208
|
+
|
2209
|
+
def initialize(workgroupids=nil)
|
2210
|
+
@WorkGroupIds = workgroupids
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
def deserialize(params)
|
2214
|
+
@WorkGroupIds = params['WorkGroupIds']
|
2215
|
+
end
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
# DeleteWorkGroup返回参数结构体
|
2219
|
+
class DeleteWorkGroupResponse < TencentCloud::Common::AbstractModel
|
2220
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2221
|
+
# @type RequestId: String
|
2222
|
+
|
2223
|
+
attr_accessor :RequestId
|
2224
|
+
|
2225
|
+
def initialize(requestid=nil)
|
2226
|
+
@RequestId = requestid
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def deserialize(params)
|
2230
|
+
@RequestId = params['RequestId']
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# DescribeDMSDatabase请求参数结构体
|
2235
|
+
class DescribeDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
2236
|
+
|
2237
|
+
|
2238
|
+
def initialize()
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
def deserialize(params)
|
2242
|
+
end
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
# DescribeDMSDatabase返回参数结构体
|
2246
|
+
class DescribeDMSDatabaseResponse < TencentCloud::Common::AbstractModel
|
2247
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2248
|
+
# @type RequestId: String
|
2249
|
+
|
2250
|
+
attr_accessor :RequestId
|
2251
|
+
|
2252
|
+
def initialize(requestid=nil)
|
2253
|
+
@RequestId = requestid
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def deserialize(params)
|
2257
|
+
@RequestId = params['RequestId']
|
2258
|
+
end
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
# DescribeDMSPartitions请求参数结构体
|
2262
|
+
class DescribeDMSPartitionsRequest < TencentCloud::Common::AbstractModel
|
2263
|
+
# @param DatabaseName: 数据库名
|
2264
|
+
# @type DatabaseName: String
|
2265
|
+
# @param TableName: 表名称
|
2266
|
+
# @type TableName: String
|
2267
|
+
# @param SchemaName: schema名称
|
2268
|
+
# @type SchemaName: String
|
2269
|
+
# @param Name: 名称
|
2270
|
+
# @type Name: String
|
2271
|
+
# @param Values: 单个分区名称,精准匹配
|
2272
|
+
# @type Values: Array
|
2273
|
+
# @param PartitionNames: 多个分区名称,精准匹配
|
2274
|
+
# @type PartitionNames: Array
|
2275
|
+
# @param PartValues: 多个分区字段的匹配,模糊匹配
|
2276
|
+
# @type PartValues: Array
|
2277
|
+
# @param Filter: 过滤SQL
|
2278
|
+
# @type Filter: String
|
2279
|
+
# @param MaxParts: 最大分区数量
|
2280
|
+
# @type MaxParts: Integer
|
2281
|
+
# @param Offset: 翻页跳过数量
|
2282
|
+
# @type Offset: Integer
|
2283
|
+
# @param Limit: 页面数量
|
2284
|
+
# @type Limit: Integer
|
2285
|
+
|
2286
|
+
attr_accessor :DatabaseName, :TableName, :SchemaName, :Name, :Values, :PartitionNames, :PartValues, :Filter, :MaxParts, :Offset, :Limit
|
2287
|
+
|
2288
|
+
def initialize(databasename=nil, tablename=nil, schemaname=nil, name=nil, values=nil, partitionnames=nil, partvalues=nil, filter=nil, maxparts=nil, offset=nil, limit=nil)
|
2289
|
+
@DatabaseName = databasename
|
2290
|
+
@TableName = tablename
|
2291
|
+
@SchemaName = schemaname
|
2292
|
+
@Name = name
|
2293
|
+
@Values = values
|
2294
|
+
@PartitionNames = partitionnames
|
2295
|
+
@PartValues = partvalues
|
2296
|
+
@Filter = filter
|
2297
|
+
@MaxParts = maxparts
|
2298
|
+
@Offset = offset
|
2299
|
+
@Limit = limit
|
2300
|
+
end
|
2301
|
+
|
2302
|
+
def deserialize(params)
|
2303
|
+
@DatabaseName = params['DatabaseName']
|
2304
|
+
@TableName = params['TableName']
|
2305
|
+
@SchemaName = params['SchemaName']
|
2306
|
+
@Name = params['Name']
|
2307
|
+
@Values = params['Values']
|
2308
|
+
@PartitionNames = params['PartitionNames']
|
2309
|
+
@PartValues = params['PartValues']
|
2310
|
+
@Filter = params['Filter']
|
2311
|
+
@MaxParts = params['MaxParts']
|
2312
|
+
@Offset = params['Offset']
|
2313
|
+
@Limit = params['Limit']
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
# DescribeDMSPartitions返回参数结构体
|
2318
|
+
class DescribeDMSPartitionsResponse < TencentCloud::Common::AbstractModel
|
2319
|
+
# @param Partitions: 分区信息
|
2320
|
+
# @type Partitions: Array
|
2321
|
+
# @param Total: 总数
|
2322
|
+
# @type Total: Integer
|
2323
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2324
|
+
# @type RequestId: String
|
2325
|
+
|
2326
|
+
attr_accessor :Partitions, :Total, :RequestId
|
2327
|
+
|
2328
|
+
def initialize(partitions=nil, total=nil, requestid=nil)
|
2329
|
+
@Partitions = partitions
|
2330
|
+
@Total = total
|
2331
|
+
@RequestId = requestid
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
def deserialize(params)
|
2335
|
+
unless params['Partitions'].nil?
|
2336
|
+
@Partitions = []
|
2337
|
+
params['Partitions'].each do |i|
|
2338
|
+
dmspartition_tmp = DMSPartition.new
|
2339
|
+
dmspartition_tmp.deserialize(i)
|
2340
|
+
@Partitions << dmspartition_tmp
|
2341
|
+
end
|
2342
|
+
end
|
2343
|
+
@Total = params['Total']
|
2344
|
+
@RequestId = params['RequestId']
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
# DescribeDMSTable请求参数结构体
|
2349
|
+
class DescribeDMSTableRequest < TencentCloud::Common::AbstractModel
|
2350
|
+
# @param DbName: 数据库名称
|
2351
|
+
# @type DbName: String
|
2352
|
+
# @param SchemaName: 数据库schema名称
|
2353
|
+
# @type SchemaName: String
|
2354
|
+
# @param Name: 表名称
|
2355
|
+
# @type Name: String
|
2356
|
+
# @param Catalog: 数据目录
|
2357
|
+
# @type Catalog: String
|
2358
|
+
# @param Keyword: 查询关键词
|
2359
|
+
# @type Keyword: String
|
2360
|
+
# @param Pattern: 查询模式
|
2361
|
+
# @type Pattern: String
|
2362
|
+
# @param Type: 表类型
|
2363
|
+
# @type Type: String
|
2364
|
+
|
2365
|
+
attr_accessor :DbName, :SchemaName, :Name, :Catalog, :Keyword, :Pattern, :Type
|
2366
|
+
|
2367
|
+
def initialize(dbname=nil, schemaname=nil, name=nil, catalog=nil, keyword=nil, pattern=nil, type=nil)
|
2368
|
+
@DbName = dbname
|
2369
|
+
@SchemaName = schemaname
|
2370
|
+
@Name = name
|
2371
|
+
@Catalog = catalog
|
2372
|
+
@Keyword = keyword
|
2373
|
+
@Pattern = pattern
|
2374
|
+
@Type = type
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
def deserialize(params)
|
2378
|
+
@DbName = params['DbName']
|
2379
|
+
@SchemaName = params['SchemaName']
|
2380
|
+
@Name = params['Name']
|
2381
|
+
@Catalog = params['Catalog']
|
2382
|
+
@Keyword = params['Keyword']
|
2383
|
+
@Pattern = params['Pattern']
|
2384
|
+
@Type = params['Type']
|
1299
2385
|
end
|
1300
2386
|
end
|
1301
2387
|
|
1302
|
-
#
|
1303
|
-
class
|
2388
|
+
# DescribeDMSTable返回参数结构体
|
2389
|
+
class DescribeDMSTableResponse < TencentCloud::Common::AbstractModel
|
2390
|
+
# @param Asset: 基础对象
|
2391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2392
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
2393
|
+
# @param ViewOriginalText: 视图文本
|
2394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2395
|
+
# @type ViewOriginalText: String
|
2396
|
+
# @param ViewExpandedText: 视图文本
|
2397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2398
|
+
# @type ViewExpandedText: String
|
2399
|
+
# @param Retention: hive维护版本
|
2400
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2401
|
+
# @type Retention: Integer
|
2402
|
+
# @param Sds: 存储对象
|
2403
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2404
|
+
# @type Sds: :class:`Tencentcloud::Dlc.v20210125.models.DMSSds`
|
2405
|
+
# @param PartitionKeys: 分区列
|
2406
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2407
|
+
# @type PartitionKeys: Array
|
2408
|
+
# @param Partitions: 分区
|
2409
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2410
|
+
# @type Partitions: Array
|
2411
|
+
# @param Type: 表类型
|
2412
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2413
|
+
# @type Type: String
|
2414
|
+
# @param DbName: 数据库名称
|
2415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2416
|
+
# @type DbName: String
|
2417
|
+
# @param SchemaName: Schame名称
|
2418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2419
|
+
# @type SchemaName: String
|
2420
|
+
# @param StorageSize: 存储大小
|
2421
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2422
|
+
# @type StorageSize: Integer
|
2423
|
+
# @param RecordCount: 记录数量
|
2424
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2425
|
+
# @type RecordCount: Integer
|
2426
|
+
# @param LifeTime: 生命周期
|
2427
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2428
|
+
# @type LifeTime: Integer
|
2429
|
+
# @param LastAccessTime: 最后访问时间
|
2430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2431
|
+
# @type LastAccessTime: String
|
2432
|
+
# @param DataUpdateTime: 数据更新时间
|
2433
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2434
|
+
# @type DataUpdateTime: String
|
2435
|
+
# @param StructUpdateTime: 结构更新时间
|
2436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2437
|
+
# @type StructUpdateTime: String
|
2438
|
+
# @param Columns: 列
|
2439
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2440
|
+
# @type Columns: Array
|
2441
|
+
# @param Name: 表名称
|
2442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2443
|
+
# @type Name: String
|
1304
2444
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1305
2445
|
# @type RequestId: String
|
1306
2446
|
|
1307
|
-
attr_accessor :RequestId
|
2447
|
+
attr_accessor :Asset, :ViewOriginalText, :ViewExpandedText, :Retention, :Sds, :PartitionKeys, :Partitions, :Type, :DbName, :SchemaName, :StorageSize, :RecordCount, :LifeTime, :LastAccessTime, :DataUpdateTime, :StructUpdateTime, :Columns, :Name, :RequestId
|
1308
2448
|
|
1309
|
-
def initialize(requestid=nil)
|
2449
|
+
def initialize(asset=nil, vieworiginaltext=nil, viewexpandedtext=nil, retention=nil, sds=nil, partitionkeys=nil, partitions=nil, type=nil, dbname=nil, schemaname=nil, storagesize=nil, recordcount=nil, lifetime=nil, lastaccesstime=nil, dataupdatetime=nil, structupdatetime=nil, columns=nil, name=nil, requestid=nil)
|
2450
|
+
@Asset = asset
|
2451
|
+
@ViewOriginalText = vieworiginaltext
|
2452
|
+
@ViewExpandedText = viewexpandedtext
|
2453
|
+
@Retention = retention
|
2454
|
+
@Sds = sds
|
2455
|
+
@PartitionKeys = partitionkeys
|
2456
|
+
@Partitions = partitions
|
2457
|
+
@Type = type
|
2458
|
+
@DbName = dbname
|
2459
|
+
@SchemaName = schemaname
|
2460
|
+
@StorageSize = storagesize
|
2461
|
+
@RecordCount = recordcount
|
2462
|
+
@LifeTime = lifetime
|
2463
|
+
@LastAccessTime = lastaccesstime
|
2464
|
+
@DataUpdateTime = dataupdatetime
|
2465
|
+
@StructUpdateTime = structupdatetime
|
2466
|
+
@Columns = columns
|
2467
|
+
@Name = name
|
1310
2468
|
@RequestId = requestid
|
1311
2469
|
end
|
1312
2470
|
|
1313
2471
|
def deserialize(params)
|
2472
|
+
unless params['Asset'].nil?
|
2473
|
+
@Asset = Asset.new
|
2474
|
+
@Asset.deserialize(params['Asset'])
|
2475
|
+
end
|
2476
|
+
@ViewOriginalText = params['ViewOriginalText']
|
2477
|
+
@ViewExpandedText = params['ViewExpandedText']
|
2478
|
+
@Retention = params['Retention']
|
2479
|
+
unless params['Sds'].nil?
|
2480
|
+
@Sds = DMSSds.new
|
2481
|
+
@Sds.deserialize(params['Sds'])
|
2482
|
+
end
|
2483
|
+
unless params['PartitionKeys'].nil?
|
2484
|
+
@PartitionKeys = []
|
2485
|
+
params['PartitionKeys'].each do |i|
|
2486
|
+
dmscolumn_tmp = DMSColumn.new
|
2487
|
+
dmscolumn_tmp.deserialize(i)
|
2488
|
+
@PartitionKeys << dmscolumn_tmp
|
2489
|
+
end
|
2490
|
+
end
|
2491
|
+
unless params['Partitions'].nil?
|
2492
|
+
@Partitions = []
|
2493
|
+
params['Partitions'].each do |i|
|
2494
|
+
dmspartition_tmp = DMSPartition.new
|
2495
|
+
dmspartition_tmp.deserialize(i)
|
2496
|
+
@Partitions << dmspartition_tmp
|
2497
|
+
end
|
2498
|
+
end
|
2499
|
+
@Type = params['Type']
|
2500
|
+
@DbName = params['DbName']
|
2501
|
+
@SchemaName = params['SchemaName']
|
2502
|
+
@StorageSize = params['StorageSize']
|
2503
|
+
@RecordCount = params['RecordCount']
|
2504
|
+
@LifeTime = params['LifeTime']
|
2505
|
+
@LastAccessTime = params['LastAccessTime']
|
2506
|
+
@DataUpdateTime = params['DataUpdateTime']
|
2507
|
+
@StructUpdateTime = params['StructUpdateTime']
|
2508
|
+
unless params['Columns'].nil?
|
2509
|
+
@Columns = []
|
2510
|
+
params['Columns'].each do |i|
|
2511
|
+
dmscolumn_tmp = DMSColumn.new
|
2512
|
+
dmscolumn_tmp.deserialize(i)
|
2513
|
+
@Columns << dmscolumn_tmp
|
2514
|
+
end
|
2515
|
+
end
|
2516
|
+
@Name = params['Name']
|
1314
2517
|
@RequestId = params['RequestId']
|
1315
2518
|
end
|
1316
2519
|
end
|
1317
2520
|
|
1318
|
-
#
|
1319
|
-
class
|
1320
|
-
# @param
|
1321
|
-
# @type
|
2521
|
+
# DescribeDMSTables请求参数结构体
|
2522
|
+
class DescribeDMSTablesRequest < TencentCloud::Common::AbstractModel
|
2523
|
+
# @param DbName: 数据库名称
|
2524
|
+
# @type DbName: String
|
2525
|
+
# @param SchemaName: 数据库schema名称
|
2526
|
+
# @type SchemaName: String
|
2527
|
+
# @param Name: 表名称
|
2528
|
+
# @type Name: String
|
2529
|
+
# @param Catalog: 数据目录
|
2530
|
+
# @type Catalog: String
|
2531
|
+
# @param Keyword: 查询关键词
|
2532
|
+
# @type Keyword: String
|
2533
|
+
# @param Pattern: 查询模式
|
2534
|
+
# @type Pattern: String
|
2535
|
+
# @param Type: 表类型
|
2536
|
+
# @type Type: String
|
2537
|
+
# @param StartTime: 筛选参数:更新开始时间
|
2538
|
+
# @type StartTime: String
|
2539
|
+
# @param EndTime: 筛选参数:更新结束时间
|
2540
|
+
# @type EndTime: String
|
2541
|
+
# @param Limit: 分页参数
|
2542
|
+
# @type Limit: Integer
|
2543
|
+
# @param Offset: 分页参数
|
2544
|
+
# @type Offset: Integer
|
2545
|
+
# @param Sort: 排序字段:create_time:创建时间
|
2546
|
+
# @type Sort: String
|
2547
|
+
# @param Asc: 排序字段:true:升序(默认),false:降序
|
2548
|
+
# @type Asc: Boolean
|
1322
2549
|
|
1323
|
-
attr_accessor :
|
2550
|
+
attr_accessor :DbName, :SchemaName, :Name, :Catalog, :Keyword, :Pattern, :Type, :StartTime, :EndTime, :Limit, :Offset, :Sort, :Asc
|
1324
2551
|
|
1325
|
-
def initialize(
|
1326
|
-
@
|
2552
|
+
def initialize(dbname=nil, schemaname=nil, name=nil, catalog=nil, keyword=nil, pattern=nil, type=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, sort=nil, asc=nil)
|
2553
|
+
@DbName = dbname
|
2554
|
+
@SchemaName = schemaname
|
2555
|
+
@Name = name
|
2556
|
+
@Catalog = catalog
|
2557
|
+
@Keyword = keyword
|
2558
|
+
@Pattern = pattern
|
2559
|
+
@Type = type
|
2560
|
+
@StartTime = starttime
|
2561
|
+
@EndTime = endtime
|
2562
|
+
@Limit = limit
|
2563
|
+
@Offset = offset
|
2564
|
+
@Sort = sort
|
2565
|
+
@Asc = asc
|
1327
2566
|
end
|
1328
2567
|
|
1329
2568
|
def deserialize(params)
|
1330
|
-
@
|
2569
|
+
@DbName = params['DbName']
|
2570
|
+
@SchemaName = params['SchemaName']
|
2571
|
+
@Name = params['Name']
|
2572
|
+
@Catalog = params['Catalog']
|
2573
|
+
@Keyword = params['Keyword']
|
2574
|
+
@Pattern = params['Pattern']
|
2575
|
+
@Type = params['Type']
|
2576
|
+
@StartTime = params['StartTime']
|
2577
|
+
@EndTime = params['EndTime']
|
2578
|
+
@Limit = params['Limit']
|
2579
|
+
@Offset = params['Offset']
|
2580
|
+
@Sort = params['Sort']
|
2581
|
+
@Asc = params['Asc']
|
1331
2582
|
end
|
1332
2583
|
end
|
1333
2584
|
|
1334
|
-
#
|
1335
|
-
class
|
2585
|
+
# DescribeDMSTables返回参数结构体
|
2586
|
+
class DescribeDMSTablesResponse < TencentCloud::Common::AbstractModel
|
2587
|
+
# @param TableList: DMS元数据列表信息
|
2588
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2589
|
+
# @type TableList: Array
|
2590
|
+
# @param TotalCount: 统计值
|
2591
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2592
|
+
# @type TotalCount: Integer
|
1336
2593
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1337
2594
|
# @type RequestId: String
|
1338
2595
|
|
1339
|
-
attr_accessor :RequestId
|
2596
|
+
attr_accessor :TableList, :TotalCount, :RequestId
|
1340
2597
|
|
1341
|
-
def initialize(requestid=nil)
|
2598
|
+
def initialize(tablelist=nil, totalcount=nil, requestid=nil)
|
2599
|
+
@TableList = tablelist
|
2600
|
+
@TotalCount = totalcount
|
1342
2601
|
@RequestId = requestid
|
1343
2602
|
end
|
1344
2603
|
|
1345
2604
|
def deserialize(params)
|
2605
|
+
unless params['TableList'].nil?
|
2606
|
+
@TableList = []
|
2607
|
+
params['TableList'].each do |i|
|
2608
|
+
dmstableinfo_tmp = DMSTableInfo.new
|
2609
|
+
dmstableinfo_tmp.deserialize(i)
|
2610
|
+
@TableList << dmstableinfo_tmp
|
2611
|
+
end
|
2612
|
+
end
|
2613
|
+
@TotalCount = params['TotalCount']
|
1346
2614
|
@RequestId = params['RequestId']
|
1347
2615
|
end
|
1348
2616
|
end
|
@@ -2313,6 +3581,136 @@ module TencentCloud
|
|
2313
3581
|
end
|
2314
3582
|
end
|
2315
3583
|
|
3584
|
+
# DropDMSDatabase请求参数结构体
|
3585
|
+
class DropDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
3586
|
+
|
3587
|
+
|
3588
|
+
def initialize()
|
3589
|
+
end
|
3590
|
+
|
3591
|
+
def deserialize(params)
|
3592
|
+
end
|
3593
|
+
end
|
3594
|
+
|
3595
|
+
# DropDMSDatabase返回参数结构体
|
3596
|
+
class DropDMSDatabaseResponse < TencentCloud::Common::AbstractModel
|
3597
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3598
|
+
# @type RequestId: String
|
3599
|
+
|
3600
|
+
attr_accessor :RequestId
|
3601
|
+
|
3602
|
+
def initialize(requestid=nil)
|
3603
|
+
@RequestId = requestid
|
3604
|
+
end
|
3605
|
+
|
3606
|
+
def deserialize(params)
|
3607
|
+
@RequestId = params['RequestId']
|
3608
|
+
end
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
# DropDMSPartitions请求参数结构体
|
3612
|
+
class DropDMSPartitionsRequest < TencentCloud::Common::AbstractModel
|
3613
|
+
# @param DatabaseName: 数据库名称
|
3614
|
+
# @type DatabaseName: String
|
3615
|
+
# @param SchemaName: 数据库Schema名称
|
3616
|
+
# @type SchemaName: String
|
3617
|
+
# @param TableName: 数据表名称
|
3618
|
+
# @type TableName: String
|
3619
|
+
# @param Name: 分区名称
|
3620
|
+
# @type Name: String
|
3621
|
+
# @param Values: 单个分区名称
|
3622
|
+
# @type Values: Array
|
3623
|
+
# @param DeleteData: 是否删除分区数据
|
3624
|
+
# @type DeleteData: Boolean
|
3625
|
+
|
3626
|
+
attr_accessor :DatabaseName, :SchemaName, :TableName, :Name, :Values, :DeleteData
|
3627
|
+
|
3628
|
+
def initialize(databasename=nil, schemaname=nil, tablename=nil, name=nil, values=nil, deletedata=nil)
|
3629
|
+
@DatabaseName = databasename
|
3630
|
+
@SchemaName = schemaname
|
3631
|
+
@TableName = tablename
|
3632
|
+
@Name = name
|
3633
|
+
@Values = values
|
3634
|
+
@DeleteData = deletedata
|
3635
|
+
end
|
3636
|
+
|
3637
|
+
def deserialize(params)
|
3638
|
+
@DatabaseName = params['DatabaseName']
|
3639
|
+
@SchemaName = params['SchemaName']
|
3640
|
+
@TableName = params['TableName']
|
3641
|
+
@Name = params['Name']
|
3642
|
+
@Values = params['Values']
|
3643
|
+
@DeleteData = params['DeleteData']
|
3644
|
+
end
|
3645
|
+
end
|
3646
|
+
|
3647
|
+
# DropDMSPartitions返回参数结构体
|
3648
|
+
class DropDMSPartitionsResponse < TencentCloud::Common::AbstractModel
|
3649
|
+
# @param Status: 状态
|
3650
|
+
# @type Status: Boolean
|
3651
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3652
|
+
# @type RequestId: String
|
3653
|
+
|
3654
|
+
attr_accessor :Status, :RequestId
|
3655
|
+
|
3656
|
+
def initialize(status=nil, requestid=nil)
|
3657
|
+
@Status = status
|
3658
|
+
@RequestId = requestid
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
def deserialize(params)
|
3662
|
+
@Status = params['Status']
|
3663
|
+
@RequestId = params['RequestId']
|
3664
|
+
end
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
# DropDMSTable请求参数结构体
|
3668
|
+
class DropDMSTableRequest < TencentCloud::Common::AbstractModel
|
3669
|
+
# @param DbName: 数据库名称
|
3670
|
+
# @type DbName: String
|
3671
|
+
# @param Name: 表名称
|
3672
|
+
# @type Name: String
|
3673
|
+
# @param DeleteData: 是否删除数据
|
3674
|
+
# @type DeleteData: Boolean
|
3675
|
+
# @param EnvProps: 环境属性
|
3676
|
+
# @type EnvProps: :class:`Tencentcloud::Dlc.v20210125.models.KVPair`
|
3677
|
+
|
3678
|
+
attr_accessor :DbName, :Name, :DeleteData, :EnvProps
|
3679
|
+
|
3680
|
+
def initialize(dbname=nil, name=nil, deletedata=nil, envprops=nil)
|
3681
|
+
@DbName = dbname
|
3682
|
+
@Name = name
|
3683
|
+
@DeleteData = deletedata
|
3684
|
+
@EnvProps = envprops
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
def deserialize(params)
|
3688
|
+
@DbName = params['DbName']
|
3689
|
+
@Name = params['Name']
|
3690
|
+
@DeleteData = params['DeleteData']
|
3691
|
+
unless params['EnvProps'].nil?
|
3692
|
+
@EnvProps = KVPair.new
|
3693
|
+
@EnvProps.deserialize(params['EnvProps'])
|
3694
|
+
end
|
3695
|
+
end
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
# DropDMSTable返回参数结构体
|
3699
|
+
class DropDMSTableResponse < TencentCloud::Common::AbstractModel
|
3700
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3701
|
+
# @type RequestId: String
|
3702
|
+
|
3703
|
+
attr_accessor :RequestId
|
3704
|
+
|
3705
|
+
def initialize(requestid=nil)
|
3706
|
+
@RequestId = requestid
|
3707
|
+
end
|
3708
|
+
|
3709
|
+
def deserialize(params)
|
3710
|
+
@RequestId = params['RequestId']
|
3711
|
+
end
|
3712
|
+
end
|
3713
|
+
|
2316
3714
|
# SQL语句对象
|
2317
3715
|
class Execution < TencentCloud::Common::AbstractModel
|
2318
3716
|
# @param SQL: 自动生成SQL语句。
|
@@ -2473,6 +3871,113 @@ module TencentCloud
|
|
2473
3871
|
end
|
2474
3872
|
end
|
2475
3873
|
|
3874
|
+
# 元数据加锁内容
|
3875
|
+
class LockComponentInfo < TencentCloud::Common::AbstractModel
|
3876
|
+
# @param DbName: 数据库名称
|
3877
|
+
# @type DbName: String
|
3878
|
+
# @param TableName: 表名称
|
3879
|
+
# @type TableName: String
|
3880
|
+
# @param Partition: 分区
|
3881
|
+
# @type Partition: String
|
3882
|
+
# @param LockType: 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE
|
3883
|
+
# @type LockType: String
|
3884
|
+
# @param LockLevel: 锁级别:DB、TABLE、PARTITION
|
3885
|
+
# @type LockLevel: String
|
3886
|
+
# @param DataOperationType: 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN
|
3887
|
+
# @type DataOperationType: String
|
3888
|
+
# @param IsAcid: 是否保持Acid
|
3889
|
+
# @type IsAcid: Boolean
|
3890
|
+
# @param IsDynamicPartitionWrite: 是否动态分区写
|
3891
|
+
# @type IsDynamicPartitionWrite: Boolean
|
3892
|
+
|
3893
|
+
attr_accessor :DbName, :TableName, :Partition, :LockType, :LockLevel, :DataOperationType, :IsAcid, :IsDynamicPartitionWrite
|
3894
|
+
|
3895
|
+
def initialize(dbname=nil, tablename=nil, partition=nil, locktype=nil, locklevel=nil, dataoperationtype=nil, isacid=nil, isdynamicpartitionwrite=nil)
|
3896
|
+
@DbName = dbname
|
3897
|
+
@TableName = tablename
|
3898
|
+
@Partition = partition
|
3899
|
+
@LockType = locktype
|
3900
|
+
@LockLevel = locklevel
|
3901
|
+
@DataOperationType = dataoperationtype
|
3902
|
+
@IsAcid = isacid
|
3903
|
+
@IsDynamicPartitionWrite = isdynamicpartitionwrite
|
3904
|
+
end
|
3905
|
+
|
3906
|
+
def deserialize(params)
|
3907
|
+
@DbName = params['DbName']
|
3908
|
+
@TableName = params['TableName']
|
3909
|
+
@Partition = params['Partition']
|
3910
|
+
@LockType = params['LockType']
|
3911
|
+
@LockLevel = params['LockLevel']
|
3912
|
+
@DataOperationType = params['DataOperationType']
|
3913
|
+
@IsAcid = params['IsAcid']
|
3914
|
+
@IsDynamicPartitionWrite = params['IsDynamicPartitionWrite']
|
3915
|
+
end
|
3916
|
+
end
|
3917
|
+
|
3918
|
+
# LockMetaData请求参数结构体
|
3919
|
+
class LockMetaDataRequest < TencentCloud::Common::AbstractModel
|
3920
|
+
# @param LockComponentList: 加锁内容
|
3921
|
+
# @type LockComponentList: Array
|
3922
|
+
# @param DatasourceConnectionName: 数据源名称
|
3923
|
+
# @type DatasourceConnectionName: String
|
3924
|
+
# @param TxnId: 事务id
|
3925
|
+
# @type TxnId: Integer
|
3926
|
+
# @param AgentInfo: 客户端信息
|
3927
|
+
# @type AgentInfo: String
|
3928
|
+
# @param Hostname: 主机名
|
3929
|
+
# @type Hostname: String
|
3930
|
+
|
3931
|
+
attr_accessor :LockComponentList, :DatasourceConnectionName, :TxnId, :AgentInfo, :Hostname
|
3932
|
+
|
3933
|
+
def initialize(lockcomponentlist=nil, datasourceconnectionname=nil, txnid=nil, agentinfo=nil, hostname=nil)
|
3934
|
+
@LockComponentList = lockcomponentlist
|
3935
|
+
@DatasourceConnectionName = datasourceconnectionname
|
3936
|
+
@TxnId = txnid
|
3937
|
+
@AgentInfo = agentinfo
|
3938
|
+
@Hostname = hostname
|
3939
|
+
end
|
3940
|
+
|
3941
|
+
def deserialize(params)
|
3942
|
+
unless params['LockComponentList'].nil?
|
3943
|
+
@LockComponentList = []
|
3944
|
+
params['LockComponentList'].each do |i|
|
3945
|
+
lockcomponentinfo_tmp = LockComponentInfo.new
|
3946
|
+
lockcomponentinfo_tmp.deserialize(i)
|
3947
|
+
@LockComponentList << lockcomponentinfo_tmp
|
3948
|
+
end
|
3949
|
+
end
|
3950
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
3951
|
+
@TxnId = params['TxnId']
|
3952
|
+
@AgentInfo = params['AgentInfo']
|
3953
|
+
@Hostname = params['Hostname']
|
3954
|
+
end
|
3955
|
+
end
|
3956
|
+
|
3957
|
+
# LockMetaData返回参数结构体
|
3958
|
+
class LockMetaDataResponse < TencentCloud::Common::AbstractModel
|
3959
|
+
# @param LockId: 锁id
|
3960
|
+
# @type LockId: Integer
|
3961
|
+
# @param LockState: 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED
|
3962
|
+
# @type LockState: String
|
3963
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3964
|
+
# @type RequestId: String
|
3965
|
+
|
3966
|
+
attr_accessor :LockId, :LockState, :RequestId
|
3967
|
+
|
3968
|
+
def initialize(lockid=nil, lockstate=nil, requestid=nil)
|
3969
|
+
@LockId = lockid
|
3970
|
+
@LockState = lockstate
|
3971
|
+
@RequestId = requestid
|
3972
|
+
end
|
3973
|
+
|
3974
|
+
def deserialize(params)
|
3975
|
+
@LockId = params['LockId']
|
3976
|
+
@LockState = params['LockState']
|
3977
|
+
@RequestId = params['RequestId']
|
3978
|
+
end
|
3979
|
+
end
|
3980
|
+
|
2476
3981
|
# ModifySparkApp请求参数结构体
|
2477
3982
|
class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
|
2478
3983
|
# @param AppName: spark应用名
|
@@ -3626,6 +5131,42 @@ module TencentCloud
|
|
3626
5131
|
end
|
3627
5132
|
end
|
3628
5133
|
|
5134
|
+
# UnlockMetaData请求参数结构体
|
5135
|
+
class UnlockMetaDataRequest < TencentCloud::Common::AbstractModel
|
5136
|
+
# @param LockId: 锁ID
|
5137
|
+
# @type LockId: Integer
|
5138
|
+
# @param DatasourceConnectionName: 数据源名称
|
5139
|
+
# @type DatasourceConnectionName: String
|
5140
|
+
|
5141
|
+
attr_accessor :LockId, :DatasourceConnectionName
|
5142
|
+
|
5143
|
+
def initialize(lockid=nil, datasourceconnectionname=nil)
|
5144
|
+
@LockId = lockid
|
5145
|
+
@DatasourceConnectionName = datasourceconnectionname
|
5146
|
+
end
|
5147
|
+
|
5148
|
+
def deserialize(params)
|
5149
|
+
@LockId = params['LockId']
|
5150
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
5151
|
+
end
|
5152
|
+
end
|
5153
|
+
|
5154
|
+
# UnlockMetaData返回参数结构体
|
5155
|
+
class UnlockMetaDataResponse < TencentCloud::Common::AbstractModel
|
5156
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5157
|
+
# @type RequestId: String
|
5158
|
+
|
5159
|
+
attr_accessor :RequestId
|
5160
|
+
|
5161
|
+
def initialize(requestid=nil)
|
5162
|
+
@RequestId = requestid
|
5163
|
+
end
|
5164
|
+
|
5165
|
+
def deserialize(params)
|
5166
|
+
@RequestId = params['RequestId']
|
5167
|
+
end
|
5168
|
+
end
|
5169
|
+
|
3629
5170
|
# 绑定到同一个工作组的用户Id的集合
|
3630
5171
|
class UserIdSetOfWorkGroupId < TencentCloud::Common::AbstractModel
|
3631
5172
|
# @param WorkGroupId: 工作组Id
|