tencentcloud-sdk-dcdb 1.0.224 → 1.0.228

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: 10b5d4990607ac8beccade49da91abf004189392
4
- data.tar.gz: 5fd37c8d4d75cdfda9d3e2c57f62d302b30d496b
3
+ metadata.gz: 856ac0452205693cd2816709bbab4a9788bec0c9
4
+ data.tar.gz: 0b00fda92db65e725e300ff2f47d049f588f127c
5
5
  SHA512:
6
- metadata.gz: bb46c3df677e3933172f683c499be2b28820c17c97e72032b39710f7fc0e9d8a22dbfeba3e811645210f8406366658bbdd4316dbeadda07b03231948274e5848
7
- data.tar.gz: e0a1952fb71e2fc6b968953ab1b2e1980bef9e7a86fd68b6cae82d8d9f3702d334c851fb74017918704116704fb805253c3aa226aaf11cde365ee119d64cf797
6
+ metadata.gz: 283ac51d2bc5eac161662b09c0e5d0851d5c1fc758c2d19a513712215260415259f0c3a6327fa7102ec05a1c9f951e53391e2ae682707f95c381c44657a9f31a
7
+ data.tar.gz: 39d04038f9d4d8fca90aaef209f03dc06523e63c213b3de9047a3f3bec0bc0dda4665b0a02493538c0b8ccc93b0a15b7063ab34334bd626b1f8ec7f323b08606
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.224
1
+ 1.0.228
@@ -656,6 +656,30 @@ module TencentCloud
656
656
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
657
  end
658
658
 
659
+ # 本接口(DescribeFileDownloadUrl)用于获取数据库指定备份或日志文件的下载连接。
660
+
661
+ # @param request: Request instance for DescribeFileDownloadUrl.
662
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeFileDownloadUrlRequest`
663
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeFileDownloadUrlResponse`
664
+ def DescribeFileDownloadUrl(request)
665
+ body = send_request('DescribeFileDownloadUrl', request.serialize)
666
+ response = JSON.parse(body)
667
+ if response['Response'].key?('Error') == false
668
+ model = DescribeFileDownloadUrlResponse.new
669
+ model.deserialize(response['Response'])
670
+ model
671
+ else
672
+ code = response['Response']['Error']['Code']
673
+ message = response['Response']['Error']['Message']
674
+ reqid = response['Response']['RequestId']
675
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
676
+ end
677
+ rescue TencentCloud::Common::TencentCloudSDKException => e
678
+ raise e
679
+ rescue StandardError => e
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
681
+ end
682
+
659
683
  # 本接口(DescribeFlow)用于查询流程状态
660
684
 
661
685
  # @param request: Request instance for DescribeFlow.
@@ -2361,6 +2361,50 @@ module TencentCloud
2361
2361
  end
2362
2362
  end
2363
2363
 
2364
+ # DescribeFileDownloadUrl请求参数结构体
2365
+ class DescribeFileDownloadUrlRequest < TencentCloud::Common::AbstractModel
2366
+ # @param InstanceId: 实例ID
2367
+ # @type InstanceId: String
2368
+ # @param ShardId: 实例分片ID
2369
+ # @type ShardId: String
2370
+ # @param FilePath: 不带签名的文件路径
2371
+ # @type FilePath: String
2372
+
2373
+ attr_accessor :InstanceId, :ShardId, :FilePath
2374
+
2375
+ def initialize(instanceid=nil, shardid=nil, filepath=nil)
2376
+ @InstanceId = instanceid
2377
+ @ShardId = shardid
2378
+ @FilePath = filepath
2379
+ end
2380
+
2381
+ def deserialize(params)
2382
+ @InstanceId = params['InstanceId']
2383
+ @ShardId = params['ShardId']
2384
+ @FilePath = params['FilePath']
2385
+ end
2386
+ end
2387
+
2388
+ # DescribeFileDownloadUrl返回参数结构体
2389
+ class DescribeFileDownloadUrlResponse < TencentCloud::Common::AbstractModel
2390
+ # @param PreSignedUrl: 带签名的下载连接
2391
+ # @type PreSignedUrl: String
2392
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2393
+ # @type RequestId: String
2394
+
2395
+ attr_accessor :PreSignedUrl, :RequestId
2396
+
2397
+ def initialize(presignedurl=nil, requestid=nil)
2398
+ @PreSignedUrl = presignedurl
2399
+ @RequestId = requestid
2400
+ end
2401
+
2402
+ def deserialize(params)
2403
+ @PreSignedUrl = params['PreSignedUrl']
2404
+ @RequestId = params['RequestId']
2405
+ end
2406
+ end
2407
+
2364
2408
  # DescribeFlow请求参数结构体
2365
2409
  class DescribeFlowRequest < TencentCloud::Common::AbstractModel
2366
2410
  # @param FlowId: 异步请求接口返回的任务流程号。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.224
4
+ version: 1.0.228
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common