tencentcloud-sdk-ckafka 1.0.304 → 1.0.305
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 +51 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5be652e7b98c0b2335cd3e7eeef7fde04fed9852
|
4
|
+
data.tar.gz: c41cafa3af59287a9907f2ac4e1ae5e46ea79d41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1338bb15db40062cebb32e426c832205a580a5d16d1d5c2dcf0b6c97753ef88412a9105b35bc2b950ef749771a4ec2080720d42ab0770c86ff30e60bd5448b37
|
7
|
+
data.tar.gz: e1986b5ff4a0f0384575c1bffbc052c173478df64808a9247671b3044acbbf73ff6d4f89a5caf305622977d0e353f5fb37d921850b41ea70e90bd23cd580ddef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.305
|
data/lib/v20190819/client.rb
CHANGED
@@ -461,6 +461,30 @@ module TencentCloud
|
|
461
461
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
462
|
end
|
463
463
|
|
464
|
+
# 删除路由
|
465
|
+
|
466
|
+
# @param request: Request instance for DeleteRoute.
|
467
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteRouteRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteRouteResponse`
|
469
|
+
def DeleteRoute(request)
|
470
|
+
body = send_request('DeleteRoute', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DeleteRouteResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
464
488
|
# 修改删除路由延迟触发时间
|
465
489
|
|
466
490
|
# @param request: Request instance for DeleteRouteTriggerTime.
|
data/lib/v20190819/models.rb
CHANGED
@@ -1733,6 +1733,57 @@ module TencentCloud
|
|
1733
1733
|
end
|
1734
1734
|
end
|
1735
1735
|
|
1736
|
+
# DeleteRoute请求参数结构体
|
1737
|
+
class DeleteRouteRequest < TencentCloud::Common::AbstractModel
|
1738
|
+
# @param InstanceId: 实例唯一id
|
1739
|
+
# @type InstanceId: String
|
1740
|
+
# @param RouteId: 路由id
|
1741
|
+
# @type RouteId: Integer
|
1742
|
+
# @param CallerAppid: 调用方appId
|
1743
|
+
# @type CallerAppid: Integer
|
1744
|
+
# @param DeleteRouteTime: 删除路由时间
|
1745
|
+
# @type DeleteRouteTime: String
|
1746
|
+
|
1747
|
+
attr_accessor :InstanceId, :RouteId, :CallerAppid, :DeleteRouteTime
|
1748
|
+
|
1749
|
+
def initialize(instanceid=nil, routeid=nil, callerappid=nil, deleteroutetime=nil)
|
1750
|
+
@InstanceId = instanceid
|
1751
|
+
@RouteId = routeid
|
1752
|
+
@CallerAppid = callerappid
|
1753
|
+
@DeleteRouteTime = deleteroutetime
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
def deserialize(params)
|
1757
|
+
@InstanceId = params['InstanceId']
|
1758
|
+
@RouteId = params['RouteId']
|
1759
|
+
@CallerAppid = params['CallerAppid']
|
1760
|
+
@DeleteRouteTime = params['DeleteRouteTime']
|
1761
|
+
end
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# DeleteRoute返回参数结构体
|
1765
|
+
class DeleteRouteResponse < TencentCloud::Common::AbstractModel
|
1766
|
+
# @param Result: 返回结果
|
1767
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
1768
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1769
|
+
# @type RequestId: String
|
1770
|
+
|
1771
|
+
attr_accessor :Result, :RequestId
|
1772
|
+
|
1773
|
+
def initialize(result=nil, requestid=nil)
|
1774
|
+
@Result = result
|
1775
|
+
@RequestId = requestid
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
def deserialize(params)
|
1779
|
+
unless params['Result'].nil?
|
1780
|
+
@Result = JgwOperateResponse.new
|
1781
|
+
@Result.deserialize(params['Result'])
|
1782
|
+
end
|
1783
|
+
@RequestId = params['RequestId']
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
|
1736
1787
|
# DeleteRouteTriggerTime请求参数结构体
|
1737
1788
|
class DeleteRouteTriggerTimeRequest < TencentCloud::Common::AbstractModel
|
1738
1789
|
# @param DelayTime: 修改时间
|