tencentcloud-sdk-wedata 3.0.895 → 3.0.897
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/v20210820/client.rb +24 -0
- data/lib/v20210820/models.rb +124 -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: c983aacf89f8878e632b512e5f851ca30e6753ae
|
4
|
+
data.tar.gz: c374dd204d115777258cbd86b36aed351d6e0edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 239827f1cc5a58625cc02ded18c5fd0798b56b41cb3c5ecb64deea1d472767dc12e3660b5856a9947e0ced9bafcd21dffa8c1750cc2d720d6257797c768e4e48
|
7
|
+
data.tar.gz: e3f59d97b246608c1d04a1e9974c5f3bac9fe1b9e2ea587f115dfa9edce33c3eb67578a8d6e4065bdf46b8a3cee0b218c493726afc9443ded5cba22c4794afd8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.897
|
data/lib/v20210820/client.rb
CHANGED
@@ -3656,6 +3656,30 @@ module TencentCloud
|
|
3656
3656
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3657
3657
|
end
|
3658
3658
|
|
3659
|
+
# 查询表的分区详情信息
|
3660
|
+
|
3661
|
+
# @param request: Request instance for DescribeTablePartitions.
|
3662
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTablePartitionsRequest`
|
3663
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTablePartitionsResponse`
|
3664
|
+
def DescribeTablePartitions(request)
|
3665
|
+
body = send_request('DescribeTablePartitions', request.serialize)
|
3666
|
+
response = JSON.parse(body)
|
3667
|
+
if response['Response'].key?('Error') == false
|
3668
|
+
model = DescribeTablePartitionsResponse.new
|
3669
|
+
model.deserialize(response['Response'])
|
3670
|
+
model
|
3671
|
+
else
|
3672
|
+
code = response['Response']['Error']['Code']
|
3673
|
+
message = response['Response']['Error']['Message']
|
3674
|
+
reqid = response['Response']['RequestId']
|
3675
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3676
|
+
end
|
3677
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3678
|
+
raise e
|
3679
|
+
rescue StandardError => e
|
3680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3681
|
+
end
|
3682
|
+
|
3659
3683
|
# 质量报告-查询表质量详情
|
3660
3684
|
|
3661
3685
|
# @param request: Request instance for DescribeTableQualityDetails.
|
data/lib/v20210820/models.rb
CHANGED
@@ -12515,6 +12515,84 @@ module TencentCloud
|
|
12515
12515
|
end
|
12516
12516
|
end
|
12517
12517
|
|
12518
|
+
# DescribeTablePartitions请求参数结构体
|
12519
|
+
class DescribeTablePartitionsRequest < TencentCloud::Common::AbstractModel
|
12520
|
+
# @param TableId: 表ID
|
12521
|
+
# @type TableId: String
|
12522
|
+
# @param PageNumber: 分页number
|
12523
|
+
# @type PageNumber: Integer
|
12524
|
+
# @param PageSize: 分页size
|
12525
|
+
# @type PageSize: Integer
|
12526
|
+
# @param FilterSet: 过滤器
|
12527
|
+
# @type FilterSet: Array
|
12528
|
+
# @param OrderFieldSet: 排序字段
|
12529
|
+
# @type OrderFieldSet: Array
|
12530
|
+
|
12531
|
+
attr_accessor :TableId, :PageNumber, :PageSize, :FilterSet, :OrderFieldSet
|
12532
|
+
|
12533
|
+
def initialize(tableid=nil, pagenumber=nil, pagesize=nil, filterset=nil, orderfieldset=nil)
|
12534
|
+
@TableId = tableid
|
12535
|
+
@PageNumber = pagenumber
|
12536
|
+
@PageSize = pagesize
|
12537
|
+
@FilterSet = filterset
|
12538
|
+
@OrderFieldSet = orderfieldset
|
12539
|
+
end
|
12540
|
+
|
12541
|
+
def deserialize(params)
|
12542
|
+
@TableId = params['TableId']
|
12543
|
+
@PageNumber = params['PageNumber']
|
12544
|
+
@PageSize = params['PageSize']
|
12545
|
+
unless params['FilterSet'].nil?
|
12546
|
+
@FilterSet = []
|
12547
|
+
params['FilterSet'].each do |i|
|
12548
|
+
filter_tmp = Filter.new
|
12549
|
+
filter_tmp.deserialize(i)
|
12550
|
+
@FilterSet << filter_tmp
|
12551
|
+
end
|
12552
|
+
end
|
12553
|
+
unless params['OrderFieldSet'].nil?
|
12554
|
+
@OrderFieldSet = []
|
12555
|
+
params['OrderFieldSet'].each do |i|
|
12556
|
+
orderfield_tmp = OrderField.new
|
12557
|
+
orderfield_tmp.deserialize(i)
|
12558
|
+
@OrderFieldSet << orderfield_tmp
|
12559
|
+
end
|
12560
|
+
end
|
12561
|
+
end
|
12562
|
+
end
|
12563
|
+
|
12564
|
+
# DescribeTablePartitions返回参数结构体
|
12565
|
+
class DescribeTablePartitionsResponse < TencentCloud::Common::AbstractModel
|
12566
|
+
# @param TablePartitionSet: 分区详情列表
|
12567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12568
|
+
# @type TablePartitionSet: Array
|
12569
|
+
# @param TotalCount: 总记录数
|
12570
|
+
# @type TotalCount: Integer
|
12571
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12572
|
+
# @type RequestId: String
|
12573
|
+
|
12574
|
+
attr_accessor :TablePartitionSet, :TotalCount, :RequestId
|
12575
|
+
|
12576
|
+
def initialize(tablepartitionset=nil, totalcount=nil, requestid=nil)
|
12577
|
+
@TablePartitionSet = tablepartitionset
|
12578
|
+
@TotalCount = totalcount
|
12579
|
+
@RequestId = requestid
|
12580
|
+
end
|
12581
|
+
|
12582
|
+
def deserialize(params)
|
12583
|
+
unless params['TablePartitionSet'].nil?
|
12584
|
+
@TablePartitionSet = []
|
12585
|
+
params['TablePartitionSet'].each do |i|
|
12586
|
+
tablepartition_tmp = TablePartition.new
|
12587
|
+
tablepartition_tmp.deserialize(i)
|
12588
|
+
@TablePartitionSet << tablepartition_tmp
|
12589
|
+
end
|
12590
|
+
end
|
12591
|
+
@TotalCount = params['TotalCount']
|
12592
|
+
@RequestId = params['RequestId']
|
12593
|
+
end
|
12594
|
+
end
|
12595
|
+
|
12518
12596
|
# DescribeTableQualityDetails请求参数结构体
|
12519
12597
|
class DescribeTableQualityDetailsRequest < TencentCloud::Common::AbstractModel
|
12520
12598
|
# @param StatisticsDate: 统计日期
|
@@ -26180,6 +26258,52 @@ module TencentCloud
|
|
26180
26258
|
end
|
26181
26259
|
end
|
26182
26260
|
|
26261
|
+
# 表的分区数据
|
26262
|
+
class TablePartition < TencentCloud::Common::AbstractModel
|
26263
|
+
# @param PartitionName: 分区名称
|
26264
|
+
# @type PartitionName: String
|
26265
|
+
# @param RecordCount: 分区记录数
|
26266
|
+
# @type RecordCount: Integer
|
26267
|
+
# @param StorageSize: 分区数据存储大小,字节数
|
26268
|
+
# @type StorageSize: String
|
26269
|
+
# @param CreateTime: 分区创建时间
|
26270
|
+
# @type CreateTime: String
|
26271
|
+
# @param ModifiedTime: 分区修改时间
|
26272
|
+
# @type ModifiedTime: String
|
26273
|
+
# @param StorageSizeWithUnit: 分区数据存储大小,已转为适合的单位
|
26274
|
+
# @type StorageSizeWithUnit: String
|
26275
|
+
# @param NumFiles: 文件数
|
26276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26277
|
+
# @type NumFiles: Integer
|
26278
|
+
# @param AverageFileSizeWithUnit: 平均文件大小
|
26279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26280
|
+
# @type AverageFileSizeWithUnit: String
|
26281
|
+
|
26282
|
+
attr_accessor :PartitionName, :RecordCount, :StorageSize, :CreateTime, :ModifiedTime, :StorageSizeWithUnit, :NumFiles, :AverageFileSizeWithUnit
|
26283
|
+
|
26284
|
+
def initialize(partitionname=nil, recordcount=nil, storagesize=nil, createtime=nil, modifiedtime=nil, storagesizewithunit=nil, numfiles=nil, averagefilesizewithunit=nil)
|
26285
|
+
@PartitionName = partitionname
|
26286
|
+
@RecordCount = recordcount
|
26287
|
+
@StorageSize = storagesize
|
26288
|
+
@CreateTime = createtime
|
26289
|
+
@ModifiedTime = modifiedtime
|
26290
|
+
@StorageSizeWithUnit = storagesizewithunit
|
26291
|
+
@NumFiles = numfiles
|
26292
|
+
@AverageFileSizeWithUnit = averagefilesizewithunit
|
26293
|
+
end
|
26294
|
+
|
26295
|
+
def deserialize(params)
|
26296
|
+
@PartitionName = params['PartitionName']
|
26297
|
+
@RecordCount = params['RecordCount']
|
26298
|
+
@StorageSize = params['StorageSize']
|
26299
|
+
@CreateTime = params['CreateTime']
|
26300
|
+
@ModifiedTime = params['ModifiedTime']
|
26301
|
+
@StorageSizeWithUnit = params['StorageSizeWithUnit']
|
26302
|
+
@NumFiles = params['NumFiles']
|
26303
|
+
@AverageFileSizeWithUnit = params['AverageFileSizeWithUnit']
|
26304
|
+
end
|
26305
|
+
end
|
26306
|
+
|
26183
26307
|
# 按天更新的表的资产评分
|
26184
26308
|
class TablePropertyScore < TencentCloud::Common::AbstractModel
|
26185
26309
|
# @param TableId: 表ID
|
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.897
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|