tencentcloud-sdk-dcdb 1.0.223 → 1.0.227
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180411/client.rb +24 -0
- data/lib/v20180411/models.rb +44 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d44cd646bc4195d634c22e562e4d9ecd5e0d57f4
|
4
|
+
data.tar.gz: b2ad5152145dab7c6435dba816b4bd51754c9097
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248f3308ce6c3e8a67e325f6ca3de6fca9daf1a4853cace1e692a6f799786b96490508fda26366b3393dbc1e52e4634154df10432ce50597b725c97ec5b60f57
|
7
|
+
data.tar.gz: e26d62b99f7a9982064eda2be2a77c36c907f24225786a2314587d104c96a8acb401d3886187249dd1883ae0b7b22f97ac38583a5da3a09eac828f213e0d4acc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.227
|
data/lib/v20180411/client.rb
CHANGED
@@ -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.
|
data/lib/v20180411/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 1.0.227
|
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-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|