tencentcloud-sdk-trocket 3.0.881 → 3.0.883

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: a230900e671e70c0fd0f6465ac1d22cad1c89988
4
- data.tar.gz: cfb9b052bc832781b64fbb4de6f4ae8592f09451
3
+ metadata.gz: f2d6d42c1cb956fe5db04b50516cd783b3789325
4
+ data.tar.gz: 1c91a5880905d6ea1de034df4eb7cce293c380a9
5
5
  SHA512:
6
- metadata.gz: 87bb20c1e3fecdb200d80a5bf29583eed8dd2217b6cdf51c601a1473038a35603d9b0e8e094c5fc40ae5ffaabe94a36ac7187420b510a6855dbe7bb6c9d586c8
7
- data.tar.gz: 3d2b12ec25f0baa802a7f4cb94bb3cf45a9877a48d14293956e37163069226054fc6380670f6d29f8991e096580a123c73be41f62c29d385795b004c025325c7
6
+ metadata.gz: 7f6111017a427e8b18284ebfd45227da0b1c825b04f3753425f7254da838bd1c163abb427d345a714d45eda38caa1dacce2521e7bbadd174527427104e08ba64
7
+ data.tar.gz: 011d34bb9722a927b500e2f3d49335f9d6e24a74c355b99e37c359d4ad47436b67aa2def39d2237b5b4e6363cef769c508cccc04ed119ee4f3ceab3f61152516
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.881
1
+ 3.0.883
@@ -464,6 +464,30 @@ module TencentCloud
464
464
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
465
465
  end
466
466
 
467
+ # 查询指定消费组堆积数。
468
+
469
+ # @param request: Request instance for DescribeConsumerLag.
470
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeConsumerLagRequest`
471
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeConsumerLagResponse`
472
+ def DescribeConsumerLag(request)
473
+ body = send_request('DescribeConsumerLag', request.serialize)
474
+ response = JSON.parse(body)
475
+ if response['Response'].key?('Error') == false
476
+ model = DescribeConsumerLagResponse.new
477
+ model.deserialize(response['Response'])
478
+ model
479
+ else
480
+ code = response['Response']['Error']['Code']
481
+ message = response['Response']['Error']['Message']
482
+ reqid = response['Response']['RequestId']
483
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
484
+ end
485
+ rescue TencentCloud::Common::TencentCloudSDKException => e
486
+ raise e
487
+ rescue StandardError => e
488
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
489
+ end
490
+
467
491
  # 获取实例列表,Filters参数使用说明如下:
468
492
  # 1. InstanceName, 名称模糊查询
469
493
  # 2. InstanceId,实例ID查询
@@ -1057,6 +1057,54 @@ module TencentCloud
1057
1057
  end
1058
1058
  end
1059
1059
 
1060
+ # DescribeConsumerLag请求参数结构体
1061
+ class DescribeConsumerLagRequest < TencentCloud::Common::AbstractModel
1062
+ # @param InstanceId: 实例ID
1063
+ # @type InstanceId: String
1064
+ # @param ConsumerGroup: 消费组名称
1065
+ # @type ConsumerGroup: String
1066
+ # @param Namespace: 命名空间,4.x集群必填
1067
+ # @type Namespace: String
1068
+ # @param SubscribeTopic: 订阅主题,不为空则查询订阅了该主题的消费组的堆积
1069
+ # @type SubscribeTopic: String
1070
+
1071
+ attr_accessor :InstanceId, :ConsumerGroup, :Namespace, :SubscribeTopic
1072
+
1073
+ def initialize(instanceid=nil, consumergroup=nil, namespace=nil, subscribetopic=nil)
1074
+ @InstanceId = instanceid
1075
+ @ConsumerGroup = consumergroup
1076
+ @Namespace = namespace
1077
+ @SubscribeTopic = subscribetopic
1078
+ end
1079
+
1080
+ def deserialize(params)
1081
+ @InstanceId = params['InstanceId']
1082
+ @ConsumerGroup = params['ConsumerGroup']
1083
+ @Namespace = params['Namespace']
1084
+ @SubscribeTopic = params['SubscribeTopic']
1085
+ end
1086
+ end
1087
+
1088
+ # DescribeConsumerLag返回参数结构体
1089
+ class DescribeConsumerLagResponse < TencentCloud::Common::AbstractModel
1090
+ # @param ConsumerLag: 堆积数
1091
+ # @type ConsumerLag: Integer
1092
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1093
+ # @type RequestId: String
1094
+
1095
+ attr_accessor :ConsumerLag, :RequestId
1096
+
1097
+ def initialize(consumerlag=nil, requestid=nil)
1098
+ @ConsumerLag = consumerlag
1099
+ @RequestId = requestid
1100
+ end
1101
+
1102
+ def deserialize(params)
1103
+ @ConsumerLag = params['ConsumerLag']
1104
+ @RequestId = params['RequestId']
1105
+ end
1106
+ end
1107
+
1060
1108
  # DescribeFusionInstanceList请求参数结构体
1061
1109
  class DescribeFusionInstanceListRequest < TencentCloud::Common::AbstractModel
1062
1110
  # @param Offset: 查询起始位置
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.881
4
+ version: 3.0.883
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-07 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common