tencentcloud-sdk-dlc 3.0.1072 → 3.0.1074

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: ffd4a9b5745b7e5590ec1e3391af7db316e5a15c
4
- data.tar.gz: 232f1de1b6e68ca78a465f6dcfca0b30cbe7bcaf
3
+ metadata.gz: 279fdda67729954ce92422b37f6f16e04be31d1b
4
+ data.tar.gz: 8f32e99b3eb3e9a117bc48e78c5203b8f67cbf9d
5
5
  SHA512:
6
- metadata.gz: ba2dc997de3a00339305c57b235b5987656ea3ab24464c6c274ae29a3850f72a8a14a941e844ee81fcccea3e78005701b30f7ebd1a9c56a1e352b0c4471ffff9
7
- data.tar.gz: fc86135d4b1b6e207a5a96105355c50a12b0f5ac899d3058d21f54fe5c9ca1556edc994aff40593f1f2874a72022421a0f046705cf915b29c68074cd30b73da6
6
+ metadata.gz: 0c27d8b419469f65ec39d9c903eb1f844bc0d481b69ad1e33b7fff00b143bce2c2e9b1ac893f37be71e66282962fbf730ec66e6da49aa9e310791e05187f0ff4
7
+ data.tar.gz: 49306e0b24e34545395952bf43c18e23eeb464df21e62c94b9568ca11e088ca2d8f0fa8d001553f1c3391faae3f6b928ba1044eb85f6063b1435dca9e302b1da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1072
1
+ 3.0.1074
@@ -2189,6 +2189,30 @@ module TencentCloud
2189
2189
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2190
2190
  end
2191
2191
 
2192
+ # 本接口(DescribeTablePartitions)用于查询数据表分区信息
2193
+
2194
+ # @param request: Request instance for DescribeTablePartitions.
2195
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTablePartitionsRequest`
2196
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTablePartitionsResponse`
2197
+ def DescribeTablePartitions(request)
2198
+ body = send_request('DescribeTablePartitions', request.serialize)
2199
+ response = JSON.parse(body)
2200
+ if response['Response'].key?('Error') == false
2201
+ model = DescribeTablePartitionsResponse.new
2202
+ model.deserialize(response['Response'])
2203
+ model
2204
+ else
2205
+ code = response['Response']['Error']['Code']
2206
+ message = response['Response']['Error']['Message']
2207
+ reqid = response['Response']['RequestId']
2208
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2209
+ end
2210
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2211
+ raise e
2212
+ rescue StandardError => e
2213
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2214
+ end
2215
+
2192
2216
  # 本接口(DescribeTables)用于查询数据表列表。
2193
2217
 
2194
2218
  # @param request: Request instance for DescribeTables.
@@ -1735,8 +1735,8 @@ module TencentCloud
1735
1735
 
1736
1736
  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
1737
1737
  extend Gem::Deprecate
1738
- deprecate :DefaultDataEngine, :none, 2025, 5
1739
- deprecate :DefaultDataEngine=, :none, 2025, 5
1738
+ deprecate :DefaultDataEngine, :none, 2025, 6
1739
+ deprecate :DefaultDataEngine=, :none, 2025, 6
1740
1740
 
1741
1741
  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)
1742
1742
  @EngineType = enginetype
@@ -6056,16 +6056,20 @@ module TencentCloud
6056
6056
  # @type Sort: String
6057
6057
  # @param Asc: 排序类型:false:降序(默认)、true:升序
6058
6058
  # @type Asc: Boolean
6059
+ # @param DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
6060
+ # 注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
6061
+ # @type DescribeType: String
6059
6062
 
6060
- attr_accessor :Limit, :Offset, :KeyWord, :DatasourceConnectionName, :Sort, :Asc
6063
+ attr_accessor :Limit, :Offset, :KeyWord, :DatasourceConnectionName, :Sort, :Asc, :DescribeType
6061
6064
 
6062
- def initialize(limit=nil, offset=nil, keyword=nil, datasourceconnectionname=nil, sort=nil, asc=nil)
6065
+ def initialize(limit=nil, offset=nil, keyword=nil, datasourceconnectionname=nil, sort=nil, asc=nil, describetype=nil)
6063
6066
  @Limit = limit
6064
6067
  @Offset = offset
6065
6068
  @KeyWord = keyword
6066
6069
  @DatasourceConnectionName = datasourceconnectionname
6067
6070
  @Sort = sort
6068
6071
  @Asc = asc
6072
+ @DescribeType = describetype
6069
6073
  end
6070
6074
 
6071
6075
  def deserialize(params)
@@ -6075,6 +6079,7 @@ module TencentCloud
6075
6079
  @DatasourceConnectionName = params['DatasourceConnectionName']
6076
6080
  @Sort = params['Sort']
6077
6081
  @Asc = params['Asc']
6082
+ @DescribeType = params['DescribeType']
6078
6083
  end
6079
6084
  end
6080
6085
 
@@ -7345,6 +7350,33 @@ module TencentCloud
7345
7350
  end
7346
7351
  end
7347
7352
 
7353
+ # DescribeTablePartitions请求参数结构体
7354
+ class DescribeTablePartitionsRequest < TencentCloud::Common::AbstractModel
7355
+
7356
+
7357
+ def initialize()
7358
+ end
7359
+
7360
+ def deserialize(params)
7361
+ end
7362
+ end
7363
+
7364
+ # DescribeTablePartitions返回参数结构体
7365
+ class DescribeTablePartitionsResponse < TencentCloud::Common::AbstractModel
7366
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7367
+ # @type RequestId: String
7368
+
7369
+ attr_accessor :RequestId
7370
+
7371
+ def initialize(requestid=nil)
7372
+ @RequestId = requestid
7373
+ end
7374
+
7375
+ def deserialize(params)
7376
+ @RequestId = params['RequestId']
7377
+ end
7378
+ end
7379
+
7348
7380
  # DescribeTable请求参数结构体
7349
7381
  class DescribeTableRequest < TencentCloud::Common::AbstractModel
7350
7382
  # @param TableName: 查询对象表名称
@@ -7507,10 +7539,13 @@ module TencentCloud
7507
7539
  # @type TableType: String
7508
7540
  # @param TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
7509
7541
  # @type TableFormat: String
7542
+ # @param DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
7543
+ # 注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
7544
+ # @type DescribeType: String
7510
7545
 
7511
- attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :StartTime, :EndTime, :Sort, :Asc, :TableType, :TableFormat
7546
+ attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :StartTime, :EndTime, :Sort, :Asc, :TableType, :TableFormat, :DescribeType
7512
7547
 
7513
- def initialize(databasename=nil, limit=nil, offset=nil, filters=nil, datasourceconnectionname=nil, starttime=nil, endtime=nil, sort=nil, asc=nil, tabletype=nil, tableformat=nil)
7548
+ def initialize(databasename=nil, limit=nil, offset=nil, filters=nil, datasourceconnectionname=nil, starttime=nil, endtime=nil, sort=nil, asc=nil, tabletype=nil, tableformat=nil, describetype=nil)
7514
7549
  @DatabaseName = databasename
7515
7550
  @Limit = limit
7516
7551
  @Offset = offset
@@ -7522,6 +7557,7 @@ module TencentCloud
7522
7557
  @Asc = asc
7523
7558
  @TableType = tabletype
7524
7559
  @TableFormat = tableformat
7560
+ @DescribeType = describetype
7525
7561
  end
7526
7562
 
7527
7563
  def deserialize(params)
@@ -7543,6 +7579,7 @@ module TencentCloud
7543
7579
  @Asc = params['Asc']
7544
7580
  @TableType = params['TableType']
7545
7581
  @TableFormat = params['TableFormat']
7582
+ @DescribeType = params['DescribeType']
7546
7583
  end
7547
7584
  end
7548
7585
 
@@ -8559,10 +8596,13 @@ module TencentCloud
8559
8596
  # @type StartTime: String
8560
8597
  # @param EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
8561
8598
  # @type EndTime: String
8599
+ # @param DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
8600
+ # 注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
8601
+ # @type DescribeType: String
8562
8602
 
8563
- attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :Sort, :Asc, :StartTime, :EndTime
8603
+ attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :Sort, :Asc, :StartTime, :EndTime, :DescribeType
8564
8604
 
8565
- def initialize(databasename=nil, limit=nil, offset=nil, filters=nil, datasourceconnectionname=nil, sort=nil, asc=nil, starttime=nil, endtime=nil)
8605
+ def initialize(databasename=nil, limit=nil, offset=nil, filters=nil, datasourceconnectionname=nil, sort=nil, asc=nil, starttime=nil, endtime=nil, describetype=nil)
8566
8606
  @DatabaseName = databasename
8567
8607
  @Limit = limit
8568
8608
  @Offset = offset
@@ -8572,6 +8612,7 @@ module TencentCloud
8572
8612
  @Asc = asc
8573
8613
  @StartTime = starttime
8574
8614
  @EndTime = endtime
8615
+ @DescribeType = describetype
8575
8616
  end
8576
8617
 
8577
8618
  def deserialize(params)
@@ -8591,6 +8632,7 @@ module TencentCloud
8591
8632
  @Asc = params['Asc']
8592
8633
  @StartTime = params['StartTime']
8593
8634
  @EndTime = params['EndTime']
8635
+ @DescribeType = params['DescribeType']
8594
8636
  end
8595
8637
  end
8596
8638
 
@@ -12631,10 +12673,10 @@ module TencentCloud
12631
12673
 
12632
12674
  attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy, :PrimaryKeys
12633
12675
  extend Gem::Deprecate
12634
- deprecate :GovernPolicy, :none, 2025, 5
12635
- deprecate :GovernPolicy=, :none, 2025, 5
12636
- deprecate :DbGovernPolicyIsDisable, :none, 2025, 5
12637
- deprecate :DbGovernPolicyIsDisable=, :none, 2025, 5
12676
+ deprecate :GovernPolicy, :none, 2025, 6
12677
+ deprecate :GovernPolicy=, :none, 2025, 6
12678
+ deprecate :DbGovernPolicyIsDisable, :none, 2025, 6
12679
+ deprecate :DbGovernPolicyIsDisable=, :none, 2025, 6
12638
12680
 
12639
12681
  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)
12640
12682
  @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.1072
4
+ version: 3.0.1074
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-06-01 00:00:00.000000000 Z
11
+ date: 2025-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common