tencentcloud-sdk-dlc 3.0.1127 → 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 +90 -6
- 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进行查看”。
|
@@ -14808,10 +14892,10 @@ module TencentCloud
|
|
14808
14892
|
|
14809
14893
|
attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy, :PrimaryKeys
|
14810
14894
|
extend Gem::Deprecate
|
14811
|
-
deprecate :GovernPolicy, :none, 2025,
|
14812
|
-
deprecate :GovernPolicy=, :none, 2025,
|
14813
|
-
deprecate :DbGovernPolicyIsDisable, :none, 2025,
|
14814
|
-
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
|
14815
14899
|
|
14816
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)
|
14817
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
|