tencentcloud-sdk-dlc 1.0.346 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 248f4baa813fa5f2878cb7491cf01b41b225c720
4
- data.tar.gz: 9e34a4dffe22ea321550f583d0084439f4407d52
3
+ metadata.gz: 363ff959d8a9e3623642e577cad47b74ddc2d5bc
4
+ data.tar.gz: 561f732c0e3c6470b0b47ca8231d2deb91adb1d7
5
5
  SHA512:
6
- metadata.gz: 44929b11e02239f81e94d2603386d2e0e61c1852d0b64b4aab17d720323aae6ca267d3b0cf0a5d13cd759b94abb4815222e0667138be1ec056e0b534b68c1af1
7
- data.tar.gz: 5cf364b7defecd835e723c2a9c5a7f92627358d88774da7e448e3c0240009f4f5ffd5e65810a6d82ca98b7c7ec6b9852afecaf4c5f824f96f5927e83080377f9
6
+ metadata.gz: be6c5808060e26c695f814435aec9f6f6ea5510bb885db29a811cd313bfb23d1f9751a1a80ad06452f2700f33543700afc2b8027770e04a6058502eb6155bdb1
7
+ data.tar.gz: 874d33e4129d391dd1e18cb11b8f50b422230d420392d19956b4cda2d16c8b3e6ca951ed5c3c80b1739c431dacac8a27aae10de0cb877cc8a4e8cac6041115e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.346
1
+ 1.0.349
@@ -1397,6 +1397,30 @@ module TencentCloud
1397
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
1398
  end
1399
1399
 
1400
+ # 上报元数据心跳
1401
+
1402
+ # @param request: Request instance for ReportHeartbeatMetaData.
1403
+ # @type request: :class:`Tencentcloud::dlc::V20210125::ReportHeartbeatMetaDataRequest`
1404
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::ReportHeartbeatMetaDataResponse`
1405
+ def ReportHeartbeatMetaData(request)
1406
+ body = send_request('ReportHeartbeatMetaData', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = ReportHeartbeatMetaDataResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1400
1424
  # 解绑用户上的用户组
1401
1425
 
1402
1426
  # @param request: Request instance for UnbindWorkGroupsFromUser.
@@ -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
 
@@ -216,10 +236,12 @@ module TencentCloud
216
236
  # @type ViewExpandedText: String
217
237
  # @param Partitions: 分区
218
238
  # @type Partitions: Array
239
+ # @param Name: 当前表名
240
+ # @type Name: String
219
241
 
220
- attr_accessor :CurrentName, :CurrentDbName, :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions
242
+ attr_accessor :CurrentName, :CurrentDbName, :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions, :Name
221
243
 
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)
244
+ 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, name=nil)
223
245
  @CurrentName = currentname
224
246
  @CurrentDbName = currentdbname
225
247
  @Asset = asset
@@ -237,6 +259,7 @@ module TencentCloud
237
259
  @ViewOriginalText = vieworiginaltext
238
260
  @ViewExpandedText = viewexpandedtext
239
261
  @Partitions = partitions
262
+ @Name = name
240
263
  end
241
264
 
242
265
  def deserialize(params)
@@ -284,6 +307,7 @@ module TencentCloud
284
307
  @Partitions << dmspartition_tmp
285
308
  end
286
309
  end
310
+ @Name = params['Name']
287
311
  end
288
312
  end
289
313
 
@@ -305,12 +329,94 @@ module TencentCloud
305
329
 
306
330
  # 元数据基本对象
307
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
308
364
 
365
+ attr_accessor :Id, :Name, :Guid, :Catalog, :Description, :Owner, :OwnerAccount, :PermValues, :Params, :BizParams, :DataVersion, :CreateTime, :ModifiedTime, :DatasourceId
309
366
 
310
- 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
311
382
  end
312
383
 
313
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']
314
420
  end
315
421
  end
316
422
 
@@ -639,16 +745,31 @@ module TencentCloud
639
745
 
640
746
  # CreateDMSDatabase请求参数结构体
641
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
642
754
  # @param Name: 数据库名称
643
755
  # @type Name: String
644
756
 
645
- attr_accessor :Name
757
+ attr_accessor :Asset, :SchemaName, :Location, :Name
646
758
 
647
- def initialize(name=nil)
759
+ def initialize(asset=nil, schemaname=nil, location=nil, name=nil)
760
+ @Asset = asset
761
+ @SchemaName = schemaname
762
+ @Location = location
648
763
  @Name = name
649
764
  end
650
765
 
651
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']
652
773
  @Name = params['Name']
653
774
  end
654
775
  end
@@ -2233,27 +2354,63 @@ module TencentCloud
2233
2354
 
2234
2355
  # DescribeDMSDatabase请求参数结构体
2235
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
2236
2363
 
2364
+ attr_accessor :Name, :SchemaName, :Pattern
2237
2365
 
2238
- def initialize()
2366
+ def initialize(name=nil, schemaname=nil, pattern=nil)
2367
+ @Name = name
2368
+ @SchemaName = schemaname
2369
+ @Pattern = pattern
2239
2370
  end
2240
2371
 
2241
2372
  def deserialize(params)
2373
+ @Name = params['Name']
2374
+ @SchemaName = params['SchemaName']
2375
+ @Pattern = params['Pattern']
2242
2376
  end
2243
2377
  end
2244
2378
 
2245
2379
  # DescribeDMSDatabase返回参数结构体
2246
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`
2247
2393
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2248
2394
  # @type RequestId: String
2249
2395
 
2250
- attr_accessor :RequestId
2396
+ attr_accessor :Name, :SchemaName, :Location, :Asset, :RequestId
2251
2397
 
2252
- 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
2253
2403
  @RequestId = requestid
2254
2404
  end
2255
2405
 
2256
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
2257
2414
  @RequestId = params['RequestId']
2258
2415
  end
2259
2416
  end
@@ -2282,10 +2439,12 @@ module TencentCloud
2282
2439
  # @type Offset: Integer
2283
2440
  # @param Limit: 页面数量
2284
2441
  # @type Limit: Integer
2442
+ # @param Expression: 表达式
2443
+ # @type Expression: String
2285
2444
 
2286
- 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
2287
2446
 
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)
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)
2289
2448
  @DatabaseName = databasename
2290
2449
  @TableName = tablename
2291
2450
  @SchemaName = schemaname
@@ -2297,6 +2456,7 @@ module TencentCloud
2297
2456
  @MaxParts = maxparts
2298
2457
  @Offset = offset
2299
2458
  @Limit = limit
2459
+ @Expression = expression
2300
2460
  end
2301
2461
 
2302
2462
  def deserialize(params)
@@ -2311,6 +2471,7 @@ module TencentCloud
2311
2471
  @MaxParts = params['MaxParts']
2312
2472
  @Offset = params['Offset']
2313
2473
  @Limit = params['Limit']
2474
+ @Expression = params['Expression']
2314
2475
  end
2315
2476
  end
2316
2477
 
@@ -3583,12 +3744,25 @@ module TencentCloud
3583
3744
 
3584
3745
  # DropDMSDatabase请求参数结构体
3585
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
3586
3753
 
3754
+ attr_accessor :Name, :DeleteData, :Cascade
3587
3755
 
3588
- def initialize()
3756
+ def initialize(name=nil, deletedata=nil, cascade=nil)
3757
+ @Name = name
3758
+ @DeleteData = deletedata
3759
+ @Cascade = cascade
3589
3760
  end
3590
3761
 
3591
3762
  def deserialize(params)
3763
+ @Name = params['Name']
3764
+ @DeleteData = params['DeleteData']
3765
+ @Cascade = params['Cascade']
3592
3766
  end
3593
3767
  end
3594
3768
 
@@ -4328,6 +4502,46 @@ module TencentCloud
4328
4502
  end
4329
4503
  end
4330
4504
 
4505
+ # ReportHeartbeatMetaData请求参数结构体
4506
+ class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
4507
+ # @param DatasourceConnectionName: 数据源名称
4508
+ # @type DatasourceConnectionName: String
4509
+ # @param LockId: 锁ID
4510
+ # @type LockId: Integer
4511
+ # @param TxnId: 事务ID
4512
+ # @type TxnId: Integer
4513
+
4514
+ attr_accessor :DatasourceConnectionName, :LockId, :TxnId
4515
+
4516
+ def initialize(datasourceconnectionname=nil, lockid=nil, txnid=nil)
4517
+ @DatasourceConnectionName = datasourceconnectionname
4518
+ @LockId = lockid
4519
+ @TxnId = txnid
4520
+ end
4521
+
4522
+ def deserialize(params)
4523
+ @DatasourceConnectionName = params['DatasourceConnectionName']
4524
+ @LockId = params['LockId']
4525
+ @TxnId = params['TxnId']
4526
+ end
4527
+ end
4528
+
4529
+ # ReportHeartbeatMetaData返回参数结构体
4530
+ class ReportHeartbeatMetaDataResponse < TencentCloud::Common::AbstractModel
4531
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4532
+ # @type RequestId: String
4533
+
4534
+ attr_accessor :RequestId
4535
+
4536
+ def initialize(requestid=nil)
4537
+ @RequestId = requestid
4538
+ end
4539
+
4540
+ def deserialize(params)
4541
+ @RequestId = params['RequestId']
4542
+ end
4543
+ end
4544
+
4331
4545
  # SQL查询任务
4332
4546
  class SQLTask < TencentCloud::Common::AbstractModel
4333
4547
  # @param SQL: base64加密后的SQL语句
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.346
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-01 00:00:00.000000000 Z
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