tencentcloud-sdk-trocket 3.0.1120 → 3.0.1123

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: bb22f05cdfd0ac33213772593f2201cc685348cb
4
- data.tar.gz: 46a35935a0b960af50a005a37299c90e6c16158f
3
+ metadata.gz: 2f927c2a2d16814c06425662361a06eabda8d7d5
4
+ data.tar.gz: 70d21c23a6f5e619e17b1811172f077053ffb04d
5
5
  SHA512:
6
- metadata.gz: 13cdf9327e5a3fb53d452d162788f6d64889455decaedb1e3865ff2a043df2c37319a07d9f7494e939055d4ddd1131a98e68f70cb8c791c3432c2e5f717180cc
7
- data.tar.gz: e2e0b0fe404367bbad63e1c7cc7d09c5e48c0cc10f3346024fd214ce95fd11b6d976a446f4253c0cd5cd18c18732910864c189e6a56f6c10d630dccf96a8f71d
6
+ metadata.gz: 7b7a901e2705bd7cb2cc6d68ba6402b8e46fd986978167e716eef50382db29efecbffe4dcbcb8c85786f4419e0b5d6023c076f0428002c2ca160542606979e16
7
+ data.tar.gz: fa1e5023a47321c3c637d372f82a1a05756da79341b7758d10abd4744e17b770ed94cfa368de0531011c5da1994c698ad49d545a97cfa47d233735ffdccc7401
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1120
1
+ 3.0.1123
@@ -1164,6 +1164,32 @@ module TencentCloud
1164
1164
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1165
1165
  end
1166
1166
 
1167
+ # 查询主题关联的生产者列表信息,Filters支持以下筛选条件:
1168
+ # - ClientIP,客户端IP
1169
+ # - ClientID,客户端ID
1170
+
1171
+ # @param request: Request instance for DescribeProducerList.
1172
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeProducerListRequest`
1173
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeProducerListResponse`
1174
+ def DescribeProducerList(request)
1175
+ body = send_request('DescribeProducerList', request.serialize)
1176
+ response = JSON.parse(body)
1177
+ if response['Response'].key?('Error') == false
1178
+ model = DescribeProducerListResponse.new
1179
+ model.deserialize(response['Response'])
1180
+ model
1181
+ else
1182
+ code = response['Response']['Error']['Code']
1183
+ message = response['Response']['Error']['Message']
1184
+ reqid = response['Response']['RequestId']
1185
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1186
+ end
1187
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1188
+ raise e
1189
+ rescue StandardError => e
1190
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1191
+ end
1192
+
1167
1193
  # 查询产品售卖规格,针对 RocketMQ 5.x 集群。
1168
1194
 
1169
1195
  # @param request: Request instance for DescribeProductSKUs.
@@ -3143,6 +3143,76 @@ module TencentCloud
3143
3143
  end
3144
3144
  end
3145
3145
 
3146
+ # DescribeProducerList请求参数结构体
3147
+ class DescribeProducerListRequest < TencentCloud::Common::AbstractModel
3148
+ # @param InstanceId: 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。
3149
+ # @type InstanceId: String
3150
+ # @param Topic: 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
3151
+ # @type Topic: String
3152
+ # @param Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
3153
+ # @type Filters: Array
3154
+ # @param Limit: 查询结果限制数量,默认20。
3155
+ # @type Limit: Integer
3156
+ # @param Offset: 查询起始位置,默认为0。
3157
+ # @type Offset: Integer
3158
+
3159
+ attr_accessor :InstanceId, :Topic, :Filters, :Limit, :Offset
3160
+
3161
+ def initialize(instanceid=nil, topic=nil, filters=nil, limit=nil, offset=nil)
3162
+ @InstanceId = instanceid
3163
+ @Topic = topic
3164
+ @Filters = filters
3165
+ @Limit = limit
3166
+ @Offset = offset
3167
+ end
3168
+
3169
+ def deserialize(params)
3170
+ @InstanceId = params['InstanceId']
3171
+ @Topic = params['Topic']
3172
+ unless params['Filters'].nil?
3173
+ @Filters = []
3174
+ params['Filters'].each do |i|
3175
+ filter_tmp = Filter.new
3176
+ filter_tmp.deserialize(i)
3177
+ @Filters << filter_tmp
3178
+ end
3179
+ end
3180
+ @Limit = params['Limit']
3181
+ @Offset = params['Offset']
3182
+ end
3183
+ end
3184
+
3185
+ # DescribeProducerList返回参数结构体
3186
+ class DescribeProducerListResponse < TencentCloud::Common::AbstractModel
3187
+ # @param TotalCount: 查询总数
3188
+ # @type TotalCount: Integer
3189
+ # @param ProducerList: 生产者信息列表
3190
+ # @type ProducerList: Array
3191
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3192
+ # @type RequestId: String
3193
+
3194
+ attr_accessor :TotalCount, :ProducerList, :RequestId
3195
+
3196
+ def initialize(totalcount=nil, producerlist=nil, requestid=nil)
3197
+ @TotalCount = totalcount
3198
+ @ProducerList = producerlist
3199
+ @RequestId = requestid
3200
+ end
3201
+
3202
+ def deserialize(params)
3203
+ @TotalCount = params['TotalCount']
3204
+ unless params['ProducerList'].nil?
3205
+ @ProducerList = []
3206
+ params['ProducerList'].each do |i|
3207
+ producerinfo_tmp = ProducerInfo.new
3208
+ producerinfo_tmp.deserialize(i)
3209
+ @ProducerList << producerinfo_tmp
3210
+ end
3211
+ end
3212
+ @RequestId = params['RequestId']
3213
+ end
3214
+ end
3215
+
3146
3216
  # DescribeProductSKUs请求参数结构体
3147
3217
  class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
3148
3218
 
@@ -5341,6 +5411,64 @@ module TencentCloud
5341
5411
  end
5342
5412
  end
5343
5413
 
5414
+ # 生产者信息
5415
+ class ProducerInfo < TencentCloud::Common::AbstractModel
5416
+ # @param ClientId: 客户端ID
5417
+ # 注意:此字段可能返回 null,表示取不到有效值。
5418
+ # @type ClientId: String
5419
+ # @param ClientIp: 客户端IP
5420
+ # 注意:此字段可能返回 null,表示取不到有效值。
5421
+ # @type ClientIp: String
5422
+ # @param Language: 客户端语言
5423
+ # - JAVA((byte) 0)
5424
+ # - CPP((byte) 1)
5425
+ # - DOTNET((byte) 2)
5426
+ # - PYTHON((byte) 3)
5427
+ # - DELPHI((byte) 4)
5428
+ # - ERLANG((byte) 5)
5429
+ # - RUBY((byte) 6)
5430
+ # - OTHER((byte) 7)
5431
+ # - HTTP((byte) 8)
5432
+ # - GO((byte) 9)
5433
+ # - PHP((byte) 10)
5434
+ # - OMS((byte) 11)
5435
+ # 注意:此字段可能返回 null,表示取不到有效值。
5436
+ # @type Language: String
5437
+ # @param Version: 客户端版本
5438
+ # 注意:此字段可能返回 null,表示取不到有效值。
5439
+ # @type Version: String
5440
+ # @param LastUpdateTimestamp: 最后生产时间,**Unix时间戳(秒)**
5441
+ # 注意:此字段可能返回 null,表示取不到有效值。
5442
+ # @type LastUpdateTimestamp: Integer
5443
+ # @param ChannelProtocol: 生产者客户端协议类型,枚举如下:
5444
+
5445
+ # - grpc:GRpc协议
5446
+ # - remoting:Remoting协议
5447
+ # - http:HTTP协议
5448
+ # 注意:此字段可能返回 null,表示取不到有效值。
5449
+ # @type ChannelProtocol: String
5450
+
5451
+ attr_accessor :ClientId, :ClientIp, :Language, :Version, :LastUpdateTimestamp, :ChannelProtocol
5452
+
5453
+ def initialize(clientid=nil, clientip=nil, language=nil, version=nil, lastupdatetimestamp=nil, channelprotocol=nil)
5454
+ @ClientId = clientid
5455
+ @ClientIp = clientip
5456
+ @Language = language
5457
+ @Version = version
5458
+ @LastUpdateTimestamp = lastupdatetimestamp
5459
+ @ChannelProtocol = channelprotocol
5460
+ end
5461
+
5462
+ def deserialize(params)
5463
+ @ClientId = params['ClientId']
5464
+ @ClientIp = params['ClientIp']
5465
+ @Language = params['Language']
5466
+ @Version = params['Version']
5467
+ @LastUpdateTimestamp = params['LastUpdateTimestamp']
5468
+ @ChannelProtocol = params['ChannelProtocol']
5469
+ end
5470
+ end
5471
+
5344
5472
  # 商品售卖信息
5345
5473
  class ProductSKU < TencentCloud::Common::AbstractModel
5346
5474
  # @param InstanceType: 产品类型,
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.1120
4
+ version: 3.0.1123
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-08 00:00:00.000000000 Z
11
+ date: 2025-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common