tencentcloud-sdk-tdmq 1.0.213 → 1.0.217

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: 3be35a48a87f26d6577c0b1a555d376e457893bb
4
- data.tar.gz: 3cb08de600202f097e0d39ad38d892adfef62c59
3
+ metadata.gz: d2155bc7ed3b0798864e1f4b6204c5f9330c4bb2
4
+ data.tar.gz: 84f6fcdf1d3c18641a3cabff7fedce1bc1092275
5
5
  SHA512:
6
- metadata.gz: 5ee6ca5a91d52d34cae14d3d113950f9fc9d64111295e63e9ad56d1440ba20afc9f460bd353d1fe6527fce73bad6861902394834f0f78c6260bd6c46364208b5
7
- data.tar.gz: f4f2bdbfdd34b0e3553a8377fad34793658d5ef195022531581e9b4f6eb1a2819e2132d896b4822e569bbcf9bf8a5a1ee6cc5dff6fbcb4a66b7111de08fe1412
6
+ metadata.gz: 56ef943386dcd07fab0e071f63ffc31bbafc4fd926f605443af795eab0fd09c0f7991533ce7fcd4b3bd5787d92eaa43073eba4036d35735cba6e069b55b5e8b5
7
+ data.tar.gz: 9d7a090bf9ca06dc93120c6c014202499b0b2113ab07b8708db6fcdd32488b59a027554adb17088d1b0ba4af65632a4f6aa097d826cc07eed61e950162292d59
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.213
1
+ 1.0.217
@@ -1133,6 +1133,30 @@ module TencentCloud
1133
1133
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
1134
  end
1135
1135
 
1136
+ # 获取某个租户的虚拟集群列表
1137
+
1138
+ # @param request: Request instance for DescribeAllTenants.
1139
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAllTenantsRequest`
1140
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAllTenantsResponse`
1141
+ def DescribeAllTenants(request)
1142
+ body = send_request('DescribeAllTenants', request.serialize)
1143
+ response = JSON.parse(body)
1144
+ if response['Response'].key?('Error') == false
1145
+ model = DescribeAllTenantsResponse.new
1146
+ model.deserialize(response['Response'])
1147
+ model
1148
+ else
1149
+ code = response['Response']['Error']['Code']
1150
+ message = response['Response']['Error']['Message']
1151
+ reqid = response['Response']['RequestId']
1152
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1153
+ end
1154
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1155
+ raise e
1156
+ rescue StandardError => e
1157
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
+ end
1159
+
1136
1160
  # 获取用户绑定的专享集群列表
1137
1161
 
1138
1162
  # @param request: Request instance for DescribeBindClusters.
@@ -3365,6 +3365,81 @@ module TencentCloud
3365
3365
  end
3366
3366
  end
3367
3367
 
3368
+ # DescribeAllTenants请求参数结构体
3369
+ class DescribeAllTenantsRequest < TencentCloud::Common::AbstractModel
3370
+ # @param Offset: 查询偏移量
3371
+ # @type Offset: Integer
3372
+ # @param Limit: 查询限制条数
3373
+ # @type Limit: Integer
3374
+ # @param ClusterName: 物理集群名称
3375
+ # @type ClusterName: String
3376
+ # @param TenantId: 虚拟集群ID
3377
+ # @type TenantId: String
3378
+ # @param TenantName: 虚拟集群名称
3379
+ # @type TenantName: String
3380
+ # @param Types: 协议类型数组
3381
+ # @type Types: Array
3382
+ # @param SortBy: 排序字段名,支持createTime,updateTime
3383
+ # @type SortBy: String
3384
+ # @param SortOrder: 升序排列ASC,降序排列DESC
3385
+ # @type SortOrder: String
3386
+
3387
+ attr_accessor :Offset, :Limit, :ClusterName, :TenantId, :TenantName, :Types, :SortBy, :SortOrder
3388
+
3389
+ def initialize(offset=nil, limit=nil, clustername=nil, tenantid=nil, tenantname=nil, types=nil, sortby=nil, sortorder=nil)
3390
+ @Offset = offset
3391
+ @Limit = limit
3392
+ @ClusterName = clustername
3393
+ @TenantId = tenantid
3394
+ @TenantName = tenantname
3395
+ @Types = types
3396
+ @SortBy = sortby
3397
+ @SortOrder = sortorder
3398
+ end
3399
+
3400
+ def deserialize(params)
3401
+ @Offset = params['Offset']
3402
+ @Limit = params['Limit']
3403
+ @ClusterName = params['ClusterName']
3404
+ @TenantId = params['TenantId']
3405
+ @TenantName = params['TenantName']
3406
+ @Types = params['Types']
3407
+ @SortBy = params['SortBy']
3408
+ @SortOrder = params['SortOrder']
3409
+ end
3410
+ end
3411
+
3412
+ # DescribeAllTenants返回参数结构体
3413
+ class DescribeAllTenantsResponse < TencentCloud::Common::AbstractModel
3414
+ # @param TotalCount: 总条数
3415
+ # @type TotalCount: Integer
3416
+ # @param Tenants: 虚拟集群列表
3417
+ # @type Tenants: Array
3418
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3419
+ # @type RequestId: String
3420
+
3421
+ attr_accessor :TotalCount, :Tenants, :RequestId
3422
+
3423
+ def initialize(totalcount=nil, tenants=nil, requestid=nil)
3424
+ @TotalCount = totalcount
3425
+ @Tenants = tenants
3426
+ @RequestId = requestid
3427
+ end
3428
+
3429
+ def deserialize(params)
3430
+ @TotalCount = params['TotalCount']
3431
+ unless params['Tenants'].nil?
3432
+ @Tenants = []
3433
+ params['Tenants'].each do |i|
3434
+ internaltenant_tmp = InternalTenant.new
3435
+ internaltenant_tmp.deserialize(i)
3436
+ @Tenants << internaltenant_tmp
3437
+ end
3438
+ end
3439
+ @RequestId = params['RequestId']
3440
+ end
3441
+ end
3442
+
3368
3443
  # DescribeBindClusters请求参数结构体
3369
3444
  class DescribeBindClustersRequest < TencentCloud::Common::AbstractModel
3370
3445
 
@@ -5023,6 +5098,105 @@ module TencentCloud
5023
5098
  end
5024
5099
  end
5025
5100
 
5101
+ # 面向运营端的虚拟集群信息
5102
+ class InternalTenant < TencentCloud::Common::AbstractModel
5103
+ # @param TenantId: 虚拟集群ID
5104
+ # @type TenantId: String
5105
+ # @param TenantName: 虚拟集群名称
5106
+ # @type TenantName: String
5107
+ # @param CustomerUin: 客户UIN
5108
+ # @type CustomerUin: String
5109
+ # @param CustomerAppId: 客户的APPID
5110
+ # @type CustomerAppId: String
5111
+ # @param ClusterName: 物理集群名称
5112
+ # @type ClusterName: String
5113
+ # @param Type: 集群协议类型,支持的值为TDMQ,ROCKETMQ,AMQP,CMQ
5114
+ # @type Type: String
5115
+ # @param MaxNamespaces: 命名空间配额
5116
+ # @type MaxNamespaces: Integer
5117
+ # @param UsedNamespaces: 已使用命名空间配额
5118
+ # @type UsedNamespaces: Integer
5119
+ # @param MaxTopics: Topic配额
5120
+ # @type MaxTopics: Integer
5121
+ # @param UsedTopics: 已使用Topic配额
5122
+ # @type UsedTopics: Integer
5123
+ # @param MaxPartitions: Topic分区数配额
5124
+ # @type MaxPartitions: Integer
5125
+ # @param UsedPartitions: 已使用Topic分区数配额
5126
+ # @type UsedPartitions: Integer
5127
+ # @param MaxMsgBacklogSize: 存储配额, byte为单位
5128
+ # @type MaxMsgBacklogSize: Integer
5129
+ # @param MaxPublishTps: 命名空间最大生产TPS
5130
+ # @type MaxPublishTps: Integer
5131
+ # @param MaxRetention: 消息最大保留时间,秒为单位
5132
+ # @type MaxRetention: Integer
5133
+ # @param CreateTime: 创建时间,毫秒为单位
5134
+ # @type CreateTime: Integer
5135
+ # @param UpdateTime: 修改时间,毫秒为单位
5136
+ # @type UpdateTime: Integer
5137
+ # @param MaxDispatchTps: 命名空间最大消费TPS
5138
+ # @type MaxDispatchTps: Integer
5139
+ # @param MaxDispatchRateInBytes: 命名空间最大消费带宽,byte为单位
5140
+ # 注意:此字段可能返回 null,表示取不到有效值。
5141
+ # @type MaxDispatchRateInBytes: Integer
5142
+ # @param MaxPublishRateInBytes: 命名空间最大生产带宽,byte为单位
5143
+ # 注意:此字段可能返回 null,表示取不到有效值。
5144
+ # @type MaxPublishRateInBytes: Integer
5145
+ # @param MaxRetentionSizeInMB: 消息最大保留空间,MB为单位
5146
+ # 注意:此字段可能返回 null,表示取不到有效值。
5147
+ # @type MaxRetentionSizeInMB: Integer
5148
+
5149
+ attr_accessor :TenantId, :TenantName, :CustomerUin, :CustomerAppId, :ClusterName, :Type, :MaxNamespaces, :UsedNamespaces, :MaxTopics, :UsedTopics, :MaxPartitions, :UsedPartitions, :MaxMsgBacklogSize, :MaxPublishTps, :MaxRetention, :CreateTime, :UpdateTime, :MaxDispatchTps, :MaxDispatchRateInBytes, :MaxPublishRateInBytes, :MaxRetentionSizeInMB
5150
+
5151
+ def initialize(tenantid=nil, tenantname=nil, customeruin=nil, customerappid=nil, clustername=nil, type=nil, maxnamespaces=nil, usednamespaces=nil, maxtopics=nil, usedtopics=nil, maxpartitions=nil, usedpartitions=nil, maxmsgbacklogsize=nil, maxpublishtps=nil, maxretention=nil, createtime=nil, updatetime=nil, maxdispatchtps=nil, maxdispatchrateinbytes=nil, maxpublishrateinbytes=nil, maxretentionsizeinmb=nil)
5152
+ @TenantId = tenantid
5153
+ @TenantName = tenantname
5154
+ @CustomerUin = customeruin
5155
+ @CustomerAppId = customerappid
5156
+ @ClusterName = clustername
5157
+ @Type = type
5158
+ @MaxNamespaces = maxnamespaces
5159
+ @UsedNamespaces = usednamespaces
5160
+ @MaxTopics = maxtopics
5161
+ @UsedTopics = usedtopics
5162
+ @MaxPartitions = maxpartitions
5163
+ @UsedPartitions = usedpartitions
5164
+ @MaxMsgBacklogSize = maxmsgbacklogsize
5165
+ @MaxPublishTps = maxpublishtps
5166
+ @MaxRetention = maxretention
5167
+ @CreateTime = createtime
5168
+ @UpdateTime = updatetime
5169
+ @MaxDispatchTps = maxdispatchtps
5170
+ @MaxDispatchRateInBytes = maxdispatchrateinbytes
5171
+ @MaxPublishRateInBytes = maxpublishrateinbytes
5172
+ @MaxRetentionSizeInMB = maxretentionsizeinmb
5173
+ end
5174
+
5175
+ def deserialize(params)
5176
+ @TenantId = params['TenantId']
5177
+ @TenantName = params['TenantName']
5178
+ @CustomerUin = params['CustomerUin']
5179
+ @CustomerAppId = params['CustomerAppId']
5180
+ @ClusterName = params['ClusterName']
5181
+ @Type = params['Type']
5182
+ @MaxNamespaces = params['MaxNamespaces']
5183
+ @UsedNamespaces = params['UsedNamespaces']
5184
+ @MaxTopics = params['MaxTopics']
5185
+ @UsedTopics = params['UsedTopics']
5186
+ @MaxPartitions = params['MaxPartitions']
5187
+ @UsedPartitions = params['UsedPartitions']
5188
+ @MaxMsgBacklogSize = params['MaxMsgBacklogSize']
5189
+ @MaxPublishTps = params['MaxPublishTps']
5190
+ @MaxRetention = params['MaxRetention']
5191
+ @CreateTime = params['CreateTime']
5192
+ @UpdateTime = params['UpdateTime']
5193
+ @MaxDispatchTps = params['MaxDispatchTps']
5194
+ @MaxDispatchRateInBytes = params['MaxDispatchRateInBytes']
5195
+ @MaxPublishRateInBytes = params['MaxPublishRateInBytes']
5196
+ @MaxRetentionSizeInMB = params['MaxRetentionSizeInMB']
5197
+ end
5198
+ end
5199
+
5026
5200
  # ModifyAMQPCluster请求参数结构体
5027
5201
  class ModifyAMQPClusterRequest < TencentCloud::Common::AbstractModel
5028
5202
  # @param ClusterId: 集群ID
@@ -6181,78 +6355,278 @@ module TencentCloud
6181
6355
 
6182
6356
  # RocketMQ集群配置
6183
6357
  class RocketMQClusterConfig < TencentCloud::Common::AbstractModel
6358
+ # @param MaxTpsPerNamespace: 单命名空间TPS上线
6359
+ # @type MaxTpsPerNamespace: Integer
6360
+ # @param MaxNamespaceNum: 最大命名空间数量
6361
+ # @type MaxNamespaceNum: Integer
6362
+ # @param UsedNamespaceNum: 已使用命名空间数量
6363
+ # @type UsedNamespaceNum: Integer
6364
+ # @param MaxTopicNum: 最大Topic数量
6365
+ # @type MaxTopicNum: Integer
6366
+ # @param UsedTopicNum: 已使用Topic数量
6367
+ # @type UsedTopicNum: Integer
6368
+ # @param MaxGroupNum: 最大Group数量
6369
+ # @type MaxGroupNum: Integer
6370
+ # @param UsedGroupNum: 已使用Group数量
6371
+ # @type UsedGroupNum: Integer
6372
+ # @param MaxRetentionTime: 消息最大保留时间,以毫秒为单位
6373
+ # @type MaxRetentionTime: Integer
6374
+ # @param MaxLatencyTime: 消息最长延时,以毫秒为单位
6375
+ # @type MaxLatencyTime: Integer
6184
6376
 
6377
+ attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime
6185
6378
 
6186
- def initialize()
6379
+ def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil)
6380
+ @MaxTpsPerNamespace = maxtpspernamespace
6381
+ @MaxNamespaceNum = maxnamespacenum
6382
+ @UsedNamespaceNum = usednamespacenum
6383
+ @MaxTopicNum = maxtopicnum
6384
+ @UsedTopicNum = usedtopicnum
6385
+ @MaxGroupNum = maxgroupnum
6386
+ @UsedGroupNum = usedgroupnum
6387
+ @MaxRetentionTime = maxretentiontime
6388
+ @MaxLatencyTime = maxlatencytime
6187
6389
  end
6188
6390
 
6189
6391
  def deserialize(params)
6392
+ @MaxTpsPerNamespace = params['MaxTpsPerNamespace']
6393
+ @MaxNamespaceNum = params['MaxNamespaceNum']
6394
+ @UsedNamespaceNum = params['UsedNamespaceNum']
6395
+ @MaxTopicNum = params['MaxTopicNum']
6396
+ @UsedTopicNum = params['UsedTopicNum']
6397
+ @MaxGroupNum = params['MaxGroupNum']
6398
+ @UsedGroupNum = params['UsedGroupNum']
6399
+ @MaxRetentionTime = params['MaxRetentionTime']
6400
+ @MaxLatencyTime = params['MaxLatencyTime']
6190
6401
  end
6191
6402
  end
6192
6403
 
6193
6404
  # 租户RocketMQ集群详细信息
6194
6405
  class RocketMQClusterDetail < TencentCloud::Common::AbstractModel
6406
+ # @param Info: 集群基本信息
6407
+ # @type Info: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQClusterInfo`
6408
+ # @param Config: 集群配置信息
6409
+ # @type Config: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQClusterConfig`
6410
+ # @param Status: 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
6411
+ # 注意:此字段可能返回 null,表示取不到有效值。
6412
+ # @type Status: Integer
6195
6413
 
6414
+ attr_accessor :Info, :Config, :Status
6196
6415
 
6197
- def initialize()
6416
+ def initialize(info=nil, config=nil, status=nil)
6417
+ @Info = info
6418
+ @Config = config
6419
+ @Status = status
6198
6420
  end
6199
6421
 
6200
6422
  def deserialize(params)
6423
+ unless params['Info'].nil?
6424
+ @Info = RocketMQClusterInfo.new
6425
+ @Info.deserialize(params['Info'])
6426
+ end
6427
+ unless params['Config'].nil?
6428
+ @Config = RocketMQClusterConfig.new
6429
+ @Config.deserialize(params['Config'])
6430
+ end
6431
+ @Status = params['Status']
6201
6432
  end
6202
6433
  end
6203
6434
 
6204
6435
  # RocketMQ集群基本信息
6205
6436
  class RocketMQClusterInfo < TencentCloud::Common::AbstractModel
6437
+ # @param ClusterId: 集群ID
6438
+ # @type ClusterId: String
6439
+ # @param ClusterName: 集群名称
6440
+ # @type ClusterName: String
6441
+ # @param Region: 地域信息
6442
+ # @type Region: String
6443
+ # @param CreateTime: 创建时间,毫秒为单位
6444
+ # @type CreateTime: Integer
6445
+ # @param Remark: 集群说明信息
6446
+ # 注意:此字段可能返回 null,表示取不到有效值。
6447
+ # @type Remark: String
6448
+ # @param PublicEndPoint: 公网接入地址
6449
+ # @type PublicEndPoint: String
6450
+ # @param VpcEndPoint: VPC接入地址
6451
+ # @type VpcEndPoint: String
6206
6452
 
6453
+ attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :PublicEndPoint, :VpcEndPoint
6207
6454
 
6208
- def initialize()
6455
+ def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil)
6456
+ @ClusterId = clusterid
6457
+ @ClusterName = clustername
6458
+ @Region = region
6459
+ @CreateTime = createtime
6460
+ @Remark = remark
6461
+ @PublicEndPoint = publicendpoint
6462
+ @VpcEndPoint = vpcendpoint
6209
6463
  end
6210
6464
 
6211
6465
  def deserialize(params)
6466
+ @ClusterId = params['ClusterId']
6467
+ @ClusterName = params['ClusterName']
6468
+ @Region = params['Region']
6469
+ @CreateTime = params['CreateTime']
6470
+ @Remark = params['Remark']
6471
+ @PublicEndPoint = params['PublicEndPoint']
6472
+ @VpcEndPoint = params['VpcEndPoint']
6212
6473
  end
6213
6474
  end
6214
6475
 
6215
6476
  # RocketMQ近期使用量
6216
6477
  class RocketMQClusterRecentStats < TencentCloud::Common::AbstractModel
6478
+ # @param TopicNum: Topic数量
6479
+ # @type TopicNum: Integer
6480
+ # @param ProducedMsgNum: 消息生产数
6481
+ # @type ProducedMsgNum: Integer
6482
+ # @param ConsumedMsgNum: 消息消费数
6483
+ # @type ConsumedMsgNum: Integer
6484
+ # @param AccumulativeMsgNum: 消息堆积数
6485
+ # @type AccumulativeMsgNum: Integer
6217
6486
 
6487
+ attr_accessor :TopicNum, :ProducedMsgNum, :ConsumedMsgNum, :AccumulativeMsgNum
6218
6488
 
6219
- def initialize()
6489
+ def initialize(topicnum=nil, producedmsgnum=nil, consumedmsgnum=nil, accumulativemsgnum=nil)
6490
+ @TopicNum = topicnum
6491
+ @ProducedMsgNum = producedmsgnum
6492
+ @ConsumedMsgNum = consumedmsgnum
6493
+ @AccumulativeMsgNum = accumulativemsgnum
6220
6494
  end
6221
6495
 
6222
6496
  def deserialize(params)
6497
+ @TopicNum = params['TopicNum']
6498
+ @ProducedMsgNum = params['ProducedMsgNum']
6499
+ @ConsumedMsgNum = params['ConsumedMsgNum']
6500
+ @AccumulativeMsgNum = params['AccumulativeMsgNum']
6223
6501
  end
6224
6502
  end
6225
6503
 
6226
6504
  # RocketMQ消费组信息
6227
6505
  class RocketMQGroup < TencentCloud::Common::AbstractModel
6506
+ # @param Name: 消费组名称
6507
+ # @type Name: String
6508
+ # @param ConsumerNum: 在线消费者数量
6509
+ # @type ConsumerNum: Integer
6510
+ # @param TPS: 消费TPS
6511
+ # @type TPS: Integer
6512
+ # @param TotalAccumulative: 总堆积数量
6513
+ # @type TotalAccumulative: Integer
6514
+ # @param ConsumptionMode: 0表示集群消费模式,1表示广播消费模式,-1表示未知
6515
+ # @type ConsumptionMode: Integer
6516
+ # @param ReadEnabled: 是否允许消费
6517
+ # @type ReadEnabled: Boolean
6518
+ # @param RetryPartitionNum: 重试队列分区数
6519
+ # 注意:此字段可能返回 null,表示取不到有效值。
6520
+ # @type RetryPartitionNum: Integer
6521
+ # @param CreateTime: 创建时间,以毫秒为单位
6522
+ # @type CreateTime: Integer
6523
+ # @param UpdateTime: 修改时间,以毫秒为单位
6524
+ # @type UpdateTime: Integer
6525
+ # @param ClientProtocol: 客户端协议
6526
+ # @type ClientProtocol: String
6527
+ # @param Remark: 说明信息
6528
+ # 注意:此字段可能返回 null,表示取不到有效值。
6529
+ # @type Remark: String
6530
+ # @param ConsumerType: 消费者类型,枚举值ACTIVELY, PASSIVELY
6531
+ # 注意:此字段可能返回 null,表示取不到有效值。
6532
+ # @type ConsumerType: String
6533
+ # @param BroadcastEnabled: 是否开启广播消费
6534
+ # @type BroadcastEnabled: Boolean
6228
6535
 
6536
+ attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled
6229
6537
 
6230
- def initialize()
6538
+ def initialize(name=nil, consumernum=nil, tps=nil, totalaccumulative=nil, consumptionmode=nil, readenabled=nil, retrypartitionnum=nil, createtime=nil, updatetime=nil, clientprotocol=nil, remark=nil, consumertype=nil, broadcastenabled=nil)
6539
+ @Name = name
6540
+ @ConsumerNum = consumernum
6541
+ @TPS = tps
6542
+ @TotalAccumulative = totalaccumulative
6543
+ @ConsumptionMode = consumptionmode
6544
+ @ReadEnabled = readenabled
6545
+ @RetryPartitionNum = retrypartitionnum
6546
+ @CreateTime = createtime
6547
+ @UpdateTime = updatetime
6548
+ @ClientProtocol = clientprotocol
6549
+ @Remark = remark
6550
+ @ConsumerType = consumertype
6551
+ @BroadcastEnabled = broadcastenabled
6231
6552
  end
6232
6553
 
6233
6554
  def deserialize(params)
6555
+ @Name = params['Name']
6556
+ @ConsumerNum = params['ConsumerNum']
6557
+ @TPS = params['TPS']
6558
+ @TotalAccumulative = params['TotalAccumulative']
6559
+ @ConsumptionMode = params['ConsumptionMode']
6560
+ @ReadEnabled = params['ReadEnabled']
6561
+ @RetryPartitionNum = params['RetryPartitionNum']
6562
+ @CreateTime = params['CreateTime']
6563
+ @UpdateTime = params['UpdateTime']
6564
+ @ClientProtocol = params['ClientProtocol']
6565
+ @Remark = params['Remark']
6566
+ @ConsumerType = params['ConsumerType']
6567
+ @BroadcastEnabled = params['BroadcastEnabled']
6234
6568
  end
6235
6569
  end
6236
6570
 
6237
6571
  # RocketMQ命名空间信息
6238
6572
  class RocketMQNamespace < TencentCloud::Common::AbstractModel
6573
+ # @param NamespaceId: 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
6574
+ # @type NamespaceId: String
6575
+ # @param Ttl: 未消费消息的保留时间,以毫秒单位,范围60秒到15天
6576
+ # @type Ttl: Integer
6577
+ # @param RetentionTime: 消息持久化后保留的时间,以毫秒单位
6578
+ # @type RetentionTime: Integer
6579
+ # @param Remark: 说明
6580
+ # 注意:此字段可能返回 null,表示取不到有效值。
6581
+ # @type Remark: String
6239
6582
 
6583
+ attr_accessor :NamespaceId, :Ttl, :RetentionTime, :Remark
6240
6584
 
6241
- def initialize()
6585
+ def initialize(namespaceid=nil, ttl=nil, retentiontime=nil, remark=nil)
6586
+ @NamespaceId = namespaceid
6587
+ @Ttl = ttl
6588
+ @RetentionTime = retentiontime
6589
+ @Remark = remark
6242
6590
  end
6243
6591
 
6244
6592
  def deserialize(params)
6593
+ @NamespaceId = params['NamespaceId']
6594
+ @Ttl = params['Ttl']
6595
+ @RetentionTime = params['RetentionTime']
6596
+ @Remark = params['Remark']
6245
6597
  end
6246
6598
  end
6247
6599
 
6248
6600
  # RocketMQ主题信息
6249
6601
  class RocketMQTopic < TencentCloud::Common::AbstractModel
6602
+ # @param Name: 主题名称
6603
+ # @type Name: String
6604
+ # @param Remark: 说明
6605
+ # 注意:此字段可能返回 null,表示取不到有效值。
6606
+ # @type Remark: String
6607
+ # @param PartitionNum: 读写分区数
6608
+ # @type PartitionNum: Integer
6609
+ # @param CreateTime: 创建时间,以毫秒为单位
6610
+ # @type CreateTime: Integer
6611
+ # @param UpdateTime: 创建时间,以毫秒为单位
6612
+ # @type UpdateTime: Integer
6250
6613
 
6614
+ attr_accessor :Name, :Remark, :PartitionNum, :CreateTime, :UpdateTime
6251
6615
 
6252
- def initialize()
6616
+ def initialize(name=nil, remark=nil, partitionnum=nil, createtime=nil, updatetime=nil)
6617
+ @Name = name
6618
+ @Remark = remark
6619
+ @PartitionNum = partitionnum
6620
+ @CreateTime = createtime
6621
+ @UpdateTime = updatetime
6253
6622
  end
6254
6623
 
6255
6624
  def deserialize(params)
6625
+ @Name = params['Name']
6626
+ @Remark = params['Remark']
6627
+ @PartitionNum = params['PartitionNum']
6628
+ @CreateTime = params['CreateTime']
6629
+ @UpdateTime = params['UpdateTime']
6256
6630
  end
6257
6631
  end
6258
6632
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.213
4
+ version: 1.0.217
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common