tencentcloud-sdk-dcdb 1.0.225 → 1.0.226

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: e74ea7b61577158b64a6bfa208e74045d238a186
4
- data.tar.gz: f129beaf526d5088223d28aa6e3018306579a8c0
3
+ metadata.gz: c986cedcb86577e8e442e06cc30c5957bcb05420
4
+ data.tar.gz: 8419adfd6dc6f7be7516671a5dde663bb6ca5bba
5
5
  SHA512:
6
- metadata.gz: 14901ba0aab7d6a34bb2b7715faf453a67cbf740dfae38562be68a4aef1564d294368fd943fc70671fd78e6ad6588cdcde8baf91f1c1a7889a65f11ad8fe2422
7
- data.tar.gz: bb9e0c046d67221ba3cce1799aec2553b10aed2758d95844b4cf7c3382547635297fcb77d464941b0ed44dbfd6f53915686adbd9317353b037fbe7fbdca218cb
6
+ metadata.gz: e06a75138bf2ef5f242d8bf3a8c5c4c8f1c89c08bbac5559ca80257e93a23f5db160fcac5dfdb6333404e8aa24de2228903d465a40afbcc985a8a4964d680269
7
+ data.tar.gz: 54c1b4930be8e427814f22b3b94c062138d74e63da765cbd80092c5e6fdaf546074e2175db43dbe5b8c44ed6c40c7e126087510debc2dc3bcb8dc89ff2ce44a3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.225
1
+ 1.0.226
@@ -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.225
4
+ version: 1.0.226
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-16 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common