tencentcloud-sdk-cdwch 3.0.654 → 3.0.655

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: ad0d85bb81e7b7c5838cafaba61a35e0d36a0181
4
+ data.tar.gz: 0ac3608fbb556d8f94eafbfacda4d356691e2e2e
5
5
  SHA512:
6
- metadata.gz: 8f9753b951629f801bc4a751906eae7816a73b828b2897cf92ae0c1c294d25ddd4aaabda0f27709936e632da48236e4b15de18c0da25a9e5412a5415e2510c2c
7
- data.tar.gz: 0928b802feca570ae459835daaba3927c8ae1c1963f212e5605e12b765b91f25dc5022ef5e39bfd94b1d7da30fb760bc094c98a6799838d9bd3efa7f6b7ad9da
6
+ metadata.gz: 0b348339dd72d026a3386dc2ff40b60192e0e7268d3eeec16543ee5f6fe9fc5f6b78281b427b0930165ad437580019dd740d670c979509cbaf252bc1f1ecd7ba
7
+ data.tar.gz: 7745f522ee8c51a886ab654db93dbcb6f53cde13bd12cc9bde0eba0daadb909a2f34da5f6657de92cf7ee9fb5eea2b0ff3d42cb0bcd39d66f5d9c38150a9f0ef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.654
1
+ 3.0.655
@@ -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.655
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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common