tencentcloud-sdk-mariadb 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 003d383f5efa53048025694139ebfb4d1c9883dc
4
- data.tar.gz: 26aecd69a48fb889c2a65601e4f02c8d9db5f44e
3
+ metadata.gz: 0bc7c45179a237e052b9c5bec5addb295544aa9d
4
+ data.tar.gz: 196d686d2e024c2d9d9c71308690fbeaf757f451
5
5
  SHA512:
6
- metadata.gz: f951f7e07071b61cff3e4f8c90c0266ca47bc053ec06e05481768da09358e1d661a720279415f6fe1805bf1862f1dba9914db3f3b74327f63d2b94403f98ecef
7
- data.tar.gz: fb1192f0eedf7b8cefe4244f062c39d4c1c5e5bcf06dade976bce275b0c25622687f9b2cf1f0686dad0513494553c6734f43e747c1c6bfd098f00454e44e6287
6
+ metadata.gz: 45db0fe47003409084a4471239f7c5ef2f56792a1a2ce960b8dea38cea3c4017ecb74330bfaa594297e9cdbbf7f89899b3d2d05fa16d14553a538cb7ec04acb5
7
+ data.tar.gz: a8b34aeb929ead0942e735d3734013f9da6e3841b1df089098cb404c2e74031518844ab4210e91100ff5d786803cea006f6ad46c89b19725b851ac05a5f27462
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.223
1
+ 1.0.227
@@ -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.
@@ -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.223
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-14 00:00:00.000000000 Z
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