tencentcloud-sdk-dlc 3.0.1125 → 3.0.1136
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 +102 -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: 057a981d5954ecf70eca5d077cd302b6e030a7b5
|
4
|
+
data.tar.gz: 2758599c22d1bb3358b7de527a630402208a3f72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79281bd14100248f275f6cc9c4469b0e5f6972a5e313b931d23479973abae293e505806507bb160f82d0c5d132dbee5956d82d9109c87147a31ce516454aa2d8
|
7
|
+
data.tar.gz: e8817f8cc67e103bb019d8833300902e1ebfc80c654f38de22126aaff3220b46651dce6c1ae665adaddd7995175e361de33d96128ec56bcecae629204a277def
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1136
|
data/lib/v20210125/client.rb
CHANGED
@@ -1111,6 +1111,30 @@ module TencentCloud
|
|
1111
1111
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1112
1112
|
end
|
1113
1113
|
|
1114
|
+
# 创建TIceberg表
|
1115
|
+
|
1116
|
+
# @param request: Request instance for CreateTcIcebergTable.
|
1117
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateTcIcebergTableRequest`
|
1118
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateTcIcebergTableResponse`
|
1119
|
+
def CreateTcIcebergTable(request)
|
1120
|
+
body = send_request('CreateTcIcebergTable', request.serialize)
|
1121
|
+
response = JSON.parse(body)
|
1122
|
+
if response['Response'].key?('Error') == false
|
1123
|
+
model = CreateTcIcebergTableResponse.new
|
1124
|
+
model.deserialize(response['Response'])
|
1125
|
+
model
|
1126
|
+
else
|
1127
|
+
code = response['Response']['Error']['Code']
|
1128
|
+
message = response['Response']['Error']['Message']
|
1129
|
+
reqid = response['Response']['RequestId']
|
1130
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1131
|
+
end
|
1132
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1133
|
+
raise e
|
1134
|
+
rescue StandardError => e
|
1135
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1136
|
+
end
|
1137
|
+
|
1114
1138
|
# 创建用户
|
1115
1139
|
|
1116
1140
|
# @param request: Request instance for CreateUser.
|
data/lib/v20210125/models.rb
CHANGED
@@ -1873,8 +1873,8 @@ module TencentCloud
|
|
1873
1873
|
|
1874
1874
|
attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate, :AutoAuthorization, :EngineNetworkId, :EngineGeneration
|
1875
1875
|
extend Gem::Deprecate
|
1876
|
-
deprecate :DefaultDataEngine, :none, 2025,
|
1877
|
-
deprecate :DefaultDataEngine=, :none, 2025,
|
1876
|
+
deprecate :DefaultDataEngine, :none, 2025, 9
|
1877
|
+
deprecate :DefaultDataEngine=, :none, 2025, 9
|
1878
1878
|
|
1879
1879
|
def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil, autoauthorization=nil, enginenetworkid=nil, enginegeneration=nil)
|
1880
1880
|
@EngineType = enginetype
|
@@ -3411,6 +3411,90 @@ module TencentCloud
|
|
3411
3411
|
end
|
3412
3412
|
end
|
3413
3413
|
|
3414
|
+
# CreateTcIcebergTable请求参数结构体
|
3415
|
+
class CreateTcIcebergTableRequest < TencentCloud::Common::AbstractModel
|
3416
|
+
# @param TableBaseInfo: 表基本信息
|
3417
|
+
# @type TableBaseInfo: :class:`Tencentcloud::Dlc.v20210125.models.TableBaseInfo`
|
3418
|
+
# @param Columns: 表字段信息
|
3419
|
+
# @type Columns: Array
|
3420
|
+
# @param DryRun: 为true时只获取sql而不执行
|
3421
|
+
# @type DryRun: Boolean
|
3422
|
+
# @param Partitions: 表分区信息
|
3423
|
+
# @type Partitions: Array
|
3424
|
+
# @param Properties: 表属性信息
|
3425
|
+
# @type Properties: Array
|
3426
|
+
|
3427
|
+
attr_accessor :TableBaseInfo, :Columns, :DryRun, :Partitions, :Properties
|
3428
|
+
|
3429
|
+
def initialize(tablebaseinfo=nil, columns=nil, dryrun=nil, partitions=nil, properties=nil)
|
3430
|
+
@TableBaseInfo = tablebaseinfo
|
3431
|
+
@Columns = columns
|
3432
|
+
@DryRun = dryrun
|
3433
|
+
@Partitions = partitions
|
3434
|
+
@Properties = properties
|
3435
|
+
end
|
3436
|
+
|
3437
|
+
def deserialize(params)
|
3438
|
+
unless params['TableBaseInfo'].nil?
|
3439
|
+
@TableBaseInfo = TableBaseInfo.new
|
3440
|
+
@TableBaseInfo.deserialize(params['TableBaseInfo'])
|
3441
|
+
end
|
3442
|
+
unless params['Columns'].nil?
|
3443
|
+
@Columns = []
|
3444
|
+
params['Columns'].each do |i|
|
3445
|
+
tcolumn_tmp = TColumn.new
|
3446
|
+
tcolumn_tmp.deserialize(i)
|
3447
|
+
@Columns << tcolumn_tmp
|
3448
|
+
end
|
3449
|
+
end
|
3450
|
+
@DryRun = params['DryRun']
|
3451
|
+
unless params['Partitions'].nil?
|
3452
|
+
@Partitions = []
|
3453
|
+
params['Partitions'].each do |i|
|
3454
|
+
tpartition_tmp = TPartition.new
|
3455
|
+
tpartition_tmp.deserialize(i)
|
3456
|
+
@Partitions << tpartition_tmp
|
3457
|
+
end
|
3458
|
+
end
|
3459
|
+
unless params['Properties'].nil?
|
3460
|
+
@Properties = []
|
3461
|
+
params['Properties'].each do |i|
|
3462
|
+
property_tmp = Property.new
|
3463
|
+
property_tmp.deserialize(i)
|
3464
|
+
@Properties << property_tmp
|
3465
|
+
end
|
3466
|
+
end
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
# CreateTcIcebergTable返回参数结构体
|
3471
|
+
class CreateTcIcebergTableResponse < TencentCloud::Common::AbstractModel
|
3472
|
+
# @param SessionId: amoro的SessionId
|
3473
|
+
# @type SessionId: String
|
3474
|
+
# @param SQL: 执行的sql
|
3475
|
+
# @type SQL: String
|
3476
|
+
# @param DryRun: 为true时只返回sql而不实际执行
|
3477
|
+
# @type DryRun: Boolean
|
3478
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3479
|
+
# @type RequestId: String
|
3480
|
+
|
3481
|
+
attr_accessor :SessionId, :SQL, :DryRun, :RequestId
|
3482
|
+
|
3483
|
+
def initialize(sessionid=nil, sql=nil, dryrun=nil, requestid=nil)
|
3484
|
+
@SessionId = sessionid
|
3485
|
+
@SQL = sql
|
3486
|
+
@DryRun = dryrun
|
3487
|
+
@RequestId = requestid
|
3488
|
+
end
|
3489
|
+
|
3490
|
+
def deserialize(params)
|
3491
|
+
@SessionId = params['SessionId']
|
3492
|
+
@SQL = params['SQL']
|
3493
|
+
@DryRun = params['DryRun']
|
3494
|
+
@RequestId = params['RequestId']
|
3495
|
+
end
|
3496
|
+
end
|
3497
|
+
|
3414
3498
|
# CreateUser请求参数结构体
|
3415
3499
|
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
3416
3500
|
# @param UserId: 需要授权的子用户uin,可以通过腾讯云控制台右上角 → “账号信息” → “账号ID进行查看”。
|
@@ -3504,16 +3588,20 @@ module TencentCloud
|
|
3504
3588
|
|
3505
3589
|
# CreateUserVpcConnection返回参数结构体
|
3506
3590
|
class CreateUserVpcConnectionResponse < TencentCloud::Common::AbstractModel
|
3591
|
+
# @param UserVpcEndpointId: 终端节点IP
|
3592
|
+
# @type UserVpcEndpointId: String
|
3507
3593
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3508
3594
|
# @type RequestId: String
|
3509
3595
|
|
3510
|
-
attr_accessor :RequestId
|
3596
|
+
attr_accessor :UserVpcEndpointId, :RequestId
|
3511
3597
|
|
3512
|
-
def initialize(requestid=nil)
|
3598
|
+
def initialize(uservpcendpointid=nil, requestid=nil)
|
3599
|
+
@UserVpcEndpointId = uservpcendpointid
|
3513
3600
|
@RequestId = requestid
|
3514
3601
|
end
|
3515
3602
|
|
3516
3603
|
def deserialize(params)
|
3604
|
+
@UserVpcEndpointId = params['UserVpcEndpointId']
|
3517
3605
|
@RequestId = params['RequestId']
|
3518
3606
|
end
|
3519
3607
|
end
|
@@ -9878,17 +9966,21 @@ module TencentCloud
|
|
9878
9966
|
# @type EngineNetworkId: String
|
9879
9967
|
# @param DataEngineIds: 引擎ID集合
|
9880
9968
|
# @type DataEngineIds: Array
|
9969
|
+
# @param UserVpcEndpointIds: 终端节点ID集合
|
9970
|
+
# @type UserVpcEndpointIds: Array
|
9881
9971
|
|
9882
|
-
attr_accessor :EngineNetworkId, :DataEngineIds
|
9972
|
+
attr_accessor :EngineNetworkId, :DataEngineIds, :UserVpcEndpointIds
|
9883
9973
|
|
9884
|
-
def initialize(enginenetworkid=nil, dataengineids=nil)
|
9974
|
+
def initialize(enginenetworkid=nil, dataengineids=nil, uservpcendpointids=nil)
|
9885
9975
|
@EngineNetworkId = enginenetworkid
|
9886
9976
|
@DataEngineIds = dataengineids
|
9977
|
+
@UserVpcEndpointIds = uservpcendpointids
|
9887
9978
|
end
|
9888
9979
|
|
9889
9980
|
def deserialize(params)
|
9890
9981
|
@EngineNetworkId = params['EngineNetworkId']
|
9891
9982
|
@DataEngineIds = params['DataEngineIds']
|
9983
|
+
@UserVpcEndpointIds = params['UserVpcEndpointIds']
|
9892
9984
|
end
|
9893
9985
|
end
|
9894
9986
|
|
@@ -14800,10 +14892,10 @@ module TencentCloud
|
|
14800
14892
|
|
14801
14893
|
attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy, :PrimaryKeys
|
14802
14894
|
extend Gem::Deprecate
|
14803
|
-
deprecate :GovernPolicy, :none, 2025,
|
14804
|
-
deprecate :GovernPolicy=, :none, 2025,
|
14805
|
-
deprecate :DbGovernPolicyIsDisable, :none, 2025,
|
14806
|
-
deprecate :DbGovernPolicyIsDisable=, :none, 2025,
|
14895
|
+
deprecate :GovernPolicy, :none, 2025, 9
|
14896
|
+
deprecate :GovernPolicy=, :none, 2025, 9
|
14897
|
+
deprecate :DbGovernPolicyIsDisable, :none, 2025, 9
|
14898
|
+
deprecate :DbGovernPolicyIsDisable=, :none, 2025, 9
|
14807
14899
|
|
14808
14900
|
def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil, smartpolicy=nil, primarykeys=nil)
|
14809
14901
|
@DatabaseName = databasename
|
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: 3.0.
|
4
|
+
version: 3.0.1136
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|