tencentcloud-sdk-dlc 3.0.1127 → 3.0.1138

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: 80f7163bec27d906119a35b628f7754a4f4d3db9
4
- data.tar.gz: 979a51fae3bb76f3178170cbb210af789e9aa1c2
3
+ metadata.gz: 04af64ed1dd0c1817f1aeb237a26808d17e9d93c
4
+ data.tar.gz: 19b0d5e5bb49d63d9e35a959e98745328e8129ea
5
5
  SHA512:
6
- metadata.gz: abf6d3f2adcd46f579df5f17480e5cc55fe482e3050c75ef2d877f9944f0bb467ac6978c24368a70337fb2ced49c80cd26533d0c7e166e16063b2b48151b3684
7
- data.tar.gz: 41f963f729e2f82f4919eb5e96c2492a6212e52f366917e8031f574ab6099a357242c9d73682a325c175079d18f3d51fd8de3f12f5bae9014bd88c35d6e5098d
6
+ metadata.gz: 4cbd18d0684d816f2b491e0f1a0fdf500b91b9198e535478429d9ac110d180ee98f1178edaeb4844c5eb26b9e3066cda9cefd7bf5887024227a44a2b073d4e6a
7
+ data.tar.gz: cb863f83b25ebc8c0a8f739b953e9aa6a949c3c48f3e8fa4bdddf76d43ded24e4bd62c979f7e2b472ae9fd53ea228e1717342ccc9a4505b673812bff8a44c290
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1127
1
+ 3.0.1138
@@ -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.
@@ -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, 8
1877
- deprecate :DefaultDataEngine=, :none, 2025, 8
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进行查看”。
@@ -8642,27 +8726,74 @@ module TencentCloud
8642
8726
 
8643
8727
  # DescribeTablePartitions请求参数结构体
8644
8728
  class DescribeTablePartitionsRequest < TencentCloud::Common::AbstractModel
8729
+ # @param Catalog: 数据目录名称
8730
+ # @type Catalog: String
8731
+ # @param Database: 数据库名称
8732
+ # @type Database: String
8733
+ # @param Table: 数据表名称
8734
+ # @type Table: String
8735
+ # @param Offset: 查询偏移位置
8736
+ # @type Offset: Integer
8737
+ # @param Limit: 当次查询的数量限制
8738
+ # @type Limit: Integer
8739
+ # @param FuzzyPartition: 模糊查询的分区名称
8740
+ # @type FuzzyPartition: String
8741
+ # @param Sorts: 排序信息
8742
+ # @type Sorts: Array
8743
+ # @param Cursor: 分页查询的游标信息
8744
+ # @type Cursor: String
8645
8745
 
8746
+ attr_accessor :Catalog, :Database, :Table, :Offset, :Limit, :FuzzyPartition, :Sorts, :Cursor
8646
8747
 
8647
- def initialize()
8748
+ def initialize(catalog=nil, database=nil, table=nil, offset=nil, limit=nil, fuzzypartition=nil, sorts=nil, cursor=nil)
8749
+ @Catalog = catalog
8750
+ @Database = database
8751
+ @Table = table
8752
+ @Offset = offset
8753
+ @Limit = limit
8754
+ @FuzzyPartition = fuzzypartition
8755
+ @Sorts = sorts
8756
+ @Cursor = cursor
8648
8757
  end
8649
8758
 
8650
8759
  def deserialize(params)
8760
+ @Catalog = params['Catalog']
8761
+ @Database = params['Database']
8762
+ @Table = params['Table']
8763
+ @Offset = params['Offset']
8764
+ @Limit = params['Limit']
8765
+ @FuzzyPartition = params['FuzzyPartition']
8766
+ unless params['Sorts'].nil?
8767
+ @Sorts = []
8768
+ params['Sorts'].each do |i|
8769
+ sort_tmp = Sort.new
8770
+ sort_tmp.deserialize(i)
8771
+ @Sorts << sort_tmp
8772
+ end
8773
+ end
8774
+ @Cursor = params['Cursor']
8651
8775
  end
8652
8776
  end
8653
8777
 
8654
8778
  # DescribeTablePartitions返回参数结构体
8655
8779
  class DescribeTablePartitionsResponse < TencentCloud::Common::AbstractModel
8780
+ # @param MixedPartitions: 分区信息值
8781
+ # @type MixedPartitions: :class:`Tencentcloud::Dlc.v20210125.models.MixedTablePartitions`
8656
8782
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8657
8783
  # @type RequestId: String
8658
8784
 
8659
- attr_accessor :RequestId
8785
+ attr_accessor :MixedPartitions, :RequestId
8660
8786
 
8661
- def initialize(requestid=nil)
8787
+ def initialize(mixedpartitions=nil, requestid=nil)
8788
+ @MixedPartitions = mixedpartitions
8662
8789
  @RequestId = requestid
8663
8790
  end
8664
8791
 
8665
8792
  def deserialize(params)
8793
+ unless params['MixedPartitions'].nil?
8794
+ @MixedPartitions = MixedTablePartitions.new
8795
+ @MixedPartitions.deserialize(params['MixedPartitions'])
8796
+ end
8666
8797
  @RequestId = params['RequestId']
8667
8798
  end
8668
8799
  end
@@ -11086,6 +11217,42 @@ module TencentCloud
11086
11217
  end
11087
11218
  end
11088
11219
 
11220
+ # Hive表分区信息
11221
+ class HiveTablePartition < TencentCloud::Common::AbstractModel
11222
+ # @param Partition: 分区信息名称
11223
+ # @type Partition: String
11224
+ # @param Records: 分区记录数
11225
+ # @type Records: Integer
11226
+ # @param DataFileStorage: 分区数据文件存储量
11227
+ # @type DataFileStorage: Integer
11228
+ # @param CreateTime: 分区创建时间
11229
+ # @type CreateTime: String
11230
+ # @param ModifiedTime: 分区schema更新时间
11231
+ # @type ModifiedTime: String
11232
+ # @param LastAccessTime: 最后一次分区更新的访问时间
11233
+ # @type LastAccessTime: String
11234
+
11235
+ attr_accessor :Partition, :Records, :DataFileStorage, :CreateTime, :ModifiedTime, :LastAccessTime
11236
+
11237
+ def initialize(partition=nil, records=nil, datafilestorage=nil, createtime=nil, modifiedtime=nil, lastaccesstime=nil)
11238
+ @Partition = partition
11239
+ @Records = records
11240
+ @DataFileStorage = datafilestorage
11241
+ @CreateTime = createtime
11242
+ @ModifiedTime = modifiedtime
11243
+ @LastAccessTime = lastaccesstime
11244
+ end
11245
+
11246
+ def deserialize(params)
11247
+ @Partition = params['Partition']
11248
+ @Records = params['Records']
11249
+ @DataFileStorage = params['DataFileStorage']
11250
+ @CreateTime = params['CreateTime']
11251
+ @ModifiedTime = params['ModifiedTime']
11252
+ @LastAccessTime = params['LastAccessTime']
11253
+ end
11254
+ end
11255
+
11089
11256
  # 集群事件日志
11090
11257
  class HouseEventsInfo < TencentCloud::Common::AbstractModel
11091
11258
  # @param Time: 事件时间
@@ -11113,6 +11280,53 @@ module TencentCloud
11113
11280
  end
11114
11281
  end
11115
11282
 
11283
+ # Iceberg表分区信息
11284
+ class IcebergTablePartition < TencentCloud::Common::AbstractModel
11285
+ # @param Partition: 分区信息名称
11286
+ # @type Partition: String
11287
+ # @param Records: 分区记录数
11288
+ # @type Records: Integer
11289
+ # @param DataFileSize: 分区数据文件数量
11290
+ # @type DataFileSize: Integer
11291
+ # @param DataFileStorage: 分区数据文件存储量
11292
+ # @type DataFileStorage: Integer
11293
+ # @param CreateTime: 分区创建时间
11294
+ # @type CreateTime: String
11295
+ # @param UpdateTime: 分区更新时间
11296
+ # @type UpdateTime: String
11297
+ # @param LastUpdateSnapshotId: 最后一次分区更新的快照ID
11298
+ # @type LastUpdateSnapshotId: String
11299
+ # @param Location: 分区的location
11300
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.LocationInfo`
11301
+
11302
+ attr_accessor :Partition, :Records, :DataFileSize, :DataFileStorage, :CreateTime, :UpdateTime, :LastUpdateSnapshotId, :Location
11303
+
11304
+ def initialize(partition=nil, records=nil, datafilesize=nil, datafilestorage=nil, createtime=nil, updatetime=nil, lastupdatesnapshotid=nil, location=nil)
11305
+ @Partition = partition
11306
+ @Records = records
11307
+ @DataFileSize = datafilesize
11308
+ @DataFileStorage = datafilestorage
11309
+ @CreateTime = createtime
11310
+ @UpdateTime = updatetime
11311
+ @LastUpdateSnapshotId = lastupdatesnapshotid
11312
+ @Location = location
11313
+ end
11314
+
11315
+ def deserialize(params)
11316
+ @Partition = params['Partition']
11317
+ @Records = params['Records']
11318
+ @DataFileSize = params['DataFileSize']
11319
+ @DataFileStorage = params['DataFileStorage']
11320
+ @CreateTime = params['CreateTime']
11321
+ @UpdateTime = params['UpdateTime']
11322
+ @LastUpdateSnapshotId = params['LastUpdateSnapshotId']
11323
+ unless params['Location'].nil?
11324
+ @Location = LocationInfo.new
11325
+ @Location.deserialize(params['Location'])
11326
+ end
11327
+ end
11328
+ end
11329
+
11116
11330
  # ip端口对信息
11117
11331
  class IpPortPair < TencentCloud::Common::AbstractModel
11118
11332
  # @param Ip: ip信息
@@ -11497,6 +11711,26 @@ module TencentCloud
11497
11711
  end
11498
11712
  end
11499
11713
 
11714
+ # Location信息结构
11715
+ class LocationInfo < TencentCloud::Common::AbstractModel
11716
+ # @param Bucket: 桶名称
11717
+ # @type Bucket: String
11718
+ # @param DataLocation: location路径
11719
+ # @type DataLocation: String
11720
+
11721
+ attr_accessor :Bucket, :DataLocation
11722
+
11723
+ def initialize(bucket=nil, datalocation=nil)
11724
+ @Bucket = bucket
11725
+ @DataLocation = datalocation
11726
+ end
11727
+
11728
+ def deserialize(params)
11729
+ @Bucket = params['Bucket']
11730
+ @DataLocation = params['DataLocation']
11731
+ end
11732
+ end
11733
+
11500
11734
  # 元数据加锁内容
11501
11735
  class LockComponentInfo < TencentCloud::Common::AbstractModel
11502
11736
  # @param DbName: 数据库名称
@@ -11604,6 +11838,52 @@ module TencentCloud
11604
11838
  end
11605
11839
  end
11606
11840
 
11841
+ # DLC分区信息查询返回数据结构
11842
+ class MixedTablePartitions < TencentCloud::Common::AbstractModel
11843
+ # @param TableFormat: 数据表格式
11844
+ # @type TableFormat: String
11845
+ # @param TotalSize: 分区总数
11846
+ # @type TotalSize: Integer
11847
+ # @param NextCursor: 分页查询的游标信息,在获取下一页信息时需要回传到服务端
11848
+ # @type NextCursor: String
11849
+ # @param IcebergPartitions: iceberg表分区信息
11850
+ # @type IcebergPartitions: Array
11851
+ # @param HivePartitions: hive表分区信息
11852
+ # @type HivePartitions: Array
11853
+
11854
+ attr_accessor :TableFormat, :TotalSize, :NextCursor, :IcebergPartitions, :HivePartitions
11855
+
11856
+ def initialize(tableformat=nil, totalsize=nil, nextcursor=nil, icebergpartitions=nil, hivepartitions=nil)
11857
+ @TableFormat = tableformat
11858
+ @TotalSize = totalsize
11859
+ @NextCursor = nextcursor
11860
+ @IcebergPartitions = icebergpartitions
11861
+ @HivePartitions = hivepartitions
11862
+ end
11863
+
11864
+ def deserialize(params)
11865
+ @TableFormat = params['TableFormat']
11866
+ @TotalSize = params['TotalSize']
11867
+ @NextCursor = params['NextCursor']
11868
+ unless params['IcebergPartitions'].nil?
11869
+ @IcebergPartitions = []
11870
+ params['IcebergPartitions'].each do |i|
11871
+ icebergtablepartition_tmp = IcebergTablePartition.new
11872
+ icebergtablepartition_tmp.deserialize(i)
11873
+ @IcebergPartitions << icebergtablepartition_tmp
11874
+ end
11875
+ end
11876
+ unless params['HivePartitions'].nil?
11877
+ @HivePartitions = []
11878
+ params['HivePartitions'].each do |i|
11879
+ hivetablepartition_tmp = HiveTablePartition.new
11880
+ hivetablepartition_tmp.deserialize(i)
11881
+ @HivePartitions << hivetablepartition_tmp
11882
+ end
11883
+ end
11884
+ end
11885
+ end
11886
+
11607
11887
  # ModifyAdvancedStoreLocation请求参数结构体
11608
11888
  class ModifyAdvancedStoreLocationRequest < TencentCloud::Common::AbstractModel
11609
11889
  # @param StoreLocation: 查询结果保存cos路径
@@ -13773,6 +14053,26 @@ module TencentCloud
13773
14053
  end
13774
14054
  end
13775
14055
 
14056
+ # 排序结构
14057
+ class Sort < TencentCloud::Common::AbstractModel
14058
+ # @param Field: 排序字段
14059
+ # @type Field: String
14060
+ # @param Asc: 是否按照ASC排序,否则DESC排序
14061
+ # @type Asc: Boolean
14062
+
14063
+ attr_accessor :Field, :Asc
14064
+
14065
+ def initialize(field=nil, asc=nil)
14066
+ @Field = field
14067
+ @Asc = asc
14068
+ end
14069
+
14070
+ def deserialize(params)
14071
+ @Field = params['Field']
14072
+ @Asc = params['Asc']
14073
+ end
14074
+ end
14075
+
13776
14076
  # spark作业详情。
13777
14077
  class SparkJobInfo < TencentCloud::Common::AbstractModel
13778
14078
  # @param JobId: spark作业ID
@@ -14808,10 +15108,10 @@ module TencentCloud
14808
15108
 
14809
15109
  attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy, :PrimaryKeys
14810
15110
  extend Gem::Deprecate
14811
- deprecate :GovernPolicy, :none, 2025, 8
14812
- deprecate :GovernPolicy=, :none, 2025, 8
14813
- deprecate :DbGovernPolicyIsDisable, :none, 2025, 8
14814
- deprecate :DbGovernPolicyIsDisable=, :none, 2025, 8
15111
+ deprecate :GovernPolicy, :none, 2025, 9
15112
+ deprecate :GovernPolicy=, :none, 2025, 9
15113
+ deprecate :DbGovernPolicyIsDisable, :none, 2025, 9
15114
+ deprecate :DbGovernPolicyIsDisable=, :none, 2025, 9
14815
15115
 
14816
15116
  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
15117
  @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.1127
4
+ version: 3.0.1138
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-08-22 00:00:00.000000000 Z
11
+ date: 2025-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common