tencentcloud-sdk-dlc 1.0.348 → 1.0.349
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/models.rb +180 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 363ff959d8a9e3623642e577cad47b74ddc2d5bc
|
4
|
+
data.tar.gz: 561f732c0e3c6470b0b47ca8231d2deb91adb1d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6c5808060e26c695f814435aec9f6f6ea5510bb885db29a811cd313bfb23d1f9751a1a80ad06452f2700f33543700afc2b8027770e04a6058502eb6155bdb1
|
7
|
+
data.tar.gz: 874d33e4129d391dd1e18cb11b8f50b422230d420392d19956b4cda2d16c8b3e6ca951ed5c3c80b1739c431dacac8a27aae10de0cb877cc8a4e8cac6041115e8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.349
|
data/lib/v20210125/models.rb
CHANGED
@@ -108,12 +108,32 @@ module TencentCloud
|
|
108
108
|
|
109
109
|
# AlterDMSDatabase请求参数结构体
|
110
110
|
class AlterDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
111
|
+
# @param CurrentName: 当前名称
|
112
|
+
# @type CurrentName: String
|
113
|
+
# @param SchemaName: schema名称
|
114
|
+
# @type SchemaName: String
|
115
|
+
# @param Location: 路径
|
116
|
+
# @type Location: String
|
117
|
+
# @param Asset: 基础对象
|
118
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
111
119
|
|
120
|
+
attr_accessor :CurrentName, :SchemaName, :Location, :Asset
|
112
121
|
|
113
|
-
def initialize()
|
122
|
+
def initialize(currentname=nil, schemaname=nil, location=nil, asset=nil)
|
123
|
+
@CurrentName = currentname
|
124
|
+
@SchemaName = schemaname
|
125
|
+
@Location = location
|
126
|
+
@Asset = asset
|
114
127
|
end
|
115
128
|
|
116
129
|
def deserialize(params)
|
130
|
+
@CurrentName = params['CurrentName']
|
131
|
+
@SchemaName = params['SchemaName']
|
132
|
+
@Location = params['Location']
|
133
|
+
unless params['Asset'].nil?
|
134
|
+
@Asset = Asset.new
|
135
|
+
@Asset.deserialize(params['Asset'])
|
136
|
+
end
|
117
137
|
end
|
118
138
|
end
|
119
139
|
|
@@ -309,12 +329,94 @@ module TencentCloud
|
|
309
329
|
|
310
330
|
# 元数据基本对象
|
311
331
|
class Asset < TencentCloud::Common::AbstractModel
|
332
|
+
# @param Id: 主键
|
333
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
334
|
+
# @type Id: Integer
|
335
|
+
# @param Name: 名称
|
336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
337
|
+
# @type Name: String
|
338
|
+
# @param Guid: 对象GUID值
|
339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
340
|
+
# @type Guid: String
|
341
|
+
# @param Catalog: 数据目录
|
342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
343
|
+
# @type Catalog: String
|
344
|
+
# @param Description: 描述信息
|
345
|
+
# @type Description: String
|
346
|
+
# @param Owner: 对象owner
|
347
|
+
# @type Owner: String
|
348
|
+
# @param OwnerAccount: 对象owner账户
|
349
|
+
# @type OwnerAccount: String
|
350
|
+
# @param PermValues: 权限
|
351
|
+
# @type PermValues: Array
|
352
|
+
# @param Params: 附加属性
|
353
|
+
# @type Params: Array
|
354
|
+
# @param BizParams: 附加业务属性
|
355
|
+
# @type BizParams: Array
|
356
|
+
# @param DataVersion: 数据版本
|
357
|
+
# @type DataVersion: Integer
|
358
|
+
# @param CreateTime: 创建时间
|
359
|
+
# @type CreateTime: String
|
360
|
+
# @param ModifiedTime: 修改时间
|
361
|
+
# @type ModifiedTime: String
|
362
|
+
# @param DatasourceId: 数据源主键
|
363
|
+
# @type DatasourceId: Integer
|
312
364
|
|
365
|
+
attr_accessor :Id, :Name, :Guid, :Catalog, :Description, :Owner, :OwnerAccount, :PermValues, :Params, :BizParams, :DataVersion, :CreateTime, :ModifiedTime, :DatasourceId
|
313
366
|
|
314
|
-
def initialize()
|
367
|
+
def initialize(id=nil, name=nil, guid=nil, catalog=nil, description=nil, owner=nil, owneraccount=nil, permvalues=nil, params=nil, bizparams=nil, dataversion=nil, createtime=nil, modifiedtime=nil, datasourceid=nil)
|
368
|
+
@Id = id
|
369
|
+
@Name = name
|
370
|
+
@Guid = guid
|
371
|
+
@Catalog = catalog
|
372
|
+
@Description = description
|
373
|
+
@Owner = owner
|
374
|
+
@OwnerAccount = owneraccount
|
375
|
+
@PermValues = permvalues
|
376
|
+
@Params = params
|
377
|
+
@BizParams = bizparams
|
378
|
+
@DataVersion = dataversion
|
379
|
+
@CreateTime = createtime
|
380
|
+
@ModifiedTime = modifiedtime
|
381
|
+
@DatasourceId = datasourceid
|
315
382
|
end
|
316
383
|
|
317
384
|
def deserialize(params)
|
385
|
+
@Id = params['Id']
|
386
|
+
@Name = params['Name']
|
387
|
+
@Guid = params['Guid']
|
388
|
+
@Catalog = params['Catalog']
|
389
|
+
@Description = params['Description']
|
390
|
+
@Owner = params['Owner']
|
391
|
+
@OwnerAccount = params['OwnerAccount']
|
392
|
+
unless params['PermValues'].nil?
|
393
|
+
@PermValues = []
|
394
|
+
params['PermValues'].each do |i|
|
395
|
+
kvpair_tmp = KVPair.new
|
396
|
+
kvpair_tmp.deserialize(i)
|
397
|
+
@PermValues << kvpair_tmp
|
398
|
+
end
|
399
|
+
end
|
400
|
+
unless params['Params'].nil?
|
401
|
+
@Params = []
|
402
|
+
params['Params'].each do |i|
|
403
|
+
kvpair_tmp = KVPair.new
|
404
|
+
kvpair_tmp.deserialize(i)
|
405
|
+
@Params << kvpair_tmp
|
406
|
+
end
|
407
|
+
end
|
408
|
+
unless params['BizParams'].nil?
|
409
|
+
@BizParams = []
|
410
|
+
params['BizParams'].each do |i|
|
411
|
+
kvpair_tmp = KVPair.new
|
412
|
+
kvpair_tmp.deserialize(i)
|
413
|
+
@BizParams << kvpair_tmp
|
414
|
+
end
|
415
|
+
end
|
416
|
+
@DataVersion = params['DataVersion']
|
417
|
+
@CreateTime = params['CreateTime']
|
418
|
+
@ModifiedTime = params['ModifiedTime']
|
419
|
+
@DatasourceId = params['DatasourceId']
|
318
420
|
end
|
319
421
|
end
|
320
422
|
|
@@ -643,16 +745,31 @@ module TencentCloud
|
|
643
745
|
|
644
746
|
# CreateDMSDatabase请求参数结构体
|
645
747
|
class CreateDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
748
|
+
# @param Asset: 基础元数据对象
|
749
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
750
|
+
# @param SchemaName: Schema目录
|
751
|
+
# @type SchemaName: String
|
752
|
+
# @param Location: Db存储路径
|
753
|
+
# @type Location: String
|
646
754
|
# @param Name: 数据库名称
|
647
755
|
# @type Name: String
|
648
756
|
|
649
|
-
attr_accessor :Name
|
757
|
+
attr_accessor :Asset, :SchemaName, :Location, :Name
|
650
758
|
|
651
|
-
def initialize(name=nil)
|
759
|
+
def initialize(asset=nil, schemaname=nil, location=nil, name=nil)
|
760
|
+
@Asset = asset
|
761
|
+
@SchemaName = schemaname
|
762
|
+
@Location = location
|
652
763
|
@Name = name
|
653
764
|
end
|
654
765
|
|
655
766
|
def deserialize(params)
|
767
|
+
unless params['Asset'].nil?
|
768
|
+
@Asset = Asset.new
|
769
|
+
@Asset.deserialize(params['Asset'])
|
770
|
+
end
|
771
|
+
@SchemaName = params['SchemaName']
|
772
|
+
@Location = params['Location']
|
656
773
|
@Name = params['Name']
|
657
774
|
end
|
658
775
|
end
|
@@ -2237,27 +2354,63 @@ module TencentCloud
|
|
2237
2354
|
|
2238
2355
|
# DescribeDMSDatabase请求参数结构体
|
2239
2356
|
class DescribeDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
2357
|
+
# @param Name: 数据库名称
|
2358
|
+
# @type Name: String
|
2359
|
+
# @param SchemaName: schema名称
|
2360
|
+
# @type SchemaName: String
|
2361
|
+
# @param Pattern: 匹配规则
|
2362
|
+
# @type Pattern: String
|
2240
2363
|
|
2364
|
+
attr_accessor :Name, :SchemaName, :Pattern
|
2241
2365
|
|
2242
|
-
def initialize()
|
2366
|
+
def initialize(name=nil, schemaname=nil, pattern=nil)
|
2367
|
+
@Name = name
|
2368
|
+
@SchemaName = schemaname
|
2369
|
+
@Pattern = pattern
|
2243
2370
|
end
|
2244
2371
|
|
2245
2372
|
def deserialize(params)
|
2373
|
+
@Name = params['Name']
|
2374
|
+
@SchemaName = params['SchemaName']
|
2375
|
+
@Pattern = params['Pattern']
|
2246
2376
|
end
|
2247
2377
|
end
|
2248
2378
|
|
2249
2379
|
# DescribeDMSDatabase返回参数结构体
|
2250
2380
|
class DescribeDMSDatabaseResponse < TencentCloud::Common::AbstractModel
|
2381
|
+
# @param Name: 数据库名称
|
2382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2383
|
+
# @type Name: String
|
2384
|
+
# @param SchemaName: schema名称
|
2385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2386
|
+
# @type SchemaName: String
|
2387
|
+
# @param Location: 存储地址
|
2388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2389
|
+
# @type Location: String
|
2390
|
+
# @param Asset: 数据对象
|
2391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2392
|
+
# @type Asset: :class:`Tencentcloud::Dlc.v20210125.models.Asset`
|
2251
2393
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2252
2394
|
# @type RequestId: String
|
2253
2395
|
|
2254
|
-
attr_accessor :RequestId
|
2396
|
+
attr_accessor :Name, :SchemaName, :Location, :Asset, :RequestId
|
2255
2397
|
|
2256
|
-
def initialize(requestid=nil)
|
2398
|
+
def initialize(name=nil, schemaname=nil, location=nil, asset=nil, requestid=nil)
|
2399
|
+
@Name = name
|
2400
|
+
@SchemaName = schemaname
|
2401
|
+
@Location = location
|
2402
|
+
@Asset = asset
|
2257
2403
|
@RequestId = requestid
|
2258
2404
|
end
|
2259
2405
|
|
2260
2406
|
def deserialize(params)
|
2407
|
+
@Name = params['Name']
|
2408
|
+
@SchemaName = params['SchemaName']
|
2409
|
+
@Location = params['Location']
|
2410
|
+
unless params['Asset'].nil?
|
2411
|
+
@Asset = Asset.new
|
2412
|
+
@Asset.deserialize(params['Asset'])
|
2413
|
+
end
|
2261
2414
|
@RequestId = params['RequestId']
|
2262
2415
|
end
|
2263
2416
|
end
|
@@ -2286,10 +2439,12 @@ module TencentCloud
|
|
2286
2439
|
# @type Offset: Integer
|
2287
2440
|
# @param Limit: 页面数量
|
2288
2441
|
# @type Limit: Integer
|
2442
|
+
# @param Expression: 表达式
|
2443
|
+
# @type Expression: String
|
2289
2444
|
|
2290
|
-
attr_accessor :DatabaseName, :TableName, :SchemaName, :Name, :Values, :PartitionNames, :PartValues, :Filter, :MaxParts, :Offset, :Limit
|
2445
|
+
attr_accessor :DatabaseName, :TableName, :SchemaName, :Name, :Values, :PartitionNames, :PartValues, :Filter, :MaxParts, :Offset, :Limit, :Expression
|
2291
2446
|
|
2292
|
-
def initialize(databasename=nil, tablename=nil, schemaname=nil, name=nil, values=nil, partitionnames=nil, partvalues=nil, filter=nil, maxparts=nil, offset=nil, limit=nil)
|
2447
|
+
def initialize(databasename=nil, tablename=nil, schemaname=nil, name=nil, values=nil, partitionnames=nil, partvalues=nil, filter=nil, maxparts=nil, offset=nil, limit=nil, expression=nil)
|
2293
2448
|
@DatabaseName = databasename
|
2294
2449
|
@TableName = tablename
|
2295
2450
|
@SchemaName = schemaname
|
@@ -2301,6 +2456,7 @@ module TencentCloud
|
|
2301
2456
|
@MaxParts = maxparts
|
2302
2457
|
@Offset = offset
|
2303
2458
|
@Limit = limit
|
2459
|
+
@Expression = expression
|
2304
2460
|
end
|
2305
2461
|
|
2306
2462
|
def deserialize(params)
|
@@ -2315,6 +2471,7 @@ module TencentCloud
|
|
2315
2471
|
@MaxParts = params['MaxParts']
|
2316
2472
|
@Offset = params['Offset']
|
2317
2473
|
@Limit = params['Limit']
|
2474
|
+
@Expression = params['Expression']
|
2318
2475
|
end
|
2319
2476
|
end
|
2320
2477
|
|
@@ -3587,12 +3744,25 @@ module TencentCloud
|
|
3587
3744
|
|
3588
3745
|
# DropDMSDatabase请求参数结构体
|
3589
3746
|
class DropDMSDatabaseRequest < TencentCloud::Common::AbstractModel
|
3747
|
+
# @param Name: 数据库名称
|
3748
|
+
# @type Name: String
|
3749
|
+
# @param DeleteData: 是否删除数据
|
3750
|
+
# @type DeleteData: Boolean
|
3751
|
+
# @param Cascade: 是否级联删除
|
3752
|
+
# @type Cascade: Boolean
|
3590
3753
|
|
3754
|
+
attr_accessor :Name, :DeleteData, :Cascade
|
3591
3755
|
|
3592
|
-
def initialize()
|
3756
|
+
def initialize(name=nil, deletedata=nil, cascade=nil)
|
3757
|
+
@Name = name
|
3758
|
+
@DeleteData = deletedata
|
3759
|
+
@Cascade = cascade
|
3593
3760
|
end
|
3594
3761
|
|
3595
3762
|
def deserialize(params)
|
3763
|
+
@Name = params['Name']
|
3764
|
+
@DeleteData = params['DeleteData']
|
3765
|
+
@Cascade = params['Cascade']
|
3596
3766
|
end
|
3597
3767
|
end
|
3598
3768
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.349
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|