tencentcloud-sdk-cdwdoris 3.0.887 → 3.0.888
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/v20211228/client.rb +24 -0
- data/lib/v20211228/models.rb +58 -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: 1c9ba8ba2549dd4cc143d82ef86e8f6b5e12bf19
|
4
|
+
data.tar.gz: 82898946bc1cd079b1051d12a0537d9afcd6adab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76247e2452bd2e436cf13907322d6c272912c1aed9dcb3df25160d9a5de98bc633add155d9b87bb5f8f7e5a031f2bd2ab543df038da8f9b58d4133857f8385c8
|
7
|
+
data.tar.gz: cc1167cd6618481a8747eb850f15c2e5529c13ef7a8da2e825b25af5ef6a05ef2d0da50c3e68f986f0d1a929fe6c7532ea07ce06afd51fd0f6a98f322314e0cf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.888
|
data/lib/v20211228/client.rb
CHANGED
@@ -941,6 +941,30 @@ module TencentCloud
|
|
941
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
942
|
end
|
943
943
|
|
944
|
+
# 获取指定数据源和库下的表列表
|
945
|
+
|
946
|
+
# @param request: Request instance for DescribeTableList.
|
947
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeTableListRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeTableListResponse`
|
949
|
+
def DescribeTableList(request)
|
950
|
+
body = send_request('DescribeTableList', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DescribeTableListResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
944
968
|
# 获取当前集群各用户绑定的资源信息
|
945
969
|
|
946
970
|
# @param request: Request instance for DescribeUserBindWorkloadGroup.
|
data/lib/v20211228/models.rb
CHANGED
@@ -3003,6 +3003,64 @@ module TencentCloud
|
|
3003
3003
|
end
|
3004
3004
|
end
|
3005
3005
|
|
3006
|
+
# DescribeTableList请求参数结构体
|
3007
|
+
class DescribeTableListRequest < TencentCloud::Common::AbstractModel
|
3008
|
+
# @param InstanceId: 资源ID,建表所用的TCHouse-D资源ID。
|
3009
|
+
# @type InstanceId: String
|
3010
|
+
# @param DbName: 需要获取表列表的库
|
3011
|
+
# @type DbName: String
|
3012
|
+
# @param UserName: 使用该用户进行操作,该用户需要有对应的权限。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
3013
|
+
# @type UserName: String
|
3014
|
+
# @param PassWord: 用户对应的密码。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
3015
|
+
# @type PassWord: String
|
3016
|
+
# @param CatalogName: 查询库所在的数据源,不填则默认为内部数据源(internal)。
|
3017
|
+
# @type CatalogName: String
|
3018
|
+
|
3019
|
+
attr_accessor :InstanceId, :DbName, :UserName, :PassWord, :CatalogName
|
3020
|
+
|
3021
|
+
def initialize(instanceid=nil, dbname=nil, username=nil, password=nil, catalogname=nil)
|
3022
|
+
@InstanceId = instanceid
|
3023
|
+
@DbName = dbname
|
3024
|
+
@UserName = username
|
3025
|
+
@PassWord = password
|
3026
|
+
@CatalogName = catalogname
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
def deserialize(params)
|
3030
|
+
@InstanceId = params['InstanceId']
|
3031
|
+
@DbName = params['DbName']
|
3032
|
+
@UserName = params['UserName']
|
3033
|
+
@PassWord = params['PassWord']
|
3034
|
+
@CatalogName = params['CatalogName']
|
3035
|
+
end
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
# DescribeTableList返回参数结构体
|
3039
|
+
class DescribeTableListResponse < TencentCloud::Common::AbstractModel
|
3040
|
+
# @param TableNames: 表名列表
|
3041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3042
|
+
# @type TableNames: Array
|
3043
|
+
# @param Message: 错误信息
|
3044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3045
|
+
# @type Message: String
|
3046
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3047
|
+
# @type RequestId: String
|
3048
|
+
|
3049
|
+
attr_accessor :TableNames, :Message, :RequestId
|
3050
|
+
|
3051
|
+
def initialize(tablenames=nil, message=nil, requestid=nil)
|
3052
|
+
@TableNames = tablenames
|
3053
|
+
@Message = message
|
3054
|
+
@RequestId = requestid
|
3055
|
+
end
|
3056
|
+
|
3057
|
+
def deserialize(params)
|
3058
|
+
@TableNames = params['TableNames']
|
3059
|
+
@Message = params['Message']
|
3060
|
+
@RequestId = params['RequestId']
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
|
3006
3064
|
# DescribeUserBindWorkloadGroup请求参数结构体
|
3007
3065
|
class DescribeUserBindWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
3008
3066
|
# @param InstanceId: 集群id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwdoris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.888
|
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-08-
|
11
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|