tencentcloud-sdk-cdwch 3.0.654 → 3.0.656

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: 6f7b6ef8252cc4caf0a37b18da946fa2efb0d2d6
4
- data.tar.gz: 0ac7b8a04278cd3e94321b93d2ed40825bc1975a
3
+ metadata.gz: 599cc8d24aa20b72de5174cfabfc864a584eb2a1
4
+ data.tar.gz: 6c0b244b5b412127bfe5c004d3d7c36921516966
5
5
  SHA512:
6
- metadata.gz: 8f9753b951629f801bc4a751906eae7816a73b828b2897cf92ae0c1c294d25ddd4aaabda0f27709936e632da48236e4b15de18c0da25a9e5412a5415e2510c2c
7
- data.tar.gz: 0928b802feca570ae459835daaba3927c8ae1c1963f212e5605e12b765b91f25dc5022ef5e39bfd94b1d7da30fb760bc094c98a6799838d9bd3efa7f6b7ad9da
6
+ metadata.gz: 0cbfc311957660de886c8083c1264c4df4f6ee419399552aa99199e0a2dcc8846eff235be85c30b5fd3c6e24cb8411caf9a19f0ee337c33cf4de2facb5b81859
7
+ data.tar.gz: c96df84b816fbade3f08c04ee6fafd26478a6d4dec44263a291858c1fe0bb49850db2ce48f637bf313f7a5edd7a3958b79d3fd03b828d0f7dcde062f43a4cc05
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.654
1
+ 3.0.656
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 获取可备份表信息
201
+
202
+ # @param request: Request instance for DescribeBackUpTables.
203
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeBackUpTablesRequest`
204
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeBackUpTablesResponse`
205
+ def DescribeBackUpTables(request)
206
+ body = send_request('DescribeBackUpTables', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeBackUpTablesResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 查询集群用户、集群表,数据库等相关信息
201
225
 
202
226
  # @param request: Request instance for DescribeCkSqlApis.
@@ -752,6 +752,49 @@ module TencentCloud
752
752
  end
753
753
  end
754
754
 
755
+ # DescribeBackUpTables请求参数结构体
756
+ class DescribeBackUpTablesRequest < TencentCloud::Common::AbstractModel
757
+ # @param InstanceId: 集群id
758
+ # @type InstanceId: String
759
+
760
+ attr_accessor :InstanceId
761
+
762
+ def initialize(instanceid=nil)
763
+ @InstanceId = instanceid
764
+ end
765
+
766
+ def deserialize(params)
767
+ @InstanceId = params['InstanceId']
768
+ end
769
+ end
770
+
771
+ # DescribeBackUpTables返回参数结构体
772
+ class DescribeBackUpTablesResponse < TencentCloud::Common::AbstractModel
773
+ # @param AvailableTables: 可备份表列表
774
+ # @type AvailableTables: Array
775
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
776
+ # @type RequestId: String
777
+
778
+ attr_accessor :AvailableTables, :RequestId
779
+
780
+ def initialize(availabletables=nil, requestid=nil)
781
+ @AvailableTables = availabletables
782
+ @RequestId = requestid
783
+ end
784
+
785
+ def deserialize(params)
786
+ unless params['AvailableTables'].nil?
787
+ @AvailableTables = []
788
+ params['AvailableTables'].each do |i|
789
+ backuptablecontent_tmp = BackupTableContent.new
790
+ backuptablecontent_tmp.deserialize(i)
791
+ @AvailableTables << backuptablecontent_tmp
792
+ end
793
+ end
794
+ @RequestId = params['RequestId']
795
+ end
796
+ end
797
+
755
798
  # DescribeCkSqlApis请求参数结构体
756
799
  class DescribeCkSqlApisRequest < TencentCloud::Common::AbstractModel
757
800
  # @param InstanceId: 实例id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.654
4
+ version: 3.0.656
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-09-07 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common