tencentcloud-sdk-cdb 3.0.638 → 3.0.639
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/v20170320/client.rb +0 -28
- data/lib/v20170320/models.rb +0 -79
- 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: e0669bc6568c6b3164574e3fb7c299a30693a3dc
|
4
|
+
data.tar.gz: eb299bf236af52aa00a7bc0193aeb3354068e75f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42786f930b6e0c5619bf3c81ab21a017dea45ece56a747b588154b1231d49f460aaa940033694d364cc67481a16db76d1245ca713954eb10ff1350f7fad95589
|
7
|
+
data.tar.gz: 37fe23ad95b7bc09e00f05523f97c3c08d94077fa394ddf649463883a4b981a44ba16031fa4fd375af882535e60c5f7455e2117e2e50db5a87fd7d9d243d1b4a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.639
|
data/lib/v20170320/client.rb
CHANGED
@@ -1032,34 +1032,6 @@ module TencentCloud
|
|
1032
1032
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1033
1033
|
end
|
1034
1034
|
|
1035
|
-
# 接口已废弃,需要下线
|
1036
|
-
|
1037
|
-
# 本接口(DescribeBackupDatabases)用于查询备份文件包含的库 (已废弃)。
|
1038
|
-
# 旧版本支持全量备份后,用户如果分库表下载逻辑备份文件,需要用到此接口。
|
1039
|
-
# 新版本支持(CreateBackup)创建逻辑备份的时候,直接发起指定库表备份,用户直接下载该备份文件即可。
|
1040
|
-
|
1041
|
-
# @param request: Request instance for DescribeBackupDatabases.
|
1042
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeBackupDatabasesRequest`
|
1043
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeBackupDatabasesResponse`
|
1044
|
-
def DescribeBackupDatabases(request)
|
1045
|
-
body = send_request('DescribeBackupDatabases', request.serialize)
|
1046
|
-
response = JSON.parse(body)
|
1047
|
-
if response['Response'].key?('Error') == false
|
1048
|
-
model = DescribeBackupDatabasesResponse.new
|
1049
|
-
model.deserialize(response['Response'])
|
1050
|
-
model
|
1051
|
-
else
|
1052
|
-
code = response['Response']['Error']['Code']
|
1053
|
-
message = response['Response']['Error']['Message']
|
1054
|
-
reqid = response['Response']['RequestId']
|
1055
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1056
|
-
end
|
1057
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1058
|
-
raise e
|
1059
|
-
rescue StandardError => e
|
1060
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1061
|
-
end
|
1062
|
-
|
1063
1035
|
# 本接口(DescribeBackupDecryptionKey)用于查询备份文件解密密钥。
|
1064
1036
|
|
1065
1037
|
# @param request: Request instance for DescribeBackupDecryptionKey.
|
data/lib/v20170320/models.rb
CHANGED
@@ -3043,22 +3043,6 @@ module TencentCloud
|
|
3043
3043
|
end
|
3044
3044
|
end
|
3045
3045
|
|
3046
|
-
# 数据库表名
|
3047
|
-
class DatabaseName < TencentCloud::Common::AbstractModel
|
3048
|
-
# @param DatabaseName: 数据库表名
|
3049
|
-
# @type DatabaseName: String
|
3050
|
-
|
3051
|
-
attr_accessor :DatabaseName
|
3052
|
-
|
3053
|
-
def initialize(databasename=nil)
|
3054
|
-
@DatabaseName = databasename
|
3055
|
-
end
|
3056
|
-
|
3057
|
-
def deserialize(params)
|
3058
|
-
@DatabaseName = params['DatabaseName']
|
3059
|
-
end
|
3060
|
-
end
|
3061
|
-
|
3062
3046
|
# 数据库权限
|
3063
3047
|
class DatabasePrivilege < TencentCloud::Common::AbstractModel
|
3064
3048
|
# @param Privileges: 权限信息
|
@@ -4050,69 +4034,6 @@ module TencentCloud
|
|
4050
4034
|
end
|
4051
4035
|
end
|
4052
4036
|
|
4053
|
-
# DescribeBackupDatabases请求参数结构体
|
4054
|
-
class DescribeBackupDatabasesRequest < TencentCloud::Common::AbstractModel
|
4055
|
-
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
4056
|
-
# @type InstanceId: String
|
4057
|
-
# @param StartTime: 开始时间,格式为:2017-07-12 10:29:20。
|
4058
|
-
# @type StartTime: String
|
4059
|
-
# @param SearchDatabase: 要查询的数据库名前缀。
|
4060
|
-
# @type SearchDatabase: String
|
4061
|
-
# @param Offset: 分页偏移量。
|
4062
|
-
# @type Offset: Integer
|
4063
|
-
# @param Limit: 分页大小,最小值为1,最大值为2000。
|
4064
|
-
# @type Limit: Integer
|
4065
|
-
|
4066
|
-
attr_accessor :InstanceId, :StartTime, :SearchDatabase, :Offset, :Limit
|
4067
|
-
|
4068
|
-
def initialize(instanceid=nil, starttime=nil, searchdatabase=nil, offset=nil, limit=nil)
|
4069
|
-
@InstanceId = instanceid
|
4070
|
-
@StartTime = starttime
|
4071
|
-
@SearchDatabase = searchdatabase
|
4072
|
-
@Offset = offset
|
4073
|
-
@Limit = limit
|
4074
|
-
end
|
4075
|
-
|
4076
|
-
def deserialize(params)
|
4077
|
-
@InstanceId = params['InstanceId']
|
4078
|
-
@StartTime = params['StartTime']
|
4079
|
-
@SearchDatabase = params['SearchDatabase']
|
4080
|
-
@Offset = params['Offset']
|
4081
|
-
@Limit = params['Limit']
|
4082
|
-
end
|
4083
|
-
end
|
4084
|
-
|
4085
|
-
# DescribeBackupDatabases返回参数结构体
|
4086
|
-
class DescribeBackupDatabasesResponse < TencentCloud::Common::AbstractModel
|
4087
|
-
# @param TotalCount: 返回的数据个数。
|
4088
|
-
# @type TotalCount: Integer
|
4089
|
-
# @param Items: 符合查询条件的数据库数组。
|
4090
|
-
# @type Items: Array
|
4091
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4092
|
-
# @type RequestId: String
|
4093
|
-
|
4094
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
4095
|
-
|
4096
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
4097
|
-
@TotalCount = totalcount
|
4098
|
-
@Items = items
|
4099
|
-
@RequestId = requestid
|
4100
|
-
end
|
4101
|
-
|
4102
|
-
def deserialize(params)
|
4103
|
-
@TotalCount = params['TotalCount']
|
4104
|
-
unless params['Items'].nil?
|
4105
|
-
@Items = []
|
4106
|
-
params['Items'].each do |i|
|
4107
|
-
databasename_tmp = DatabaseName.new
|
4108
|
-
databasename_tmp.deserialize(i)
|
4109
|
-
@Items << databasename_tmp
|
4110
|
-
end
|
4111
|
-
end
|
4112
|
-
@RequestId = params['RequestId']
|
4113
|
-
end
|
4114
|
-
end
|
4115
|
-
|
4116
4037
|
# DescribeBackupDecryptionKey请求参数结构体
|
4117
4038
|
class DescribeBackupDecryptionKeyRequest < TencentCloud::Common::AbstractModel
|
4118
4039
|
# @param InstanceId: 实例ID,格式如:cdb-XXXX。与云数据库控制台页面中显示的实例 ID 相同。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.639
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|