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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3edfa0932b71b4b0926efae4c78e75af6c553ad2
4
- data.tar.gz: a2902a8119c2aa191739d536501ecf97402105f6
3
+ metadata.gz: 5be652e7b98c0b2335cd3e7eeef7fde04fed9852
4
+ data.tar.gz: c41cafa3af59287a9907f2ac4e1ae5e46ea79d41
5
5
  SHA512:
6
- metadata.gz: 6ff201e3f0e93104470753def3f933c3b2f92c68939111208609f9bc531d92ef22bd6834ed03f576d260f52c76ef642853acf72e33bd16a58c2831a610d7ab40
7
- data.tar.gz: e0a9bb49a3f9c5b13517a078bb64c2242017676ea046b3c76898e7124f5864df0deb3cc302d8b1e0a44033ac347eb79f7a590a93fc4605c8839230757628500a
6
+ metadata.gz: 1338bb15db40062cebb32e426c832205a580a5d16d1d5c2dcf0b6c97753ef88412a9105b35bc2b950ef749771a4ec2080720d42ab0770c86ff30e60bd5448b37
7
+ data.tar.gz: e1986b5ff4a0f0384575c1bffbc052c173478df64808a9247671b3044acbbf73ff6d4f89a5caf305622977d0e353f5fb37d921850b41ea70e90bd23cd580ddef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.304
1
+ 1.0.305
@@ -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.
@@ -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: 修改时间
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.304
4
+ version: 1.0.305
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud