tencentcloud-sdk-dlc 3.0.704 → 3.0.706

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db9deb4c9689f5c1da101163c903b71c2776d9e9
4
- data.tar.gz: 41074aa23760187746a04839e5bcdb92489d91b5
3
+ metadata.gz: 723ee327bfb2e3b23935999f4b1e637f11ac5c95
4
+ data.tar.gz: c63a7edcbd9544fa6b161e437604f634d04e2314
5
5
  SHA512:
6
- metadata.gz: d6f5337795ec2480f86bc719ecc24ef130c83719a1b998e2c15aa44e1b3b46b1ba3f719411b36bac1c1e20df04fb2cc3bfa5178e5111d64f45b5244f963a38a3
7
- data.tar.gz: 98b7afcb9aa5380082265f77764defb6d12c9100ab10255f935da971dfff07141ca5114d975b46730f8357d8ce81286373ce92a7815c069bc86beed802a06dab
6
+ metadata.gz: 06d4b2f4e3dc0e3c2d4335372b318fb46dd618daee300289833d72397ed70a8692807f59c80d8233a653debd0f4ba1f63f8d9ff1167913cb88755f2b9fe150e1
7
+ data.tar.gz: de511ba63ce5af5361e7366673c25fc4c90c1ad70bdc7fd5b9186f14ccf6288f2d5e40e89fc2e606dce5a4c843d66f8948c46dd5f7bef913263108edc559b377
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.704
1
+ 3.0.706
@@ -1901,6 +1901,30 @@ module TencentCloud
1901
1901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
1902
  end
1903
1903
 
1904
+ # 本接口(DescribeTables)用于查询数据表名称列表
1905
+
1906
+ # @param request: Request instance for DescribeTablesName.
1907
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTablesNameRequest`
1908
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTablesNameResponse`
1909
+ def DescribeTablesName(request)
1910
+ body = send_request('DescribeTablesName', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = DescribeTablesNameResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1904
1928
  # 查询任务结果
1905
1929
 
1906
1930
  # @param request: Request instance for DescribeTaskResult.
@@ -6137,6 +6137,95 @@ module TencentCloud
6137
6137
  end
6138
6138
  end
6139
6139
 
6140
+ # DescribeTablesName请求参数结构体
6141
+ class DescribeTablesNameRequest < TencentCloud::Common::AbstractModel
6142
+ # @param DatabaseName: 列出该数据库下所属数据表。
6143
+ # @type DatabaseName: String
6144
+ # @param Limit: 返回数量,默认为10,最大值为100。
6145
+ # @type Limit: Integer
6146
+ # @param Offset: 数据偏移量,从0开始,默认为0。
6147
+ # @type Offset: Integer
6148
+ # @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为其一
6149
+ # table-name - String - (过滤条件)数据表名称,形如:table-001。
6150
+ # table-id - String - (过滤条件)table id形如:12342。
6151
+ # @type Filters: Array
6152
+ # @param DatasourceConnectionName: 指定查询的数据源名称,默认为DataLakeCatalog
6153
+ # @type DatasourceConnectionName: String
6154
+ # @param StartTime: 起始时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
6155
+ # @type StartTime: String
6156
+ # @param EndTime: 终止时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
6157
+ # @type EndTime: String
6158
+ # @param Sort: 排序字段,支持:CreateTime(创建时间)、UpdateTime(更新时间)、StorageSize(存储空间)、RecordCount(行数)、Name(表名称)(不传则默认按name升序)
6159
+ # @type Sort: String
6160
+ # @param Asc: 排序字段,false:降序(默认);true:升序
6161
+ # @type Asc: Boolean
6162
+ # @param TableType: table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW
6163
+ # @type TableType: String
6164
+ # @param TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
6165
+ # @type TableFormat: String
6166
+
6167
+ attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :StartTime, :EndTime, :Sort, :Asc, :TableType, :TableFormat
6168
+
6169
+ def initialize(databasename=nil, limit=nil, offset=nil, filters=nil, datasourceconnectionname=nil, starttime=nil, endtime=nil, sort=nil, asc=nil, tabletype=nil, tableformat=nil)
6170
+ @DatabaseName = databasename
6171
+ @Limit = limit
6172
+ @Offset = offset
6173
+ @Filters = filters
6174
+ @DatasourceConnectionName = datasourceconnectionname
6175
+ @StartTime = starttime
6176
+ @EndTime = endtime
6177
+ @Sort = sort
6178
+ @Asc = asc
6179
+ @TableType = tabletype
6180
+ @TableFormat = tableformat
6181
+ end
6182
+
6183
+ def deserialize(params)
6184
+ @DatabaseName = params['DatabaseName']
6185
+ @Limit = params['Limit']
6186
+ @Offset = params['Offset']
6187
+ unless params['Filters'].nil?
6188
+ @Filters = []
6189
+ params['Filters'].each do |i|
6190
+ filter_tmp = Filter.new
6191
+ filter_tmp.deserialize(i)
6192
+ @Filters << filter_tmp
6193
+ end
6194
+ end
6195
+ @DatasourceConnectionName = params['DatasourceConnectionName']
6196
+ @StartTime = params['StartTime']
6197
+ @EndTime = params['EndTime']
6198
+ @Sort = params['Sort']
6199
+ @Asc = params['Asc']
6200
+ @TableType = params['TableType']
6201
+ @TableFormat = params['TableFormat']
6202
+ end
6203
+ end
6204
+
6205
+ # DescribeTablesName返回参数结构体
6206
+ class DescribeTablesNameResponse < TencentCloud::Common::AbstractModel
6207
+ # @param TableNameList: 数据表名称对象列表。
6208
+ # @type TableNameList: Array
6209
+ # @param TotalCount: 实例总数。
6210
+ # @type TotalCount: Integer
6211
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6212
+ # @type RequestId: String
6213
+
6214
+ attr_accessor :TableNameList, :TotalCount, :RequestId
6215
+
6216
+ def initialize(tablenamelist=nil, totalcount=nil, requestid=nil)
6217
+ @TableNameList = tablenamelist
6218
+ @TotalCount = totalcount
6219
+ @RequestId = requestid
6220
+ end
6221
+
6222
+ def deserialize(params)
6223
+ @TableNameList = params['TableNameList']
6224
+ @TotalCount = params['TotalCount']
6225
+ @RequestId = params['RequestId']
6226
+ end
6227
+ end
6228
+
6140
6229
  # DescribeTables请求参数结构体
6141
6230
  class DescribeTablesRequest < TencentCloud::Common::AbstractModel
6142
6231
  # @param 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.704
4
+ version: 3.0.706
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-15 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common