tencentcloud-sdk-mariadb 1.0.260 → 1.0.263

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: 44c43d11673005399507726d5b14baddf06d9c56
4
- data.tar.gz: 688bd2fb646bc753972cc1814709229b4dc50f8c
3
+ metadata.gz: c9f34dd3a44133a4edd015de2ec405a9ffdaacef
4
+ data.tar.gz: ed9aaee9724d4b3c865c878500c03565d8054def
5
5
  SHA512:
6
- metadata.gz: be8c516816dfffc9d02010284c6a88d1984a12279aed7506e3ced543da71c1757bdaec0755896252338449bce05d05c8c036f240d37a7f3adbea7fb10fcc9355
7
- data.tar.gz: 0882006b9dd4f8f0b7f1a6afabfc59441795a67e5b617ef265143e731beeda285aa237e12ad267cb85fdc9d3a87cb285cbe3661b6495ba9da4da0ebee3cb1c32
6
+ metadata.gz: bc84d9da8a48c8a4143a76e195ffd15229fea2e5d81b64a564ee23068adb1b8e170a714593712253fca03e0a628d468ec1450241492a0c4c55eb2dff66efd655
7
+ data.tar.gz: 3bd5c4d18a68faff5548d238829bb5540416a1ff7987ea82339948c3825d99a0078a999109551cb51f360ad7d0110a10fa7f95de0bf24d264354835d20776c6b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.260
1
+ 1.0.263
@@ -608,6 +608,30 @@ module TencentCloud
608
608
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
609
609
  end
610
610
 
611
+ # 本接口(DescribeDatabaseObjects)用于查询云数据库实例的数据库中的对象列表,包含表、存储过程、视图和函数。
612
+
613
+ # @param request: Request instance for DescribeDatabaseObjects.
614
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDatabaseObjectsRequest`
615
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDatabaseObjectsResponse`
616
+ def DescribeDatabaseObjects(request)
617
+ body = send_request('DescribeDatabaseObjects', request.serialize)
618
+ response = JSON.parse(body)
619
+ if response['Response'].key?('Error') == false
620
+ model = DescribeDatabaseObjectsResponse.new
621
+ model.deserialize(response['Response'])
622
+ model
623
+ else
624
+ code = response['Response']['Error']['Code']
625
+ message = response['Response']['Error']['Message']
626
+ reqid = response['Response']['RequestId']
627
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
628
+ end
629
+ rescue TencentCloud::Common::TencentCloudSDKException => e
630
+ raise e
631
+ rescue StandardError => e
632
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
633
+ end
634
+
611
635
  # 本接口(DescribeDatabaseTable)用于查询云数据库实例的表信息。
612
636
 
613
637
  # @param request: Request instance for DescribeDatabaseTable.
@@ -1169,6 +1169,22 @@ module TencentCloud
1169
1169
  end
1170
1170
  end
1171
1171
 
1172
+ # 数据库函数信息
1173
+ class DatabaseFunction < TencentCloud::Common::AbstractModel
1174
+ # @param Func: 函数名称
1175
+ # @type Func: String
1176
+
1177
+ attr_accessor :Func
1178
+
1179
+ def initialize(func=nil)
1180
+ @Func = func
1181
+ end
1182
+
1183
+ def deserialize(params)
1184
+ @Func = params['Func']
1185
+ end
1186
+ end
1187
+
1172
1188
  # 数据库权限
1173
1189
  class DatabasePrivilege < TencentCloud::Common::AbstractModel
1174
1190
  # @param Privileges: 权限信息
@@ -1189,6 +1205,54 @@ module TencentCloud
1189
1205
  end
1190
1206
  end
1191
1207
 
1208
+ # 数据库存储过程信息
1209
+ class DatabaseProcedure < TencentCloud::Common::AbstractModel
1210
+ # @param Proc: 存储过程名称
1211
+ # @type Proc: String
1212
+
1213
+ attr_accessor :Proc
1214
+
1215
+ def initialize(proc=nil)
1216
+ @Proc = proc
1217
+ end
1218
+
1219
+ def deserialize(params)
1220
+ @Proc = params['Proc']
1221
+ end
1222
+ end
1223
+
1224
+ # 数据库表信息
1225
+ class DatabaseTable < TencentCloud::Common::AbstractModel
1226
+ # @param Table: 表名
1227
+ # @type Table: String
1228
+
1229
+ attr_accessor :Table
1230
+
1231
+ def initialize(table=nil)
1232
+ @Table = table
1233
+ end
1234
+
1235
+ def deserialize(params)
1236
+ @Table = params['Table']
1237
+ end
1238
+ end
1239
+
1240
+ # 数据库视图信息
1241
+ class DatabaseView < TencentCloud::Common::AbstractModel
1242
+ # @param View: 视图名称
1243
+ # @type View: String
1244
+
1245
+ attr_accessor :View
1246
+
1247
+ def initialize(view=nil)
1248
+ @View = view
1249
+ end
1250
+
1251
+ def deserialize(params)
1252
+ @View = params['View']
1253
+ end
1254
+ end
1255
+
1192
1256
  # DCN详情条目
1193
1257
  class DcnDetailItem < TencentCloud::Common::AbstractModel
1194
1258
  # @param InstanceId: 实例ID
@@ -2256,6 +2320,94 @@ module TencentCloud
2256
2320
  end
2257
2321
  end
2258
2322
 
2323
+ # DescribeDatabaseObjects请求参数结构体
2324
+ class DescribeDatabaseObjectsRequest < TencentCloud::Common::AbstractModel
2325
+ # @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
2326
+ # @type InstanceId: String
2327
+ # @param DbName: 数据库名称,通过 DescribeDatabases 接口获取。
2328
+ # @type DbName: String
2329
+
2330
+ attr_accessor :InstanceId, :DbName
2331
+
2332
+ def initialize(instanceid=nil, dbname=nil)
2333
+ @InstanceId = instanceid
2334
+ @DbName = dbname
2335
+ end
2336
+
2337
+ def deserialize(params)
2338
+ @InstanceId = params['InstanceId']
2339
+ @DbName = params['DbName']
2340
+ end
2341
+ end
2342
+
2343
+ # DescribeDatabaseObjects返回参数结构体
2344
+ class DescribeDatabaseObjectsResponse < TencentCloud::Common::AbstractModel
2345
+ # @param InstanceId: 透传入参。
2346
+ # @type InstanceId: String
2347
+ # @param DbName: 数据库名称。
2348
+ # @type DbName: String
2349
+ # @param Tables: 表列表。
2350
+ # @type Tables: Array
2351
+ # @param Views: 视图列表。
2352
+ # @type Views: Array
2353
+ # @param Procs: 存储过程列表。
2354
+ # @type Procs: Array
2355
+ # @param Funcs: 函数列表。
2356
+ # @type Funcs: Array
2357
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2358
+ # @type RequestId: String
2359
+
2360
+ attr_accessor :InstanceId, :DbName, :Tables, :Views, :Procs, :Funcs, :RequestId
2361
+
2362
+ def initialize(instanceid=nil, dbname=nil, tables=nil, views=nil, procs=nil, funcs=nil, requestid=nil)
2363
+ @InstanceId = instanceid
2364
+ @DbName = dbname
2365
+ @Tables = tables
2366
+ @Views = views
2367
+ @Procs = procs
2368
+ @Funcs = funcs
2369
+ @RequestId = requestid
2370
+ end
2371
+
2372
+ def deserialize(params)
2373
+ @InstanceId = params['InstanceId']
2374
+ @DbName = params['DbName']
2375
+ unless params['Tables'].nil?
2376
+ @Tables = []
2377
+ params['Tables'].each do |i|
2378
+ databasetable_tmp = DatabaseTable.new
2379
+ databasetable_tmp.deserialize(i)
2380
+ @Tables << databasetable_tmp
2381
+ end
2382
+ end
2383
+ unless params['Views'].nil?
2384
+ @Views = []
2385
+ params['Views'].each do |i|
2386
+ databaseview_tmp = DatabaseView.new
2387
+ databaseview_tmp.deserialize(i)
2388
+ @Views << databaseview_tmp
2389
+ end
2390
+ end
2391
+ unless params['Procs'].nil?
2392
+ @Procs = []
2393
+ params['Procs'].each do |i|
2394
+ databaseprocedure_tmp = DatabaseProcedure.new
2395
+ databaseprocedure_tmp.deserialize(i)
2396
+ @Procs << databaseprocedure_tmp
2397
+ end
2398
+ end
2399
+ unless params['Funcs'].nil?
2400
+ @Funcs = []
2401
+ params['Funcs'].each do |i|
2402
+ databasefunction_tmp = DatabaseFunction.new
2403
+ databasefunction_tmp.deserialize(i)
2404
+ @Funcs << databasefunction_tmp
2405
+ end
2406
+ end
2407
+ @RequestId = params['RequestId']
2408
+ end
2409
+ end
2410
+
2259
2411
  # DescribeDatabaseTable请求参数结构体
2260
2412
  class DescribeDatabaseTableRequest < TencentCloud::Common::AbstractModel
2261
2413
  # @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
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.260
4
+ version: 1.0.263
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common