tencentcloud-sdk-dlc 1.0.345 → 1.0.348
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/client.rb +24 -0
- data/lib/v20210125/models.rb +46 -2
- 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: 6cfed3cc9b59bc48f0d2493e7e4487f4130a118c
|
4
|
+
data.tar.gz: b109b03a502f45216e57083caf0fa8524389fe1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a6bf4789cd9813c27ff6279b7126c1a363ec68b10f32859f68f1b77f377e135549f98b06674c0e9654309a5f7f4c441da1d99b401f7bb3bc19cdb60184b9e14
|
7
|
+
data.tar.gz: d967bfaf8bdb35d498f9e518d8e4c2ccd09b89f4eb1ca9d54cae889e3b40fcfec3618f11b7f23432fb878d4d3f6e24de105baeec6886f69bb3d7012d26de9421
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.348
|
data/lib/v20210125/client.rb
CHANGED
@@ -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.
|
data/lib/v20210125/models.rb
CHANGED
@@ -216,10 +216,12 @@ module TencentCloud
|
|
216
216
|
# @type ViewExpandedText: String
|
217
217
|
# @param Partitions: 分区
|
218
218
|
# @type Partitions: Array
|
219
|
+
# @param Name: 当前表名
|
220
|
+
# @type Name: String
|
219
221
|
|
220
|
-
attr_accessor :CurrentName, :CurrentDbName, :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions
|
222
|
+
attr_accessor :CurrentName, :CurrentDbName, :Asset, :Type, :DbName, :StorageSize, :RecordCount, :LifeTime, :DataUpdateTime, :StructUpdateTime, :LastAccessTime, :Sds, :Columns, :PartitionKeys, :ViewOriginalText, :ViewExpandedText, :Partitions, :Name
|
221
223
|
|
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)
|
224
|
+
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
225
|
@CurrentName = currentname
|
224
226
|
@CurrentDbName = currentdbname
|
225
227
|
@Asset = asset
|
@@ -237,6 +239,7 @@ module TencentCloud
|
|
237
239
|
@ViewOriginalText = vieworiginaltext
|
238
240
|
@ViewExpandedText = viewexpandedtext
|
239
241
|
@Partitions = partitions
|
242
|
+
@Name = name
|
240
243
|
end
|
241
244
|
|
242
245
|
def deserialize(params)
|
@@ -284,6 +287,7 @@ module TencentCloud
|
|
284
287
|
@Partitions << dmspartition_tmp
|
285
288
|
end
|
286
289
|
end
|
290
|
+
@Name = params['Name']
|
287
291
|
end
|
288
292
|
end
|
289
293
|
|
@@ -4328,6 +4332,46 @@ module TencentCloud
|
|
4328
4332
|
end
|
4329
4333
|
end
|
4330
4334
|
|
4335
|
+
# ReportHeartbeatMetaData请求参数结构体
|
4336
|
+
class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
|
4337
|
+
# @param DatasourceConnectionName: 数据源名称
|
4338
|
+
# @type DatasourceConnectionName: String
|
4339
|
+
# @param LockId: 锁ID
|
4340
|
+
# @type LockId: Integer
|
4341
|
+
# @param TxnId: 事务ID
|
4342
|
+
# @type TxnId: Integer
|
4343
|
+
|
4344
|
+
attr_accessor :DatasourceConnectionName, :LockId, :TxnId
|
4345
|
+
|
4346
|
+
def initialize(datasourceconnectionname=nil, lockid=nil, txnid=nil)
|
4347
|
+
@DatasourceConnectionName = datasourceconnectionname
|
4348
|
+
@LockId = lockid
|
4349
|
+
@TxnId = txnid
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
def deserialize(params)
|
4353
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
4354
|
+
@LockId = params['LockId']
|
4355
|
+
@TxnId = params['TxnId']
|
4356
|
+
end
|
4357
|
+
end
|
4358
|
+
|
4359
|
+
# ReportHeartbeatMetaData返回参数结构体
|
4360
|
+
class ReportHeartbeatMetaDataResponse < TencentCloud::Common::AbstractModel
|
4361
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4362
|
+
# @type RequestId: String
|
4363
|
+
|
4364
|
+
attr_accessor :RequestId
|
4365
|
+
|
4366
|
+
def initialize(requestid=nil)
|
4367
|
+
@RequestId = requestid
|
4368
|
+
end
|
4369
|
+
|
4370
|
+
def deserialize(params)
|
4371
|
+
@RequestId = params['RequestId']
|
4372
|
+
end
|
4373
|
+
end
|
4374
|
+
|
4331
4375
|
# SQL查询任务
|
4332
4376
|
class SQLTask < TencentCloud::Common::AbstractModel
|
4333
4377
|
# @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.
|
4
|
+
version: 1.0.348
|
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-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|