tencentcloud-sdk-mariadb 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 +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: 159f2bd5b6efa0af45dd76b73d74ce05c50dc039
|
4
|
+
data.tar.gz: b12e616b27e58fe1aa25f261408bd677b1b2aaf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c0b9ec6efe30762eceb6e87e7ffea5d1e64e832f036b5e636dbf05c59de2b132bc7dabd61f27d96f3ca898d0842c7160396bb5d2855de5a48dd96584c9525f5
|
7
|
+
data.tar.gz: f0f458e208143fe7bfae6e69037210e5d9abc99216424acce6f94c6802a060e8b666fb69707ced1eeabc4a4c12a746ba45a669728d70a5e5d141fedb66ed2284
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.226
|
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.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-
|
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
|