tencentcloud-sdk-cdb 3.0.573 → 3.0.574
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 -83
- 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: 2e5f40ebc61cd486934375e6c5f4be49b74ccddd
|
4
|
+
data.tar.gz: cd936d4303c3a98b13ff64d090914d7b0d2f3573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e79607c2aa0dab437bc042791ba14378cb9e42939f2187b408dc8fdc8ce0481ae400611566abe501766a5ad5d8f1c491ce4744cbc6a133beceef7d870c38ac46
|
7
|
+
data.tar.gz: 09b76371adaa3da09611dc51b33190b5d4ccddc85311c090dc284f6a956cab9ab4303fed2dc2ea34652de576000a05901875dc7804d6e3db44ddc9bad36ba380
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.574
|
data/lib/v20170320/client.rb
CHANGED
@@ -1132,34 +1132,6 @@ module TencentCloud
|
|
1132
1132
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1133
1133
|
end
|
1134
1134
|
|
1135
|
-
# 该接口已废弃,需要下线
|
1136
|
-
|
1137
|
-
# 本接口(DescribeBackupTables)用于查询指定的数据库的备份数据表名 (已废弃)。
|
1138
|
-
# 旧版本支持全量备份后,用户如果分库表下载逻辑备份文件,需要用到此接口。
|
1139
|
-
# 新版本支持(CreateBackup)创建逻辑备份的时候,直接发起指定库表备份,用户直接下载该备份文件即可。
|
1140
|
-
|
1141
|
-
# @param request: Request instance for DescribeBackupTables.
|
1142
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeBackupTablesRequest`
|
1143
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeBackupTablesResponse`
|
1144
|
-
def DescribeBackupTables(request)
|
1145
|
-
body = send_request('DescribeBackupTables', request.serialize)
|
1146
|
-
response = JSON.parse(body)
|
1147
|
-
if response['Response'].key?('Error') == false
|
1148
|
-
model = DescribeBackupTablesResponse.new
|
1149
|
-
model.deserialize(response['Response'])
|
1150
|
-
model
|
1151
|
-
else
|
1152
|
-
code = response['Response']['Error']['Code']
|
1153
|
-
message = response['Response']['Error']['Message']
|
1154
|
-
reqid = response['Response']['RequestId']
|
1155
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1156
|
-
end
|
1157
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1158
|
-
raise e
|
1159
|
-
rescue StandardError => e
|
1160
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1161
|
-
end
|
1162
|
-
|
1163
1135
|
# 本接口(DescribeBackups)用于查询云数据库实例的备份数据。
|
1164
1136
|
|
1165
1137
|
# @param request: Request instance for DescribeBackups.
|
data/lib/v20170320/models.rb
CHANGED
@@ -4243,73 +4243,6 @@ module TencentCloud
|
|
4243
4243
|
end
|
4244
4244
|
end
|
4245
4245
|
|
4246
|
-
# DescribeBackupTables请求参数结构体
|
4247
|
-
class DescribeBackupTablesRequest < TencentCloud::Common::AbstractModel
|
4248
|
-
# @param InstanceId: 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例ID相同。
|
4249
|
-
# @type InstanceId: String
|
4250
|
-
# @param StartTime: 开始时间,格式为:2017-07-12 10:29:20。
|
4251
|
-
# @type StartTime: String
|
4252
|
-
# @param DatabaseName: 指定的数据库名。
|
4253
|
-
# @type DatabaseName: String
|
4254
|
-
# @param SearchTable: 要查询的数据表名前缀。
|
4255
|
-
# @type SearchTable: String
|
4256
|
-
# @param Offset: 分页偏移。
|
4257
|
-
# @type Offset: Integer
|
4258
|
-
# @param Limit: 分页大小,最小值为1,最大值为2000。
|
4259
|
-
# @type Limit: Integer
|
4260
|
-
|
4261
|
-
attr_accessor :InstanceId, :StartTime, :DatabaseName, :SearchTable, :Offset, :Limit
|
4262
|
-
|
4263
|
-
def initialize(instanceid=nil, starttime=nil, databasename=nil, searchtable=nil, offset=nil, limit=nil)
|
4264
|
-
@InstanceId = instanceid
|
4265
|
-
@StartTime = starttime
|
4266
|
-
@DatabaseName = databasename
|
4267
|
-
@SearchTable = searchtable
|
4268
|
-
@Offset = offset
|
4269
|
-
@Limit = limit
|
4270
|
-
end
|
4271
|
-
|
4272
|
-
def deserialize(params)
|
4273
|
-
@InstanceId = params['InstanceId']
|
4274
|
-
@StartTime = params['StartTime']
|
4275
|
-
@DatabaseName = params['DatabaseName']
|
4276
|
-
@SearchTable = params['SearchTable']
|
4277
|
-
@Offset = params['Offset']
|
4278
|
-
@Limit = params['Limit']
|
4279
|
-
end
|
4280
|
-
end
|
4281
|
-
|
4282
|
-
# DescribeBackupTables返回参数结构体
|
4283
|
-
class DescribeBackupTablesResponse < TencentCloud::Common::AbstractModel
|
4284
|
-
# @param TotalCount: 返回的数据个数。
|
4285
|
-
# @type TotalCount: Integer
|
4286
|
-
# @param Items: 符合条件的数据表数组。
|
4287
|
-
# @type Items: Array
|
4288
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4289
|
-
# @type RequestId: String
|
4290
|
-
|
4291
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
4292
|
-
|
4293
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
4294
|
-
@TotalCount = totalcount
|
4295
|
-
@Items = items
|
4296
|
-
@RequestId = requestid
|
4297
|
-
end
|
4298
|
-
|
4299
|
-
def deserialize(params)
|
4300
|
-
@TotalCount = params['TotalCount']
|
4301
|
-
unless params['Items'].nil?
|
4302
|
-
@Items = []
|
4303
|
-
params['Items'].each do |i|
|
4304
|
-
tablename_tmp = TableName.new
|
4305
|
-
tablename_tmp.deserialize(i)
|
4306
|
-
@Items << tablename_tmp
|
4307
|
-
end
|
4308
|
-
end
|
4309
|
-
@RequestId = params['RequestId']
|
4310
|
-
end
|
4311
|
-
end
|
4312
|
-
|
4313
4246
|
# DescribeBackups请求参数结构体
|
4314
4247
|
class DescribeBackupsRequest < TencentCloud::Common::AbstractModel
|
4315
4248
|
# @param InstanceId: 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
@@ -12094,22 +12027,6 @@ module TencentCloud
|
|
12094
12027
|
end
|
12095
12028
|
end
|
12096
12029
|
|
12097
|
-
# 表名
|
12098
|
-
class TableName < TencentCloud::Common::AbstractModel
|
12099
|
-
# @param TableName: 表名
|
12100
|
-
# @type TableName: String
|
12101
|
-
|
12102
|
-
attr_accessor :TableName
|
12103
|
-
|
12104
|
-
def initialize(tablename=nil)
|
12105
|
-
@TableName = tablename
|
12106
|
-
end
|
12107
|
-
|
12108
|
-
def deserialize(params)
|
12109
|
-
@TableName = params['TableName']
|
12110
|
-
end
|
12111
|
-
end
|
12112
|
-
|
12113
12030
|
# 数据库表权限
|
12114
12031
|
class TablePrivilege < TencentCloud::Common::AbstractModel
|
12115
12032
|
# @param Database: 数据库名
|
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.574
|
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-05-
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|