tencentcloud-sdk-dlc 3.0.705 → 3.0.707

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: 2fc224abe8f3566d1868948b46f21012277782af
4
- data.tar.gz: f0af9d5e173cc87cdb7dff78f2b8a7b54574cb0b
3
+ metadata.gz: 9237f3b320ed10094424b4faa7b6d8b58aa7854f
4
+ data.tar.gz: 344549e8611b8f7d250183cd2b29fb9fe75a6fbd
5
5
  SHA512:
6
- metadata.gz: f3dcb11eb34b6e2f89cd354da40a4aac3359059821e800cf75335f4a7ee9b06e30d6f2b62d05e9f67ad071fa40aedec44cc1afc74f29bed7a49c32a1b14a01e3
7
- data.tar.gz: c9e9bca6a2d6bbb984232b33ce4e8283619bd5d0bef0cfbacff241136e9b30e261221b1b878983f3951ba60e80d65964672c4a1a2459118eb33ba90f2bda07c1
6
+ metadata.gz: 81e01fd8677830e714f2c582a1b480f63fbe561d2f111a7088c575b0ccdd97b4eaf23d50d73f524fac164ef8f76fe655a630e31db9388411d476edd3e58829f3
7
+ data.tar.gz: 5f9249e52d4bef78ea46ff4b465f2c4b48cb669516648beb6a0c0df67f3695e49204fca4d7155004238bfb2a85587bf8dd046dc549f4b2c4440a115dd0ba7c23
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.705
1
+ 3.0.707
@@ -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.705
4
+ version: 3.0.707
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-16 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common