tencentcloud-sdk-dlc 3.0.705 → 3.0.706
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +89 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723ee327bfb2e3b23935999f4b1e637f11ac5c95
|
4
|
+
data.tar.gz: c63a7edcbd9544fa6b161e437604f634d04e2314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06d4b2f4e3dc0e3c2d4335372b318fb46dd618daee300289833d72397ed70a8692807f59c80d8233a653debd0f4ba1f63f8d9ff1167913cb88755f2b9fe150e1
|
7
|
+
data.tar.gz: de511ba63ce5af5361e7366673c25fc4c90c1ad70bdc7fd5b9186f14ccf6288f2d5e40e89fc2e606dce5a4c843d66f8948c46dd5f7bef913263108edc559b377
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.706
|
data/lib/v20210125/client.rb
CHANGED
@@ -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.
|
data/lib/v20210125/models.rb
CHANGED
@@ -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: 列出该数据库下所属数据表。
|