tencentcloud-sdk-mariadb 3.0.896 → 3.0.897
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: cde07a502f9b2eac67ad04ab0600946b0e0973c8
|
4
|
+
data.tar.gz: 2e3a6af515cbc55c402324a3fc7b528dda6e867d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 624ed4af18e3a56b9b79a865f56b2da9eaeb0f7f2394b6e9ef01cb677ed128ca343b4ed3573caf8b86d5d8b30e329d0d3744143110a40c304f532906ad7f3ae2
|
7
|
+
data.tar.gz: 1e7cf14c94e17d858ef4b88e42ba0c99c7cf3c302fd025b91f8d7dcd1d5f8f020cbef80f48cedb3b1a0a8f1b82b23c72d3c7079144f0e01f8e84d3687d2a52e3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.897
|
data/lib/v20170312/client.rb
CHANGED
@@ -415,6 +415,30 @@ module TencentCloud
|
|
415
415
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
416
416
|
end
|
417
417
|
|
418
|
+
# 本接口(DescribeBinlogTime)用于查询可回档时间范围。
|
419
|
+
|
420
|
+
# @param request: Request instance for DescribeBinlogTime.
|
421
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeBinlogTimeRequest`
|
422
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeBinlogTimeResponse`
|
423
|
+
def DescribeBinlogTime(request)
|
424
|
+
body = send_request('DescribeBinlogTime', request.serialize)
|
425
|
+
response = JSON.parse(body)
|
426
|
+
if response['Response'].key?('Error') == false
|
427
|
+
model = DescribeBinlogTimeResponse.new
|
428
|
+
model.deserialize(response['Response'])
|
429
|
+
model
|
430
|
+
else
|
431
|
+
code = response['Response']['Error']['Code']
|
432
|
+
message = response['Response']['Error']['Message']
|
433
|
+
reqid = response['Response']['RequestId']
|
434
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
435
|
+
end
|
436
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
437
|
+
raise e
|
438
|
+
rescue StandardError => e
|
439
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
440
|
+
end
|
441
|
+
|
418
442
|
# 本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。
|
419
443
|
|
420
444
|
# @param request: Request instance for DescribeDBEncryptAttributes.
|
data/lib/v20170312/models.rb
CHANGED
@@ -1849,6 +1849,46 @@ module TencentCloud
|
|
1849
1849
|
end
|
1850
1850
|
end
|
1851
1851
|
|
1852
|
+
# DescribeBinlogTime请求参数结构体
|
1853
|
+
class DescribeBinlogTimeRequest < TencentCloud::Common::AbstractModel
|
1854
|
+
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
1855
|
+
# @type InstanceId: String
|
1856
|
+
|
1857
|
+
attr_accessor :InstanceId
|
1858
|
+
|
1859
|
+
def initialize(instanceid=nil)
|
1860
|
+
@InstanceId = instanceid
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
def deserialize(params)
|
1864
|
+
@InstanceId = params['InstanceId']
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
# DescribeBinlogTime返回参数结构体
|
1869
|
+
class DescribeBinlogTimeResponse < TencentCloud::Common::AbstractModel
|
1870
|
+
# @param StartTime: 开始时间
|
1871
|
+
# @type StartTime: String
|
1872
|
+
# @param EndTime: 结束时间
|
1873
|
+
# @type EndTime: String
|
1874
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1875
|
+
# @type RequestId: String
|
1876
|
+
|
1877
|
+
attr_accessor :StartTime, :EndTime, :RequestId
|
1878
|
+
|
1879
|
+
def initialize(starttime=nil, endtime=nil, requestid=nil)
|
1880
|
+
@StartTime = starttime
|
1881
|
+
@EndTime = endtime
|
1882
|
+
@RequestId = requestid
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
def deserialize(params)
|
1886
|
+
@StartTime = params['StartTime']
|
1887
|
+
@EndTime = params['EndTime']
|
1888
|
+
@RequestId = params['RequestId']
|
1889
|
+
end
|
1890
|
+
end
|
1891
|
+
|
1852
1892
|
# DescribeDBEncryptAttributes请求参数结构体
|
1853
1893
|
class DescribeDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
|
1854
1894
|
# @param InstanceId: 实例Id,形如:tdsql-ow728lmc。
|
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: 3.0.
|
4
|
+
version: 3.0.897
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|