tencentcloud-sdk-tdmq 1.0.342 → 1.0.343

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200217/models.rb +26 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c3c38778e055b4fae34d711de59391c4686e78d
4
- data.tar.gz: b4cda181cacd8cd9aa88dbf9e43ebb0b8db4a6aa
3
+ metadata.gz: 8c19caaf136080dfc12c625e394c064406f49864
4
+ data.tar.gz: ebd3906625155d36f122f647ab78736bef4f412a
5
5
  SHA512:
6
- metadata.gz: 6d413152291b9311dec0c7e9dc89fb3c7d672d08b67134177a78a524906d25deb821520965880c41d0d59f5c7fe12abfd079bb25c195d57fbb8f4f4eb97b72ca
7
- data.tar.gz: 7fbd4c0dd46c764f953da6fc02dd65721f206ccf62a19e0f1990e02e19ad863112a7fe931c02d508dae19006b44c787545a5d008d0f008620efc99839d5132c2
6
+ metadata.gz: 0c96b592c717689904135d5ca5a32e92fb05d16f6737acd4dd32df80fd0914e8247ca9b319a8e337d6ed4768f26992f612201b565ac8d4d514f2b9762187e447
7
+ data.tar.gz: e5519a8e6342e74197e68378a67bdd56309af0af1b34675ff5bc0fa06fb5acdf6cb2e08e43650378c6077f6bb451611cb762f3eed189a89094cd0044438415ef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.342
1
+ 1.0.343
@@ -6357,14 +6357,23 @@ module TencentCloud
6357
6357
  # @type ReceiverQueueSize: Integer
6358
6358
  # @param SubInitialPosition: 默认值为:Latest。用作判定consumer初始接收消息的位置,可选参数为:Earliest, Latest
6359
6359
  # @type SubInitialPosition: String
6360
+ # @param MaxNumMessages: 用于设置BatchReceivePolicy,指在一次batch中最多接收多少条消息,默认是 0。即不开启BatchReceivePolicy
6361
+ # @type MaxNumMessages: Integer
6362
+ # @param MaxNumBytes: 用于设置BatchReceivePolicy,指在一次batch中最多接收的消息体有多大,单位是 bytes。默认是 0,即不开启BatchReceivePolicy
6363
+ # @type MaxNumBytes: Integer
6364
+ # @param Timeout: 用于设置BatchReceivePolicy,指在一次batch消息的接收z中最多等待的超时时间,单位是毫秒。默认是 0,即不开启BatchReceivePolicy
6365
+ # @type Timeout: Integer
6360
6366
 
6361
- attr_accessor :Topic, :SubscriptionName, :ReceiverQueueSize, :SubInitialPosition
6367
+ attr_accessor :Topic, :SubscriptionName, :ReceiverQueueSize, :SubInitialPosition, :MaxNumMessages, :MaxNumBytes, :Timeout
6362
6368
 
6363
- def initialize(topic=nil, subscriptionname=nil, receiverqueuesize=nil, subinitialposition=nil)
6369
+ def initialize(topic=nil, subscriptionname=nil, receiverqueuesize=nil, subinitialposition=nil, maxnummessages=nil, maxnumbytes=nil, timeout=nil)
6364
6370
  @Topic = topic
6365
6371
  @SubscriptionName = subscriptionname
6366
6372
  @ReceiverQueueSize = receiverqueuesize
6367
6373
  @SubInitialPosition = subinitialposition
6374
+ @MaxNumMessages = maxnummessages
6375
+ @MaxNumBytes = maxnumbytes
6376
+ @Timeout = timeout
6368
6377
  end
6369
6378
 
6370
6379
  def deserialize(params)
@@ -6372,6 +6381,9 @@ module TencentCloud
6372
6381
  @SubscriptionName = params['SubscriptionName']
6373
6382
  @ReceiverQueueSize = params['ReceiverQueueSize']
6374
6383
  @SubInitialPosition = params['SubInitialPosition']
6384
+ @MaxNumMessages = params['MaxNumMessages']
6385
+ @MaxNumBytes = params['MaxNumBytes']
6386
+ @Timeout = params['Timeout']
6375
6387
  end
6376
6388
  end
6377
6389
 
@@ -6389,17 +6401,25 @@ module TencentCloud
6389
6401
  # @param SubName: 返回订阅者的名字,用来创建 ack consumer时使用
6390
6402
  # 注意:此字段可能返回 null,表示取不到有效值。
6391
6403
  # @type SubName: String
6404
+ # @param MessageIDList: BatchReceivePolicy 一次性返回的多条消息的 MessageID,用 ‘###’ 来区分不同的 MessageID
6405
+ # 注意:此字段可能返回 null,表示取不到有效值。
6406
+ # @type MessageIDList: String
6407
+ # @param MessagesPayload: BatchReceivePolicy 一次性返回的多条消息的消息内容,用 ‘###’ 来区分不同的消息内容
6408
+ # 注意:此字段可能返回 null,表示取不到有效值。
6409
+ # @type MessagesPayload: String
6392
6410
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6393
6411
  # @type RequestId: String
6394
6412
 
6395
- attr_accessor :MessageID, :MessagePayload, :AckTopic, :ErrorMsg, :SubName, :RequestId
6413
+ attr_accessor :MessageID, :MessagePayload, :AckTopic, :ErrorMsg, :SubName, :MessageIDList, :MessagesPayload, :RequestId
6396
6414
 
6397
- def initialize(messageid=nil, messagepayload=nil, acktopic=nil, errormsg=nil, subname=nil, requestid=nil)
6415
+ def initialize(messageid=nil, messagepayload=nil, acktopic=nil, errormsg=nil, subname=nil, messageidlist=nil, messagespayload=nil, requestid=nil)
6398
6416
  @MessageID = messageid
6399
6417
  @MessagePayload = messagepayload
6400
6418
  @AckTopic = acktopic
6401
6419
  @ErrorMsg = errormsg
6402
6420
  @SubName = subname
6421
+ @MessageIDList = messageidlist
6422
+ @MessagesPayload = messagespayload
6403
6423
  @RequestId = requestid
6404
6424
  end
6405
6425
 
@@ -6409,6 +6429,8 @@ module TencentCloud
6409
6429
  @AckTopic = params['AckTopic']
6410
6430
  @ErrorMsg = params['ErrorMsg']
6411
6431
  @SubName = params['SubName']
6432
+ @MessageIDList = params['MessageIDList']
6433
+ @MessagesPayload = params['MessagesPayload']
6412
6434
  @RequestId = params['RequestId']
6413
6435
  end
6414
6436
  end
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.342
4
+ version: 1.0.343
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-26 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common