tencentcloud-sdk-mariadb 1.0.225 → 1.0.229
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/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +40 -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: 54dd8e002994de2428a02f0667a2985b0f261b4b
|
4
|
+
data.tar.gz: 490084b5bc3117fb8e8053e636e18592bf5a9e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59f394b98001e00a5b95e1079f4283866545ef8992e2cb2f0a76d053b566de125fafd7b7f4234e8ea64db2f86911eb715295840d26e636f6b6a981c22b42e14
|
7
|
+
data.tar.gz: 2734221f94748e03ccd730ddd3536e48975857c55be2511d69cc2e6385d314050bb191f97fb7badbfda23d43d35d4eee460accc958abebfa4425c6b55806d637
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.229
|
data/lib/v20170312/client.rb
CHANGED
@@ -632,6 +632,30 @@ module TencentCloud
|
|
632
632
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
633
633
|
end
|
634
634
|
|
635
|
+
# 本接口(DescribeFileDownloadUrl)用于获取数据库指定备份或日志文件的下载连接。
|
636
|
+
|
637
|
+
# @param request: Request instance for DescribeFileDownloadUrl.
|
638
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeFileDownloadUrlRequest`
|
639
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeFileDownloadUrlResponse`
|
640
|
+
def DescribeFileDownloadUrl(request)
|
641
|
+
body = send_request('DescribeFileDownloadUrl', request.serialize)
|
642
|
+
response = JSON.parse(body)
|
643
|
+
if response['Response'].key?('Error') == false
|
644
|
+
model = DescribeFileDownloadUrlResponse.new
|
645
|
+
model.deserialize(response['Response'])
|
646
|
+
model
|
647
|
+
else
|
648
|
+
code = response['Response']['Error']['Code']
|
649
|
+
message = response['Response']['Error']['Message']
|
650
|
+
reqid = response['Response']['RequestId']
|
651
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
652
|
+
end
|
653
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
654
|
+
raise e
|
655
|
+
rescue StandardError => e
|
656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
657
|
+
end
|
658
|
+
|
635
659
|
# 本接口(DescribeFlow)用于查询流程状态。
|
636
660
|
|
637
661
|
# @param request: Request instance for DescribeFlow.
|
data/lib/v20170312/models.rb
CHANGED
@@ -2206,6 +2206,46 @@ module TencentCloud
|
|
2206
2206
|
end
|
2207
2207
|
end
|
2208
2208
|
|
2209
|
+
# DescribeFileDownloadUrl请求参数结构体
|
2210
|
+
class DescribeFileDownloadUrlRequest < TencentCloud::Common::AbstractModel
|
2211
|
+
# @param InstanceId: 实例ID
|
2212
|
+
# @type InstanceId: String
|
2213
|
+
# @param FilePath: 不带签名的文件路径
|
2214
|
+
# @type FilePath: String
|
2215
|
+
|
2216
|
+
attr_accessor :InstanceId, :FilePath
|
2217
|
+
|
2218
|
+
def initialize(instanceid=nil, filepath=nil)
|
2219
|
+
@InstanceId = instanceid
|
2220
|
+
@FilePath = filepath
|
2221
|
+
end
|
2222
|
+
|
2223
|
+
def deserialize(params)
|
2224
|
+
@InstanceId = params['InstanceId']
|
2225
|
+
@FilePath = params['FilePath']
|
2226
|
+
end
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
# DescribeFileDownloadUrl返回参数结构体
|
2230
|
+
class DescribeFileDownloadUrlResponse < TencentCloud::Common::AbstractModel
|
2231
|
+
# @param PreSignedUrl: 带签名的下载连接
|
2232
|
+
# @type PreSignedUrl: String
|
2233
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2234
|
+
# @type RequestId: String
|
2235
|
+
|
2236
|
+
attr_accessor :PreSignedUrl, :RequestId
|
2237
|
+
|
2238
|
+
def initialize(presignedurl=nil, requestid=nil)
|
2239
|
+
@PreSignedUrl = presignedurl
|
2240
|
+
@RequestId = requestid
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
def deserialize(params)
|
2244
|
+
@PreSignedUrl = params['PreSignedUrl']
|
2245
|
+
@RequestId = params['RequestId']
|
2246
|
+
end
|
2247
|
+
end
|
2248
|
+
|
2209
2249
|
# DescribeFlow请求参数结构体
|
2210
2250
|
class DescribeFlowRequest < TencentCloud::Common::AbstractModel
|
2211
2251
|
# @param FlowId: 异步请求接口返回的任务流程号。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mariadb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.229
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|