tencentcloud-sdk-trocket 3.0.880 → 3.0.882

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d058ccd30370bb25256ff50e9658d039b3c16b5
4
- data.tar.gz: 223b7e7913f7f992e35ee4cb45c333b914da7f5b
3
+ metadata.gz: c9a302459ba3a8a07c3c42f6cf89950a6a412bdf
4
+ data.tar.gz: 1a600d8fa4057494b86d4a12234b2e3a36266cac
5
5
  SHA512:
6
- metadata.gz: 90f18a979a3bb52b0ca7d6ff43fbd8914188fadba92b74400890efca303cb6e6ebd8a64eff0620538fc6db5ac79421eca0be4f21aee7c2916e33800995e3491a
7
- data.tar.gz: 20f20102527043be42d476c65e26f4c442b430a59a1cdbde921b3f0d228b57547b55522da5354cace538e74d92677681037b98b6eb390b3d7ff331a3a7368ac3
6
+ metadata.gz: ffadef2bbdd1e9f55aa4237abe6085d25d7b315b3a4123e254d7905f4296b4242bc952966fdbf5bbcc751b858e5437fc95898f5758e8844e665b2bbf8df5b2d6
7
+ data.tar.gz: 3f56813fd3e7f477ad557a82a94c9e854ab9ccddbc4300be15d8a61e4a47cc4e06be231f3e719de3d8831352f3ae9c2793a6237bc35e6b810c1ddbab62af5e83
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.880
1
+ 3.0.882
@@ -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.880
4
+ version: 3.0.882
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-06 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common