tencentcloud-sdk-cynosdb 3.0.963 → 3.0.964

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6c3b9bb8b9172f899a3f1fd6c9cf09372f6ec92
4
- data.tar.gz: 0855ced0d837e157d64b0a86363ac337644edb8a
3
+ metadata.gz: ae6b9954cc5dd5d39aa616df6a54ff34d4c6bb8f
4
+ data.tar.gz: 44393751c99653aa616ed83bba04e5c3c54dd814
5
5
  SHA512:
6
- metadata.gz: 3ccbad98984e9a9bc90816e0e9e3a13de9eb06ebbc9cbf0c39e5253ac56adae0d04975e6d5437258ff3aa46df2d8a566c77bf3b0be06233b6c8563cf22d01ab2
7
- data.tar.gz: 409cf447f3b8a47e9c788570cc88ed63b3f560d53e535ed8bdbec76301c728b12d67d55a790ddf9c218218d5c8bd87b91af8037e3745670c903999bb54c13b86
6
+ metadata.gz: f495b0f9a72393159bcb6c2fc77cfb090450238882c285291d6b68726ac3e706be7dc70777aee9cb26e2d2f9ed73f2d4fbb697cf1e9e83007069688f259a413b
7
+ data.tar.gz: 8a3df12dd11e38bf1143eace9570d3596cb54a5086286405b28d5da9754f9a0e001d7e38216fd51ecf1cd74a29051086718c07f068419f154ff9692700314412
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.963
1
+ 3.0.964
@@ -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.
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.963
4
+ version: 3.0.964
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud