tencentcloud-sdk-dlc 1.0.346 → 1.0.347

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 248f4baa813fa5f2878cb7491cf01b41b225c720
4
- data.tar.gz: 9e34a4dffe22ea321550f583d0084439f4407d52
3
+ metadata.gz: 9c5f2621f8b3f37f8950d03f7e36c961b41587ef
4
+ data.tar.gz: e11a325af7a04bc49678b58c020710a85992a187
5
5
  SHA512:
6
- metadata.gz: 44929b11e02239f81e94d2603386d2e0e61c1852d0b64b4aab17d720323aae6ca267d3b0cf0a5d13cd759b94abb4815222e0667138be1ec056e0b534b68c1af1
7
- data.tar.gz: 5cf364b7defecd835e723c2a9c5a7f92627358d88774da7e448e3c0240009f4f5ffd5e65810a6d82ca98b7c7ec6b9852afecaf4c5f824f96f5927e83080377f9
6
+ metadata.gz: beac40d4f0896386795de58e29281c051d25d50b10cf49d8e6675eb0eee2e32bd112c24cd079bfacbba955126ca46d0df2bc5f6afa9800f98c5d041235532d8b
7
+ data.tar.gz: 0cc7c60d7e86bedf7be06033f5869f7326cb5e4e42569eac73f6a1da7ee8c33eecbc261afb7ad0c10a978254db87f7c8767ea3b1f2e2e87df14e786931d7c4ac
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.346
1
+ 1.0.347
@@ -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.
@@ -4328,6 +4328,46 @@ module TencentCloud
4328
4328
  end
4329
4329
  end
4330
4330
 
4331
+ # ReportHeartbeatMetaData请求参数结构体
4332
+ class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
4333
+ # @param DatasourceConnectionName: 数据源名称
4334
+ # @type DatasourceConnectionName: String
4335
+ # @param LockId: 锁ID
4336
+ # @type LockId: Integer
4337
+ # @param TxnId: 事务ID
4338
+ # @type TxnId: Integer
4339
+
4340
+ attr_accessor :DatasourceConnectionName, :LockId, :TxnId
4341
+
4342
+ def initialize(datasourceconnectionname=nil, lockid=nil, txnid=nil)
4343
+ @DatasourceConnectionName = datasourceconnectionname
4344
+ @LockId = lockid
4345
+ @TxnId = txnid
4346
+ end
4347
+
4348
+ def deserialize(params)
4349
+ @DatasourceConnectionName = params['DatasourceConnectionName']
4350
+ @LockId = params['LockId']
4351
+ @TxnId = params['TxnId']
4352
+ end
4353
+ end
4354
+
4355
+ # ReportHeartbeatMetaData返回参数结构体
4356
+ class ReportHeartbeatMetaDataResponse < TencentCloud::Common::AbstractModel
4357
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4358
+ # @type RequestId: String
4359
+
4360
+ attr_accessor :RequestId
4361
+
4362
+ def initialize(requestid=nil)
4363
+ @RequestId = requestid
4364
+ end
4365
+
4366
+ def deserialize(params)
4367
+ @RequestId = params['RequestId']
4368
+ end
4369
+ end
4370
+
4331
4371
  # SQL查询任务
4332
4372
  class SQLTask < TencentCloud::Common::AbstractModel
4333
4373
  # @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.347
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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common