tencentcloud-sdk-cdwch 3.0.653 → 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: 0c6a20822f571138ff6305a460766fd44d36620e
4
- data.tar.gz: e587084f5948928769c37800eb9a5eb786048af1
3
+ metadata.gz: ad0d85bb81e7b7c5838cafaba61a35e0d36a0181
4
+ data.tar.gz: 0ac3608fbb556d8f94eafbfacda4d356691e2e2e
5
5
  SHA512:
6
- metadata.gz: 9dd6c493ecca101d14232b0a04cad21456339fd7d01e84be2a9c641b55926557e7507419ceabdbb341072778306fe46e7dc77b35be97b01f321d3f8eb9085d6e
7
- data.tar.gz: 14a04b1f319420281c115947af2a4453fa5a02d39531d36e38affc979837efb3f4c037e2417d2db9eed84118e2aad8283660a7f4c411b9b666f15941c4d7bfa0
6
+ metadata.gz: 0b348339dd72d026a3386dc2ff40b60192e0e7268d3eeec16543ee5f6fe9fc5f6b78281b427b0930165ad437580019dd740d670c979509cbaf252bc1f1ecd7ba
7
+ data.tar.gz: 7745f522ee8c51a886ab654db93dbcb6f53cde13bd12cc9bde0eba0daadb909a2f34da5f6657de92cf7ee9fb5eea2b0ff3d42cb0bcd39d66f5d9c38150a9f0ef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.653
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.653
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-06 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
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-cdwch.rb
37
- - lib/v20200915/client.rb
38
36
  - lib/v20200915/models.rb
37
+ - lib/v20200915/client.rb
38
+ - lib/tencentcloud-sdk-cdwch.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: