tencentcloud-sdk-ckafka 1.0.252 → 1.0.253
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/v20190819/client.rb +24 -0
- data/lib/v20190819/models.rb +43 -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: 2384f715ae14b8fac75d0575c3cae91f237c6e0a
|
4
|
+
data.tar.gz: 89f92538b1ce42757fecac0da3ea0032776e9596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52987a9377825d34a0bf932532d1209442a3841ef1cdcd8d700638574c1ddb9a7c9c2b7e1fc3e318ccd392e6da04dce803e4c67296c388b05b98a05062fb24f0
|
7
|
+
data.tar.gz: cf943553c64f4b5de729ec2b300af70a8d6d61190a3d12d1a923f89af879b5797b7708be1b3f45fb87892f4847ebf2d8700096033607e93c24b54b10424a875f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.253
|
data/lib/v20190819/client.rb
CHANGED
@@ -293,6 +293,30 @@ module TencentCloud
|
|
293
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
294
|
end
|
295
295
|
|
296
|
+
# 删除消费组
|
297
|
+
|
298
|
+
# @param request: Request instance for DeleteGroup.
|
299
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteGroupRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteGroupResponse`
|
301
|
+
def DeleteGroup(request)
|
302
|
+
body = send_request('DeleteGroup', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DeleteGroupResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
296
320
|
# 删除预付费实例
|
297
321
|
|
298
322
|
# @param request: Request instance for DeleteInstancePre.
|
data/lib/v20190819/models.rb
CHANGED
@@ -1385,6 +1385,49 @@ module TencentCloud
|
|
1385
1385
|
end
|
1386
1386
|
end
|
1387
1387
|
|
1388
|
+
# DeleteGroup请求参数结构体
|
1389
|
+
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
1390
|
+
# @param InstanceId: 实例Id
|
1391
|
+
# @type InstanceId: String
|
1392
|
+
# @param Group: 消费分组
|
1393
|
+
# @type Group: String
|
1394
|
+
|
1395
|
+
attr_accessor :InstanceId, :Group
|
1396
|
+
|
1397
|
+
def initialize(instanceid=nil, group=nil)
|
1398
|
+
@InstanceId = instanceid
|
1399
|
+
@Group = group
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
def deserialize(params)
|
1403
|
+
@InstanceId = params['InstanceId']
|
1404
|
+
@Group = params['Group']
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# DeleteGroup返回参数结构体
|
1409
|
+
class DeleteGroupResponse < TencentCloud::Common::AbstractModel
|
1410
|
+
# @param Result: 返回结果
|
1411
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
1412
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1413
|
+
# @type RequestId: String
|
1414
|
+
|
1415
|
+
attr_accessor :Result, :RequestId
|
1416
|
+
|
1417
|
+
def initialize(result=nil, requestid=nil)
|
1418
|
+
@Result = result
|
1419
|
+
@RequestId = requestid
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
def deserialize(params)
|
1423
|
+
unless params['Result'].nil?
|
1424
|
+
@Result = JgwOperateResponse.new
|
1425
|
+
@Result.deserialize(params['Result'])
|
1426
|
+
end
|
1427
|
+
@RequestId = params['RequestId']
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
|
1388
1431
|
# DeleteInstancePre请求参数结构体
|
1389
1432
|
class DeleteInstancePreRequest < TencentCloud::Common::AbstractModel
|
1390
1433
|
# @param InstanceId: 实例id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ckafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.253
|
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-
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|