tencentcloud-sdk-wedata 3.0.736 → 3.0.738
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210820/client.rb +72 -0
- data/lib/v20210820/models.rb +604 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f65a7dbc6f11625f537eea1736a136189379cc8
|
4
|
+
data.tar.gz: 4144f78cf11570dc07862707c82b09e74526dbf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a38872c55314b2693132e0f12731609de6d15910f56293cc9541d1a27fde90d3dc8100831fa595af2687548d2ab2c5fe30ef7e6efb4d58f7e1a84f3cf98599d3
|
7
|
+
data.tar.gz: 2e7f848a250b78146f110c3b2c63f0479289e3e9249cf54adf065b9045fb5c7995c80ebe837acc463cc3666d06018647a54635ec8c150d56be9363ad841737a1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.738
|
data/lib/v20210820/client.rb
CHANGED
@@ -2971,6 +2971,30 @@ module TencentCloud
|
|
2971
2971
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2972
2972
|
end
|
2973
2973
|
|
2974
|
+
# 元数据模型-字段基础信息查询接口
|
2975
|
+
|
2976
|
+
# @param request: Request instance for DescribeFieldBasicInfo.
|
2977
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFieldBasicInfoRequest`
|
2978
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFieldBasicInfoResponse`
|
2979
|
+
def DescribeFieldBasicInfo(request)
|
2980
|
+
body = send_request('DescribeFieldBasicInfo', request.serialize)
|
2981
|
+
response = JSON.parse(body)
|
2982
|
+
if response['Response'].key?('Error') == false
|
2983
|
+
model = DescribeFieldBasicInfoResponse.new
|
2984
|
+
model.deserialize(response['Response'])
|
2985
|
+
model
|
2986
|
+
else
|
2987
|
+
code = response['Response']['Error']['Code']
|
2988
|
+
message = response['Response']['Error']['Message']
|
2989
|
+
reqid = response['Response']['RequestId']
|
2990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2991
|
+
end
|
2992
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2993
|
+
raise e
|
2994
|
+
rescue StandardError => e
|
2995
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2996
|
+
end
|
2997
|
+
|
2974
2998
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
2975
2999
|
# 拉取文件夹目录
|
2976
3000
|
|
@@ -5019,6 +5043,30 @@ module TencentCloud
|
|
5019
5043
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5020
5044
|
end
|
5021
5045
|
|
5046
|
+
# 元数据模型-表基础信息查询接口
|
5047
|
+
|
5048
|
+
# @param request: Request instance for DescribeTableBasicInfo.
|
5049
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTableBasicInfoRequest`
|
5050
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTableBasicInfoResponse`
|
5051
|
+
def DescribeTableBasicInfo(request)
|
5052
|
+
body = send_request('DescribeTableBasicInfo', request.serialize)
|
5053
|
+
response = JSON.parse(body)
|
5054
|
+
if response['Response'].key?('Error') == false
|
5055
|
+
model = DescribeTableBasicInfoResponse.new
|
5056
|
+
model.deserialize(response['Response'])
|
5057
|
+
model
|
5058
|
+
else
|
5059
|
+
code = response['Response']['Error']['Code']
|
5060
|
+
message = response['Response']['Error']['Message']
|
5061
|
+
reqid = response['Response']['RequestId']
|
5062
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5063
|
+
end
|
5064
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5065
|
+
raise e
|
5066
|
+
rescue StandardError => e
|
5067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5068
|
+
end
|
5069
|
+
|
5022
5070
|
# 获取数据表信息
|
5023
5071
|
|
5024
5072
|
# @param request: Request instance for DescribeTableInfoList.
|
@@ -5067,6 +5115,30 @@ module TencentCloud
|
|
5067
5115
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5068
5116
|
end
|
5069
5117
|
|
5118
|
+
# 列出表血缘信息
|
5119
|
+
|
5120
|
+
# @param request: Request instance for DescribeTableLineageInfo.
|
5121
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTableLineageInfoRequest`
|
5122
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTableLineageInfoResponse`
|
5123
|
+
def DescribeTableLineageInfo(request)
|
5124
|
+
body = send_request('DescribeTableLineageInfo', request.serialize)
|
5125
|
+
response = JSON.parse(body)
|
5126
|
+
if response['Response'].key?('Error') == false
|
5127
|
+
model = DescribeTableLineageInfoResponse.new
|
5128
|
+
model.deserialize(response['Response'])
|
5129
|
+
model
|
5130
|
+
else
|
5131
|
+
code = response['Response']['Error']['Code']
|
5132
|
+
message = response['Response']['Error']['Message']
|
5133
|
+
reqid = response['Response']['RequestId']
|
5134
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5135
|
+
end
|
5136
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5137
|
+
raise e
|
5138
|
+
rescue StandardError => e
|
5139
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5140
|
+
end
|
5141
|
+
|
5070
5142
|
# 查询表元数据详情
|
5071
5143
|
|
5072
5144
|
# @param request: Request instance for DescribeTableMeta.
|
data/lib/v20210820/models.rb
CHANGED
@@ -3304,6 +3304,113 @@ module TencentCloud
|
|
3304
3304
|
end
|
3305
3305
|
end
|
3306
3306
|
|
3307
|
+
# 表的元数据信息
|
3308
|
+
class ColumnBasicInfo < TencentCloud::Common::AbstractModel
|
3309
|
+
# @param TableId: 表的全局唯一ID
|
3310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3311
|
+
# @type TableId: String
|
3312
|
+
# @param DatasourceId: 数据源全局唯一ID
|
3313
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3314
|
+
# @type DatasourceId: String
|
3315
|
+
# @param DatasourceName: 数据源名
|
3316
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3317
|
+
# @type DatasourceName: String
|
3318
|
+
# @param DatabaseId: 数据库ID
|
3319
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3320
|
+
# @type DatabaseId: String
|
3321
|
+
# @param DatabaseName: 数据库名
|
3322
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3323
|
+
# @type DatabaseName: String
|
3324
|
+
# @param TableName: 表名称
|
3325
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3326
|
+
# @type TableName: String
|
3327
|
+
# @param ColumnName: 字段名称
|
3328
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3329
|
+
# @type ColumnName: String
|
3330
|
+
# @param DataType: 数据类型,string/int等
|
3331
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3332
|
+
# @type DataType: String
|
3333
|
+
# @param ColumnType: 字段类型, varchar(32)/int(10)等
|
3334
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3335
|
+
# @type ColumnType: String
|
3336
|
+
# @param ColumnDefault: 字段默认值
|
3337
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3338
|
+
# @type ColumnDefault: String
|
3339
|
+
# @param ColumnKey: 索引类型, PRI/MUL/PARTITION等,普通字段该值为空串
|
3340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3341
|
+
# @type ColumnKey: String
|
3342
|
+
# @param ColumnPosition: 字段顺序标识
|
3343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3344
|
+
# @type ColumnPosition: Integer
|
3345
|
+
# @param ColumnComment: 字段注释
|
3346
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3347
|
+
# @type ColumnComment: String
|
3348
|
+
# @param StoreType: 数据类型
|
3349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3350
|
+
# @type StoreType: String
|
3351
|
+
# @param ProjectId: 所属项目ID
|
3352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3353
|
+
# @type ProjectId: String
|
3354
|
+
# @param ProjectName: 所属项目英文名
|
3355
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3356
|
+
# @type ProjectName: String
|
3357
|
+
# @param ProjectDisplayName: 所属项目中文名
|
3358
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3359
|
+
# @type ProjectDisplayName: String
|
3360
|
+
# @param CreateTime: 创建时间
|
3361
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3362
|
+
# @type CreateTime: String
|
3363
|
+
# @param UpdateTime: 更新时间
|
3364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3365
|
+
# @type UpdateTime: String
|
3366
|
+
|
3367
|
+
attr_accessor :TableId, :DatasourceId, :DatasourceName, :DatabaseId, :DatabaseName, :TableName, :ColumnName, :DataType, :ColumnType, :ColumnDefault, :ColumnKey, :ColumnPosition, :ColumnComment, :StoreType, :ProjectId, :ProjectName, :ProjectDisplayName, :CreateTime, :UpdateTime
|
3368
|
+
|
3369
|
+
def initialize(tableid=nil, datasourceid=nil, datasourcename=nil, databaseid=nil, databasename=nil, tablename=nil, columnname=nil, datatype=nil, columntype=nil, columndefault=nil, columnkey=nil, columnposition=nil, columncomment=nil, storetype=nil, projectid=nil, projectname=nil, projectdisplayname=nil, createtime=nil, updatetime=nil)
|
3370
|
+
@TableId = tableid
|
3371
|
+
@DatasourceId = datasourceid
|
3372
|
+
@DatasourceName = datasourcename
|
3373
|
+
@DatabaseId = databaseid
|
3374
|
+
@DatabaseName = databasename
|
3375
|
+
@TableName = tablename
|
3376
|
+
@ColumnName = columnname
|
3377
|
+
@DataType = datatype
|
3378
|
+
@ColumnType = columntype
|
3379
|
+
@ColumnDefault = columndefault
|
3380
|
+
@ColumnKey = columnkey
|
3381
|
+
@ColumnPosition = columnposition
|
3382
|
+
@ColumnComment = columncomment
|
3383
|
+
@StoreType = storetype
|
3384
|
+
@ProjectId = projectid
|
3385
|
+
@ProjectName = projectname
|
3386
|
+
@ProjectDisplayName = projectdisplayname
|
3387
|
+
@CreateTime = createtime
|
3388
|
+
@UpdateTime = updatetime
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
def deserialize(params)
|
3392
|
+
@TableId = params['TableId']
|
3393
|
+
@DatasourceId = params['DatasourceId']
|
3394
|
+
@DatasourceName = params['DatasourceName']
|
3395
|
+
@DatabaseId = params['DatabaseId']
|
3396
|
+
@DatabaseName = params['DatabaseName']
|
3397
|
+
@TableName = params['TableName']
|
3398
|
+
@ColumnName = params['ColumnName']
|
3399
|
+
@DataType = params['DataType']
|
3400
|
+
@ColumnType = params['ColumnType']
|
3401
|
+
@ColumnDefault = params['ColumnDefault']
|
3402
|
+
@ColumnKey = params['ColumnKey']
|
3403
|
+
@ColumnPosition = params['ColumnPosition']
|
3404
|
+
@ColumnComment = params['ColumnComment']
|
3405
|
+
@StoreType = params['StoreType']
|
3406
|
+
@ProjectId = params['ProjectId']
|
3407
|
+
@ProjectName = params['ProjectName']
|
3408
|
+
@ProjectDisplayName = params['ProjectDisplayName']
|
3409
|
+
@CreateTime = params['CreateTime']
|
3410
|
+
@UpdateTime = params['UpdateTime']
|
3411
|
+
end
|
3412
|
+
end
|
3413
|
+
|
3307
3414
|
# 血缘字段信息
|
3308
3415
|
class ColumnLineageInfo < TencentCloud::Common::AbstractModel
|
3309
3416
|
# @param Id: 血缘id
|
@@ -10412,6 +10519,81 @@ module TencentCloud
|
|
10412
10519
|
end
|
10413
10520
|
end
|
10414
10521
|
|
10522
|
+
# DescribeFieldBasicInfo请求参数结构体
|
10523
|
+
class DescribeFieldBasicInfoRequest < TencentCloud::Common::AbstractModel
|
10524
|
+
# @param PageNumber: 分页页码
|
10525
|
+
# @type PageNumber: Integer
|
10526
|
+
# @param PageSize: 分页大小
|
10527
|
+
# @type PageSize: Integer
|
10528
|
+
# @param Filters: 过滤字段
|
10529
|
+
# @type Filters: Array
|
10530
|
+
# @param OrderFields: 排序字段
|
10531
|
+
# @type OrderFields: Array
|
10532
|
+
|
10533
|
+
attr_accessor :PageNumber, :PageSize, :Filters, :OrderFields
|
10534
|
+
|
10535
|
+
def initialize(pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil)
|
10536
|
+
@PageNumber = pagenumber
|
10537
|
+
@PageSize = pagesize
|
10538
|
+
@Filters = filters
|
10539
|
+
@OrderFields = orderfields
|
10540
|
+
end
|
10541
|
+
|
10542
|
+
def deserialize(params)
|
10543
|
+
@PageNumber = params['PageNumber']
|
10544
|
+
@PageSize = params['PageSize']
|
10545
|
+
unless params['Filters'].nil?
|
10546
|
+
@Filters = []
|
10547
|
+
params['Filters'].each do |i|
|
10548
|
+
filter_tmp = Filter.new
|
10549
|
+
filter_tmp.deserialize(i)
|
10550
|
+
@Filters << filter_tmp
|
10551
|
+
end
|
10552
|
+
end
|
10553
|
+
unless params['OrderFields'].nil?
|
10554
|
+
@OrderFields = []
|
10555
|
+
params['OrderFields'].each do |i|
|
10556
|
+
orderfield_tmp = OrderField.new
|
10557
|
+
orderfield_tmp.deserialize(i)
|
10558
|
+
@OrderFields << orderfield_tmp
|
10559
|
+
end
|
10560
|
+
end
|
10561
|
+
end
|
10562
|
+
end
|
10563
|
+
|
10564
|
+
# DescribeFieldBasicInfo返回参数结构体
|
10565
|
+
class DescribeFieldBasicInfoResponse < TencentCloud::Common::AbstractModel
|
10566
|
+
# @param ColumnBasicInfoList: 字段元数据
|
10567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10568
|
+
# @type ColumnBasicInfoList: Array
|
10569
|
+
# @param TotalCount: 总条数
|
10570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10571
|
+
# @type TotalCount: Integer
|
10572
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10573
|
+
# @type RequestId: String
|
10574
|
+
|
10575
|
+
attr_accessor :ColumnBasicInfoList, :TotalCount, :RequestId
|
10576
|
+
|
10577
|
+
def initialize(columnbasicinfolist=nil, totalcount=nil, requestid=nil)
|
10578
|
+
@ColumnBasicInfoList = columnbasicinfolist
|
10579
|
+
@TotalCount = totalcount
|
10580
|
+
@RequestId = requestid
|
10581
|
+
end
|
10582
|
+
|
10583
|
+
def deserialize(params)
|
10584
|
+
unless params['ColumnBasicInfoList'].nil?
|
10585
|
+
@ColumnBasicInfoList = []
|
10586
|
+
params['ColumnBasicInfoList'].each do |i|
|
10587
|
+
columnbasicinfo_tmp = ColumnBasicInfo.new
|
10588
|
+
columnbasicinfo_tmp.deserialize(i)
|
10589
|
+
@ColumnBasicInfoList << columnbasicinfo_tmp
|
10590
|
+
end
|
10591
|
+
end
|
10592
|
+
@TotalCount = params['TotalCount']
|
10593
|
+
@RequestId = params['RequestId']
|
10594
|
+
end
|
10595
|
+
end
|
10596
|
+
|
10415
10597
|
# 文件夹分页信息
|
10416
10598
|
class DescribeFolderListData < TencentCloud::Common::AbstractModel
|
10417
10599
|
# @param Items: 文件夹信息列表
|
@@ -15760,6 +15942,81 @@ module TencentCloud
|
|
15760
15942
|
end
|
15761
15943
|
end
|
15762
15944
|
|
15945
|
+
# DescribeTableBasicInfo请求参数结构体
|
15946
|
+
class DescribeTableBasicInfoRequest < TencentCloud::Common::AbstractModel
|
15947
|
+
# @param PageNumber: 分页页码
|
15948
|
+
# @type PageNumber: Integer
|
15949
|
+
# @param PageSize: 分页大小
|
15950
|
+
# @type PageSize: Integer
|
15951
|
+
# @param Filters: 过滤字段
|
15952
|
+
# @type Filters: Array
|
15953
|
+
# @param OrderFields: 排序字段
|
15954
|
+
# @type OrderFields: Array
|
15955
|
+
|
15956
|
+
attr_accessor :PageNumber, :PageSize, :Filters, :OrderFields
|
15957
|
+
|
15958
|
+
def initialize(pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil)
|
15959
|
+
@PageNumber = pagenumber
|
15960
|
+
@PageSize = pagesize
|
15961
|
+
@Filters = filters
|
15962
|
+
@OrderFields = orderfields
|
15963
|
+
end
|
15964
|
+
|
15965
|
+
def deserialize(params)
|
15966
|
+
@PageNumber = params['PageNumber']
|
15967
|
+
@PageSize = params['PageSize']
|
15968
|
+
unless params['Filters'].nil?
|
15969
|
+
@Filters = []
|
15970
|
+
params['Filters'].each do |i|
|
15971
|
+
filter_tmp = Filter.new
|
15972
|
+
filter_tmp.deserialize(i)
|
15973
|
+
@Filters << filter_tmp
|
15974
|
+
end
|
15975
|
+
end
|
15976
|
+
unless params['OrderFields'].nil?
|
15977
|
+
@OrderFields = []
|
15978
|
+
params['OrderFields'].each do |i|
|
15979
|
+
orderfield_tmp = OrderField.new
|
15980
|
+
orderfield_tmp.deserialize(i)
|
15981
|
+
@OrderFields << orderfield_tmp
|
15982
|
+
end
|
15983
|
+
end
|
15984
|
+
end
|
15985
|
+
end
|
15986
|
+
|
15987
|
+
# DescribeTableBasicInfo返回参数结构体
|
15988
|
+
class DescribeTableBasicInfoResponse < TencentCloud::Common::AbstractModel
|
15989
|
+
# @param TableBasicInfoList: 表元数据
|
15990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15991
|
+
# @type TableBasicInfoList: Array
|
15992
|
+
# @param TotalCount: 总条数
|
15993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15994
|
+
# @type TotalCount: Integer
|
15995
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15996
|
+
# @type RequestId: String
|
15997
|
+
|
15998
|
+
attr_accessor :TableBasicInfoList, :TotalCount, :RequestId
|
15999
|
+
|
16000
|
+
def initialize(tablebasicinfolist=nil, totalcount=nil, requestid=nil)
|
16001
|
+
@TableBasicInfoList = tablebasicinfolist
|
16002
|
+
@TotalCount = totalcount
|
16003
|
+
@RequestId = requestid
|
16004
|
+
end
|
16005
|
+
|
16006
|
+
def deserialize(params)
|
16007
|
+
unless params['TableBasicInfoList'].nil?
|
16008
|
+
@TableBasicInfoList = []
|
16009
|
+
params['TableBasicInfoList'].each do |i|
|
16010
|
+
tablebasicinfo_tmp = TableBasicInfo.new
|
16011
|
+
tablebasicinfo_tmp.deserialize(i)
|
16012
|
+
@TableBasicInfoList << tablebasicinfo_tmp
|
16013
|
+
end
|
16014
|
+
end
|
16015
|
+
@TotalCount = params['TotalCount']
|
16016
|
+
@RequestId = params['RequestId']
|
16017
|
+
end
|
16018
|
+
end
|
16019
|
+
|
15763
16020
|
# DescribeTableInfoList请求参数结构体
|
15764
16021
|
class DescribeTableInfoListRequest < TencentCloud::Common::AbstractModel
|
15765
16022
|
# @param Filters: 表名
|
@@ -15819,6 +16076,80 @@ module TencentCloud
|
|
15819
16076
|
end
|
15820
16077
|
end
|
15821
16078
|
|
16079
|
+
# DescribeTableLineageInfo请求参数结构体
|
16080
|
+
class DescribeTableLineageInfoRequest < TencentCloud::Common::AbstractModel
|
16081
|
+
# @param Direction: 查询方向,INPUT,OUTPUT,BOTH枚举值
|
16082
|
+
# @type Direction: String
|
16083
|
+
# @param Data: 表信息
|
16084
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TableLineageInfo`
|
16085
|
+
# @param InputDepth: 单次查询入度,默认 1
|
16086
|
+
# @type InputDepth: Integer
|
16087
|
+
# @param OutputDepth: 单次查询出度,默认 1
|
16088
|
+
# @type OutputDepth: Integer
|
16089
|
+
# @param ExtParams: 额外参数(传递调用方信息)
|
16090
|
+
# @type ExtParams: Array
|
16091
|
+
# @param IgnoreTemp: 是否过滤临时表,默认true
|
16092
|
+
# @type IgnoreTemp: Boolean
|
16093
|
+
# @param RecursiveSecond: 是否递归查询二级节点数目,默认为true
|
16094
|
+
# @type RecursiveSecond: Boolean
|
16095
|
+
|
16096
|
+
attr_accessor :Direction, :Data, :InputDepth, :OutputDepth, :ExtParams, :IgnoreTemp, :RecursiveSecond
|
16097
|
+
|
16098
|
+
def initialize(direction=nil, data=nil, inputdepth=nil, outputdepth=nil, extparams=nil, ignoretemp=nil, recursivesecond=nil)
|
16099
|
+
@Direction = direction
|
16100
|
+
@Data = data
|
16101
|
+
@InputDepth = inputdepth
|
16102
|
+
@OutputDepth = outputdepth
|
16103
|
+
@ExtParams = extparams
|
16104
|
+
@IgnoreTemp = ignoretemp
|
16105
|
+
@RecursiveSecond = recursivesecond
|
16106
|
+
end
|
16107
|
+
|
16108
|
+
def deserialize(params)
|
16109
|
+
@Direction = params['Direction']
|
16110
|
+
unless params['Data'].nil?
|
16111
|
+
@Data = TableLineageInfo.new
|
16112
|
+
@Data.deserialize(params['Data'])
|
16113
|
+
end
|
16114
|
+
@InputDepth = params['InputDepth']
|
16115
|
+
@OutputDepth = params['OutputDepth']
|
16116
|
+
unless params['ExtParams'].nil?
|
16117
|
+
@ExtParams = []
|
16118
|
+
params['ExtParams'].each do |i|
|
16119
|
+
lineageparamrecord_tmp = LineageParamRecord.new
|
16120
|
+
lineageparamrecord_tmp.deserialize(i)
|
16121
|
+
@ExtParams << lineageparamrecord_tmp
|
16122
|
+
end
|
16123
|
+
end
|
16124
|
+
@IgnoreTemp = params['IgnoreTemp']
|
16125
|
+
@RecursiveSecond = params['RecursiveSecond']
|
16126
|
+
end
|
16127
|
+
end
|
16128
|
+
|
16129
|
+
# DescribeTableLineageInfo返回参数结构体
|
16130
|
+
class DescribeTableLineageInfoResponse < TencentCloud::Common::AbstractModel
|
16131
|
+
# @param TableLineageBasicInfo: 表血缘信息
|
16132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
16133
|
+
# @type TableLineageBasicInfo: :class:`Tencentcloud::Wedata.v20210820.models.TableLineageBaseInfo`
|
16134
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16135
|
+
# @type RequestId: String
|
16136
|
+
|
16137
|
+
attr_accessor :TableLineageBasicInfo, :RequestId
|
16138
|
+
|
16139
|
+
def initialize(tablelineagebasicinfo=nil, requestid=nil)
|
16140
|
+
@TableLineageBasicInfo = tablelineagebasicinfo
|
16141
|
+
@RequestId = requestid
|
16142
|
+
end
|
16143
|
+
|
16144
|
+
def deserialize(params)
|
16145
|
+
unless params['TableLineageBasicInfo'].nil?
|
16146
|
+
@TableLineageBasicInfo = TableLineageBaseInfo.new
|
16147
|
+
@TableLineageBasicInfo.deserialize(params['TableLineageBasicInfo'])
|
16148
|
+
end
|
16149
|
+
@RequestId = params['RequestId']
|
16150
|
+
end
|
16151
|
+
end
|
16152
|
+
|
15822
16153
|
# DescribeTableLineage请求参数结构体
|
15823
16154
|
class DescribeTableLineageRequest < TencentCloud::Common::AbstractModel
|
15824
16155
|
# @param Direction: 查询方向,INPUT,OUTPUT,BOTH枚举值
|
@@ -30447,6 +30778,158 @@ module TencentCloud
|
|
30447
30778
|
end
|
30448
30779
|
end
|
30449
30780
|
|
30781
|
+
# 表的元数据信息
|
30782
|
+
class TableBasicInfo < TencentCloud::Common::AbstractModel
|
30783
|
+
# @param TableId: 表的全局唯一ID
|
30784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30785
|
+
# @type TableId: String
|
30786
|
+
# @param DatasourceId: 数据源全局唯一ID
|
30787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30788
|
+
# @type DatasourceId: String
|
30789
|
+
# @param DatasourceName: 数据源名
|
30790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30791
|
+
# @type DatasourceName: String
|
30792
|
+
# @param DatabaseId: 数据库ID
|
30793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30794
|
+
# @type DatabaseId: String
|
30795
|
+
# @param DatabaseName: 数据库名
|
30796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30797
|
+
# @type DatabaseName: String
|
30798
|
+
# @param TableName: 表名称
|
30799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30800
|
+
# @type TableName: String
|
30801
|
+
# @param EngineType: 引擎/存储类型
|
30802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30803
|
+
# @type EngineType: String
|
30804
|
+
# @param TableType: 表类型,视图,外部表等
|
30805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30806
|
+
# @type TableType: String
|
30807
|
+
# @param ProjectId: 项目Id
|
30808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30809
|
+
# @type ProjectId: String
|
30810
|
+
# @param ProjectName: 所属项目英文名
|
30811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30812
|
+
# @type ProjectName: String
|
30813
|
+
# @param ProjectDisplayName: 所属项目英中文名
|
30814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30815
|
+
# @type ProjectDisplayName: String
|
30816
|
+
# @param TableOwnerId: 责任人ID
|
30817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30818
|
+
# @type TableOwnerId: String
|
30819
|
+
# @param TableOwnerName: 责任人名称
|
30820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30821
|
+
# @type TableOwnerName: String
|
30822
|
+
# @param StorageLocation: 存储位置
|
30823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30824
|
+
# @type StorageLocation: Integer
|
30825
|
+
# @param Description: 表描述
|
30826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30827
|
+
# @type Description: String
|
30828
|
+
# @param IsPartitionTable: 是否分区表,0-全量表 1-分区表
|
30829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30830
|
+
# @type IsPartitionTable: Integer
|
30831
|
+
# @param PartitionColumns: 分区字段list
|
30832
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30833
|
+
# @type PartitionColumns: Array
|
30834
|
+
# @param StorageFormat: 存储格式
|
30835
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30836
|
+
# @type StorageFormat: String
|
30837
|
+
# @param StorageSize: 存储量,字节数
|
30838
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30839
|
+
# @type StorageSize: Integer
|
30840
|
+
# @param StorageSizeWithUnit: 存储量,单位
|
30841
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30842
|
+
# @type StorageSizeWithUnit: String
|
30843
|
+
# @param TotalSizeMb: 累计存储【MB】
|
30844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30845
|
+
# @type TotalSizeMb: Integer
|
30846
|
+
# @param ReplicaCount: 副本数量
|
30847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30848
|
+
# @type ReplicaCount: Integer
|
30849
|
+
# @param FileCount: 文件数
|
30850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30851
|
+
# @type FileCount: Integer
|
30852
|
+
# @param PartitionCount: 分区总数(包含hive,iceberg)
|
30853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30854
|
+
# @type PartitionCount: Integer
|
30855
|
+
# @param PartitionFieldCount: 分区字段数量(包含hive,iceberg)
|
30856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30857
|
+
# @type PartitionFieldCount: Integer
|
30858
|
+
# @param PartitionExpireDays: 生命周期-分区保留天数【分区保留策略时有效】
|
30859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30860
|
+
# @type PartitionExpireDays: Integer
|
30861
|
+
# @param CreateTime: 创建时间
|
30862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30863
|
+
# @type CreateTime: String
|
30864
|
+
# @param UpdateTime: 更新时间
|
30865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30866
|
+
# @type UpdateTime: String
|
30867
|
+
|
30868
|
+
attr_accessor :TableId, :DatasourceId, :DatasourceName, :DatabaseId, :DatabaseName, :TableName, :EngineType, :TableType, :ProjectId, :ProjectName, :ProjectDisplayName, :TableOwnerId, :TableOwnerName, :StorageLocation, :Description, :IsPartitionTable, :PartitionColumns, :StorageFormat, :StorageSize, :StorageSizeWithUnit, :TotalSizeMb, :ReplicaCount, :FileCount, :PartitionCount, :PartitionFieldCount, :PartitionExpireDays, :CreateTime, :UpdateTime
|
30869
|
+
|
30870
|
+
def initialize(tableid=nil, datasourceid=nil, datasourcename=nil, databaseid=nil, databasename=nil, tablename=nil, enginetype=nil, tabletype=nil, projectid=nil, projectname=nil, projectdisplayname=nil, tableownerid=nil, tableownername=nil, storagelocation=nil, description=nil, ispartitiontable=nil, partitioncolumns=nil, storageformat=nil, storagesize=nil, storagesizewithunit=nil, totalsizemb=nil, replicacount=nil, filecount=nil, partitioncount=nil, partitionfieldcount=nil, partitionexpiredays=nil, createtime=nil, updatetime=nil)
|
30871
|
+
@TableId = tableid
|
30872
|
+
@DatasourceId = datasourceid
|
30873
|
+
@DatasourceName = datasourcename
|
30874
|
+
@DatabaseId = databaseid
|
30875
|
+
@DatabaseName = databasename
|
30876
|
+
@TableName = tablename
|
30877
|
+
@EngineType = enginetype
|
30878
|
+
@TableType = tabletype
|
30879
|
+
@ProjectId = projectid
|
30880
|
+
@ProjectName = projectname
|
30881
|
+
@ProjectDisplayName = projectdisplayname
|
30882
|
+
@TableOwnerId = tableownerid
|
30883
|
+
@TableOwnerName = tableownername
|
30884
|
+
@StorageLocation = storagelocation
|
30885
|
+
@Description = description
|
30886
|
+
@IsPartitionTable = ispartitiontable
|
30887
|
+
@PartitionColumns = partitioncolumns
|
30888
|
+
@StorageFormat = storageformat
|
30889
|
+
@StorageSize = storagesize
|
30890
|
+
@StorageSizeWithUnit = storagesizewithunit
|
30891
|
+
@TotalSizeMb = totalsizemb
|
30892
|
+
@ReplicaCount = replicacount
|
30893
|
+
@FileCount = filecount
|
30894
|
+
@PartitionCount = partitioncount
|
30895
|
+
@PartitionFieldCount = partitionfieldcount
|
30896
|
+
@PartitionExpireDays = partitionexpiredays
|
30897
|
+
@CreateTime = createtime
|
30898
|
+
@UpdateTime = updatetime
|
30899
|
+
end
|
30900
|
+
|
30901
|
+
def deserialize(params)
|
30902
|
+
@TableId = params['TableId']
|
30903
|
+
@DatasourceId = params['DatasourceId']
|
30904
|
+
@DatasourceName = params['DatasourceName']
|
30905
|
+
@DatabaseId = params['DatabaseId']
|
30906
|
+
@DatabaseName = params['DatabaseName']
|
30907
|
+
@TableName = params['TableName']
|
30908
|
+
@EngineType = params['EngineType']
|
30909
|
+
@TableType = params['TableType']
|
30910
|
+
@ProjectId = params['ProjectId']
|
30911
|
+
@ProjectName = params['ProjectName']
|
30912
|
+
@ProjectDisplayName = params['ProjectDisplayName']
|
30913
|
+
@TableOwnerId = params['TableOwnerId']
|
30914
|
+
@TableOwnerName = params['TableOwnerName']
|
30915
|
+
@StorageLocation = params['StorageLocation']
|
30916
|
+
@Description = params['Description']
|
30917
|
+
@IsPartitionTable = params['IsPartitionTable']
|
30918
|
+
@PartitionColumns = params['PartitionColumns']
|
30919
|
+
@StorageFormat = params['StorageFormat']
|
30920
|
+
@StorageSize = params['StorageSize']
|
30921
|
+
@StorageSizeWithUnit = params['StorageSizeWithUnit']
|
30922
|
+
@TotalSizeMb = params['TotalSizeMb']
|
30923
|
+
@ReplicaCount = params['ReplicaCount']
|
30924
|
+
@FileCount = params['FileCount']
|
30925
|
+
@PartitionCount = params['PartitionCount']
|
30926
|
+
@PartitionFieldCount = params['PartitionFieldCount']
|
30927
|
+
@PartitionExpireDays = params['PartitionExpireDays']
|
30928
|
+
@CreateTime = params['CreateTime']
|
30929
|
+
@UpdateTime = params['UpdateTime']
|
30930
|
+
end
|
30931
|
+
end
|
30932
|
+
|
30450
30933
|
# 规则表变量替换
|
30451
30934
|
class TableConfig < TencentCloud::Common::AbstractModel
|
30452
30935
|
# @param DatabaseId: 数据库Id
|
@@ -30560,6 +31043,127 @@ module TencentCloud
|
|
30560
31043
|
end
|
30561
31044
|
end
|
30562
31045
|
|
31046
|
+
# 表血缘详细信息
|
31047
|
+
class TableLineageBaseInfo < TencentCloud::Common::AbstractModel
|
31048
|
+
# @param MetastoreType: 元数据类型
|
31049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31050
|
+
# @type MetastoreType: String
|
31051
|
+
# @param PrefixPath: 由中心节点到该节点的路径
|
31052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31053
|
+
# @type PrefixPath: String
|
31054
|
+
# @param ProjectId: 空间id
|
31055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31056
|
+
# @type ProjectId: String
|
31057
|
+
# @param DatasourceId: 数据源id
|
31058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31059
|
+
# @type DatasourceId: String
|
31060
|
+
# @param TableId: 表id
|
31061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31062
|
+
# @type TableId: String
|
31063
|
+
# @param Params: 表血缘参数
|
31064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31065
|
+
# @type Params: Array
|
31066
|
+
# @param ParentSet: 父节点列表
|
31067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31068
|
+
# @type ParentSet: String
|
31069
|
+
# @param ChildSet: 子节点列表
|
31070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31071
|
+
# @type ChildSet: String
|
31072
|
+
# @param ExtParams: 额外参数
|
31073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31074
|
+
# @type ExtParams: Array
|
31075
|
+
# @param Id: 血缘id
|
31076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31077
|
+
# @type Id: String
|
31078
|
+
# @param MetastoreTypeName: 元数据类型名称
|
31079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31080
|
+
# @type MetastoreTypeName: String
|
31081
|
+
# @param TableName: 表名称
|
31082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31083
|
+
# @type TableName: String
|
31084
|
+
# @param QualifiedName: 表全称
|
31085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31086
|
+
# @type QualifiedName: String
|
31087
|
+
# @param DownStreamCount: 血缘下游节点数
|
31088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31089
|
+
# @type DownStreamCount: Integer
|
31090
|
+
# @param UpStreamCount: 血缘上游节点数
|
31091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31092
|
+
# @type UpStreamCount: Integer
|
31093
|
+
# @param Description: 血缘描述
|
31094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31095
|
+
# @type Description: String
|
31096
|
+
# @param CreateTime: 血缘创建时间
|
31097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31098
|
+
# @type CreateTime: String
|
31099
|
+
# @param ModifyTime: 血缘更新时间
|
31100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31101
|
+
# @type ModifyTime: String
|
31102
|
+
# @param Tasks: 修改血缘的任务id列表
|
31103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31104
|
+
# @type Tasks: Array
|
31105
|
+
|
31106
|
+
attr_accessor :MetastoreType, :PrefixPath, :ProjectId, :DatasourceId, :TableId, :Params, :ParentSet, :ChildSet, :ExtParams, :Id, :MetastoreTypeName, :TableName, :QualifiedName, :DownStreamCount, :UpStreamCount, :Description, :CreateTime, :ModifyTime, :Tasks
|
31107
|
+
|
31108
|
+
def initialize(metastoretype=nil, prefixpath=nil, projectid=nil, datasourceid=nil, tableid=nil, params=nil, parentset=nil, childset=nil, extparams=nil, id=nil, metastoretypename=nil, tablename=nil, qualifiedname=nil, downstreamcount=nil, upstreamcount=nil, description=nil, createtime=nil, modifytime=nil, tasks=nil)
|
31109
|
+
@MetastoreType = metastoretype
|
31110
|
+
@PrefixPath = prefixpath
|
31111
|
+
@ProjectId = projectid
|
31112
|
+
@DatasourceId = datasourceid
|
31113
|
+
@TableId = tableid
|
31114
|
+
@Params = params
|
31115
|
+
@ParentSet = parentset
|
31116
|
+
@ChildSet = childset
|
31117
|
+
@ExtParams = extparams
|
31118
|
+
@Id = id
|
31119
|
+
@MetastoreTypeName = metastoretypename
|
31120
|
+
@TableName = tablename
|
31121
|
+
@QualifiedName = qualifiedname
|
31122
|
+
@DownStreamCount = downstreamcount
|
31123
|
+
@UpStreamCount = upstreamcount
|
31124
|
+
@Description = description
|
31125
|
+
@CreateTime = createtime
|
31126
|
+
@ModifyTime = modifytime
|
31127
|
+
@Tasks = tasks
|
31128
|
+
end
|
31129
|
+
|
31130
|
+
def deserialize(params)
|
31131
|
+
@MetastoreType = params['MetastoreType']
|
31132
|
+
@PrefixPath = params['PrefixPath']
|
31133
|
+
@ProjectId = params['ProjectId']
|
31134
|
+
@DatasourceId = params['DatasourceId']
|
31135
|
+
@TableId = params['TableId']
|
31136
|
+
unless params['Params'].nil?
|
31137
|
+
@Params = []
|
31138
|
+
params['Params'].each do |i|
|
31139
|
+
lineageparamrecord_tmp = LineageParamRecord.new
|
31140
|
+
lineageparamrecord_tmp.deserialize(i)
|
31141
|
+
@Params << lineageparamrecord_tmp
|
31142
|
+
end
|
31143
|
+
end
|
31144
|
+
@ParentSet = params['ParentSet']
|
31145
|
+
@ChildSet = params['ChildSet']
|
31146
|
+
unless params['ExtParams'].nil?
|
31147
|
+
@ExtParams = []
|
31148
|
+
params['ExtParams'].each do |i|
|
31149
|
+
recordfield_tmp = RecordField.new
|
31150
|
+
recordfield_tmp.deserialize(i)
|
31151
|
+
@ExtParams << recordfield_tmp
|
31152
|
+
end
|
31153
|
+
end
|
31154
|
+
@Id = params['Id']
|
31155
|
+
@MetastoreTypeName = params['MetastoreTypeName']
|
31156
|
+
@TableName = params['TableName']
|
31157
|
+
@QualifiedName = params['QualifiedName']
|
31158
|
+
@DownStreamCount = params['DownStreamCount']
|
31159
|
+
@UpStreamCount = params['UpStreamCount']
|
31160
|
+
@Description = params['Description']
|
31161
|
+
@CreateTime = params['CreateTime']
|
31162
|
+
@ModifyTime = params['ModifyTime']
|
31163
|
+
@Tasks = params['Tasks']
|
31164
|
+
end
|
31165
|
+
end
|
31166
|
+
|
30563
31167
|
# 表血缘详细信息
|
30564
31168
|
class TableLineageInfo < TencentCloud::Common::AbstractModel
|
30565
31169
|
# @param MetastoreType: 元数据类型
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.738
|
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-12-
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|