tencentcloud-sdk-cynosdb 3.0.962 → 3.0.964
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/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +65 -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: ae6b9954cc5dd5d39aa616df6a54ff34d4c6bb8f
|
4
|
+
data.tar.gz: 44393751c99653aa616ed83bba04e5c3c54dd814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f495b0f9a72393159bcb6c2fc77cfb090450238882c285291d6b68726ac3e706be7dc70777aee9cb26e2d2f9ed73f2d4fbb697cf1e9e83007069688f259a413b
|
7
|
+
data.tar.gz: 8a3df12dd11e38bf1143eace9570d3596cb54a5086286405b28d5da9754f9a0e001d7e38216fd51ecf1cd74a29051086718c07f068419f154ff9692700314412
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.964
|
data/lib/v20190107/client.rb
CHANGED
@@ -1109,6 +1109,30 @@ module TencentCloud
|
|
1109
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1110
|
end
|
1111
1111
|
|
1112
|
+
# 获取table列表
|
1113
|
+
|
1114
|
+
# @param request: Request instance for DescribeClusterDatabaseTables.
|
1115
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDatabaseTablesRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDatabaseTablesResponse`
|
1117
|
+
def DescribeClusterDatabaseTables(request)
|
1118
|
+
body = send_request('DescribeClusterDatabaseTables', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = DescribeClusterDatabaseTablesResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1112
1136
|
# 本接口(DescribeClusterDatabases)用于获取集群数据库列表。
|
1113
1137
|
|
1114
1138
|
# @param request: Request instance for DescribeClusterDatabases.
|
data/lib/v20190107/models.rb
CHANGED
@@ -5422,6 +5422,71 @@ module TencentCloud
|
|
5422
5422
|
end
|
5423
5423
|
end
|
5424
5424
|
|
5425
|
+
# DescribeClusterDatabaseTables请求参数结构体
|
5426
|
+
class DescribeClusterDatabaseTablesRequest < TencentCloud::Common::AbstractModel
|
5427
|
+
# @param ClusterId: 集群id
|
5428
|
+
# @type ClusterId: String
|
5429
|
+
# @param Db: 数据库名
|
5430
|
+
# @type Db: String
|
5431
|
+
# @param Offset: 偏移
|
5432
|
+
# @type Offset: Integer
|
5433
|
+
# @param Limit: 个数
|
5434
|
+
# @type Limit: Integer
|
5435
|
+
# @param TableType: 数据表类型。
|
5436
|
+
# "view"表示只返回 view,"base_table" 表示只返回基本表,"all" 表示返回 view 和表。默认为 all。
|
5437
|
+
# @type TableType: String
|
5438
|
+
|
5439
|
+
attr_accessor :ClusterId, :Db, :Offset, :Limit, :TableType
|
5440
|
+
|
5441
|
+
def initialize(clusterid=nil, db=nil, offset=nil, limit=nil, tabletype=nil)
|
5442
|
+
@ClusterId = clusterid
|
5443
|
+
@Db = db
|
5444
|
+
@Offset = offset
|
5445
|
+
@Limit = limit
|
5446
|
+
@TableType = tabletype
|
5447
|
+
end
|
5448
|
+
|
5449
|
+
def deserialize(params)
|
5450
|
+
@ClusterId = params['ClusterId']
|
5451
|
+
@Db = params['Db']
|
5452
|
+
@Offset = params['Offset']
|
5453
|
+
@Limit = params['Limit']
|
5454
|
+
@TableType = params['TableType']
|
5455
|
+
end
|
5456
|
+
end
|
5457
|
+
|
5458
|
+
# DescribeClusterDatabaseTables返回参数结构体
|
5459
|
+
class DescribeClusterDatabaseTablesResponse < TencentCloud::Common::AbstractModel
|
5460
|
+
# @param TotalCount: 总条数
|
5461
|
+
# @type TotalCount: Integer
|
5462
|
+
# @param Offset: 分页偏移
|
5463
|
+
# @type Offset: Integer
|
5464
|
+
# @param Limit: 分页限制数量
|
5465
|
+
# @type Limit: Integer
|
5466
|
+
# @param Tables: 数据库表列表
|
5467
|
+
# @type Tables: Array
|
5468
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5469
|
+
# @type RequestId: String
|
5470
|
+
|
5471
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tables, :RequestId
|
5472
|
+
|
5473
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tables=nil, requestid=nil)
|
5474
|
+
@TotalCount = totalcount
|
5475
|
+
@Offset = offset
|
5476
|
+
@Limit = limit
|
5477
|
+
@Tables = tables
|
5478
|
+
@RequestId = requestid
|
5479
|
+
end
|
5480
|
+
|
5481
|
+
def deserialize(params)
|
5482
|
+
@TotalCount = params['TotalCount']
|
5483
|
+
@Offset = params['Offset']
|
5484
|
+
@Limit = params['Limit']
|
5485
|
+
@Tables = params['Tables']
|
5486
|
+
@RequestId = params['RequestId']
|
5487
|
+
end
|
5488
|
+
end
|
5489
|
+
|
5425
5490
|
# DescribeClusterDatabases请求参数结构体
|
5426
5491
|
class DescribeClusterDatabasesRequest < TencentCloud::Common::AbstractModel
|
5427
5492
|
# @param ClusterId: 集群id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.964
|
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-12-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|