tencentcloud-sdk-trabbit 3.0.1124 → 3.0.1161

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230418/models.rb +161 -20
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce57f4501c419fc7bd519ae57ba0adc39f8e963
4
- data.tar.gz: 3271a799684d8add034dad03ce81517865b03f64
3
+ metadata.gz: e6dbf1d869aa6c312aebc23fbc6e76d2c60e0e53
4
+ data.tar.gz: 81d7059e683363d4fd4bc2a7c92265daa306fc30
5
5
  SHA512:
6
- metadata.gz: 4eb808bb8969d2c07e68c229f010af8d28b96941eccb72852f86280ed4c6cc64c54fa5f1c0b574914d1521a672094b43e3c47ba4b9f3376363a9cb884b92121a
7
- data.tar.gz: edc0d7c77b192dae0317b5aadfc861dccf12aa613c001f2c52da90791642f14aa6b448790c9e512701a1d53c72c024b95a27a2d39da221ccf26e567265395bd9
6
+ metadata.gz: ebb55a58d42ce1ee3797ba292730b8651dcb2c482cbc72ee00b61b34c79ba7dcb27bb3b5ac12794191157dde96f816b4cd7c6c2b18fdfa21aed385ec4657fdc0
7
+ data.tar.gz: aa24b084448af6368a6a409b546880a7d85a48caf3d8f7772c6fccdff8f0e067be908836598bc408a4bbb5ef12529fcf6243ffa6a4372e06a5e5d0c3cff267c9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1124
1
+ 3.0.1161
@@ -730,17 +730,37 @@ module TencentCloud
730
730
  # @type InstanceId: String
731
731
  # @param VirtualHost: vhost名
732
732
  # @type VirtualHost: String
733
+ # @param SortElement: 按哪个字段排序,支持:channel(channel数),incoming_bytes(入流量大小),outgoing_bytes(出流量大小)
734
+ # @type SortElement: String
735
+ # @param SortType: 排序方式:ASC,DESC
736
+ # @type SortType: String
737
+ # @param Offset: 分页参数,从第几条数据开始
738
+ # @type Offset: Integer
739
+ # @param Limit: 一页大小
740
+ # @type Limit: Integer
741
+ # @param Name: 连接名模糊搜索
742
+ # @type Name: String
733
743
 
734
- attr_accessor :InstanceId, :VirtualHost
744
+ attr_accessor :InstanceId, :VirtualHost, :SortElement, :SortType, :Offset, :Limit, :Name
735
745
 
736
- def initialize(instanceid=nil, virtualhost=nil)
746
+ def initialize(instanceid=nil, virtualhost=nil, sortelement=nil, sorttype=nil, offset=nil, limit=nil, name=nil)
737
747
  @InstanceId = instanceid
738
748
  @VirtualHost = virtualhost
749
+ @SortElement = sortelement
750
+ @SortType = sorttype
751
+ @Offset = offset
752
+ @Limit = limit
753
+ @Name = name
739
754
  end
740
755
 
741
756
  def deserialize(params)
742
757
  @InstanceId = params['InstanceId']
743
758
  @VirtualHost = params['VirtualHost']
759
+ @SortElement = params['SortElement']
760
+ @SortType = params['SortType']
761
+ @Offset = params['Offset']
762
+ @Limit = params['Limit']
763
+ @Name = params['Name']
744
764
  end
745
765
  end
746
766
 
@@ -789,16 +809,19 @@ module TencentCloud
789
809
  # @type Offset: Integer
790
810
  # @param SearchWord: 搜索关键词
791
811
  # @type SearchWord: String
812
+ # @param Channel: channelId
813
+ # @type Channel: String
792
814
 
793
- attr_accessor :InstanceId, :VirtualHost, :QueueName, :Limit, :Offset, :SearchWord
815
+ attr_accessor :InstanceId, :VirtualHost, :QueueName, :Limit, :Offset, :SearchWord, :Channel
794
816
 
795
- def initialize(instanceid=nil, virtualhost=nil, queuename=nil, limit=nil, offset=nil, searchword=nil)
817
+ def initialize(instanceid=nil, virtualhost=nil, queuename=nil, limit=nil, offset=nil, searchword=nil, channel=nil)
796
818
  @InstanceId = instanceid
797
819
  @VirtualHost = virtualhost
798
820
  @QueueName = queuename
799
821
  @Limit = limit
800
822
  @Offset = offset
801
823
  @SearchWord = searchword
824
+ @Channel = channel
802
825
  end
803
826
 
804
827
  def deserialize(params)
@@ -808,6 +831,7 @@ module TencentCloud
808
831
  @Limit = params['Limit']
809
832
  @Offset = params['Offset']
810
833
  @SearchWord = params['SearchWord']
834
+ @Channel = params['Channel']
811
835
  end
812
836
  end
813
837
 
@@ -1706,15 +1730,21 @@ module TencentCloud
1706
1730
  # @type TraceFlag: Boolean
1707
1731
  # @param SendReceiveRatio: 限流生产消费比例
1708
1732
  # @type SendReceiveRatio: Float
1733
+ # @param DeleteAllTags: 是否删除所有标签,默认为false
1734
+ # @type DeleteAllTags: Boolean
1735
+ # @param InstanceTags: 修改的实例标签列表
1736
+ # @type InstanceTags: Array
1709
1737
 
1710
- attr_accessor :InstanceId, :ClusterName, :Remark, :TraceFlag, :SendReceiveRatio
1738
+ attr_accessor :InstanceId, :ClusterName, :Remark, :TraceFlag, :SendReceiveRatio, :DeleteAllTags, :InstanceTags
1711
1739
 
1712
- def initialize(instanceid=nil, clustername=nil, remark=nil, traceflag=nil, sendreceiveratio=nil)
1740
+ def initialize(instanceid=nil, clustername=nil, remark=nil, traceflag=nil, sendreceiveratio=nil, deletealltags=nil, instancetags=nil)
1713
1741
  @InstanceId = instanceid
1714
1742
  @ClusterName = clustername
1715
1743
  @Remark = remark
1716
1744
  @TraceFlag = traceflag
1717
1745
  @SendReceiveRatio = sendreceiveratio
1746
+ @DeleteAllTags = deletealltags
1747
+ @InstanceTags = instancetags
1718
1748
  end
1719
1749
 
1720
1750
  def deserialize(params)
@@ -1723,6 +1753,15 @@ module TencentCloud
1723
1753
  @Remark = params['Remark']
1724
1754
  @TraceFlag = params['TraceFlag']
1725
1755
  @SendReceiveRatio = params['SendReceiveRatio']
1756
+ @DeleteAllTags = params['DeleteAllTags']
1757
+ unless params['InstanceTags'].nil?
1758
+ @InstanceTags = []
1759
+ params['InstanceTags'].each do |i|
1760
+ rabbitmqserverlesstag_tmp = RabbitMQServerlessTag.new
1761
+ rabbitmqserverlesstag_tmp.deserialize(i)
1762
+ @InstanceTags << rabbitmqserverlesstag_tmp
1763
+ end
1764
+ end
1726
1765
  end
1727
1766
  end
1728
1767
 
@@ -1808,14 +1847,23 @@ module TencentCloud
1808
1847
  # @type QueueName: String
1809
1848
  # @param Remark: 新修改的备注
1810
1849
  # @type Remark: String
1850
+ # @param MessageTTL: MessageTTL参数单位ms,classic类型专用
1851
+ # @type MessageTTL: Integer
1852
+ # @param DeadLetterExchange: DeadLetterExchange参数。可将过期或被拒绝的消息投往指定的死信 exchange。
1853
+ # @type DeadLetterExchange: String
1854
+ # @param DeadLetterRoutingKey: DeadLetterRoutingKey参数。只能包含字母、数字、"."、"-","@","_"
1855
+ # @type DeadLetterRoutingKey: String
1811
1856
 
1812
- attr_accessor :InstanceId, :VirtualHost, :QueueName, :Remark
1857
+ attr_accessor :InstanceId, :VirtualHost, :QueueName, :Remark, :MessageTTL, :DeadLetterExchange, :DeadLetterRoutingKey
1813
1858
 
1814
- def initialize(instanceid=nil, virtualhost=nil, queuename=nil, remark=nil)
1859
+ def initialize(instanceid=nil, virtualhost=nil, queuename=nil, remark=nil, messagettl=nil, deadletterexchange=nil, deadletterroutingkey=nil)
1815
1860
  @InstanceId = instanceid
1816
1861
  @VirtualHost = virtualhost
1817
1862
  @QueueName = queuename
1818
1863
  @Remark = remark
1864
+ @MessageTTL = messagettl
1865
+ @DeadLetterExchange = deadletterexchange
1866
+ @DeadLetterRoutingKey = deadletterroutingkey
1819
1867
  end
1820
1868
 
1821
1869
  def deserialize(params)
@@ -1823,6 +1871,9 @@ module TencentCloud
1823
1871
  @VirtualHost = params['VirtualHost']
1824
1872
  @QueueName = params['QueueName']
1825
1873
  @Remark = params['Remark']
1874
+ @MessageTTL = params['MessageTTL']
1875
+ @DeadLetterExchange = params['DeadLetterExchange']
1876
+ @DeadLetterRoutingKey = params['DeadLetterRoutingKey']
1826
1877
  end
1827
1878
  end
1828
1879
 
@@ -2070,10 +2121,12 @@ module TencentCloud
2070
2121
  # @type SendReceiveRatio: Float
2071
2122
  # @param TraceTime: 消息轨迹保留时间,单位小时
2072
2123
  # @type TraceTime: Integer
2124
+ # @param Tags: 实例标签列表
2125
+ # @type Tags: Array
2073
2126
 
2074
- attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus, :AutoRenewFlag, :MirrorQueuePolicyFlag, :MessageConsumeRate, :ClusterVersion, :PayMode, :InstanceType, :MessageRetainTime, :SendReceiveRatio, :TraceTime
2127
+ attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus, :AutoRenewFlag, :MirrorQueuePolicyFlag, :MessageConsumeRate, :ClusterVersion, :PayMode, :InstanceType, :MessageRetainTime, :SendReceiveRatio, :TraceTime, :Tags
2075
2128
 
2076
- def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil, autorenewflag=nil, mirrorqueuepolicyflag=nil, messageconsumerate=nil, clusterversion=nil, paymode=nil, instancetype=nil, messageretaintime=nil, sendreceiveratio=nil, tracetime=nil)
2129
+ def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil, autorenewflag=nil, mirrorqueuepolicyflag=nil, messageconsumerate=nil, clusterversion=nil, paymode=nil, instancetype=nil, messageretaintime=nil, sendreceiveratio=nil, tracetime=nil, tags=nil)
2077
2130
  @ClusterId = clusterid
2078
2131
  @ClusterName = clustername
2079
2132
  @Region = region
@@ -2101,6 +2154,7 @@ module TencentCloud
2101
2154
  @MessageRetainTime = messageretaintime
2102
2155
  @SendReceiveRatio = sendreceiveratio
2103
2156
  @TraceTime = tracetime
2157
+ @Tags = tags
2104
2158
  end
2105
2159
 
2106
2160
  def deserialize(params)
@@ -2138,6 +2192,14 @@ module TencentCloud
2138
2192
  @MessageRetainTime = params['MessageRetainTime']
2139
2193
  @SendReceiveRatio = params['SendReceiveRatio']
2140
2194
  @TraceTime = params['TraceTime']
2195
+ unless params['Tags'].nil?
2196
+ @Tags = []
2197
+ params['Tags'].each do |i|
2198
+ rabbitmqserverlesstag_tmp = RabbitMQServerlessTag.new
2199
+ rabbitmqserverlesstag_tmp.deserialize(i)
2200
+ @Tags << rabbitmqserverlesstag_tmp
2201
+ end
2202
+ end
2141
2203
  end
2142
2204
  end
2143
2205
 
@@ -2209,10 +2271,20 @@ module TencentCloud
2209
2271
  # @type Protocol: String
2210
2272
  # @param Channels: 连接下的channel数
2211
2273
  # @type Channels: Integer
2212
-
2213
- attr_accessor :ConnectionName, :PeerHost, :State, :User, :SSL, :Protocol, :Channels
2214
-
2215
- def initialize(connectionname=nil, peerhost=nil, state=nil, user=nil, ssl=nil, protocol=nil, channels=nil)
2274
+ # @param IncomingBytes: 入流量大小,单位 bytes
2275
+ # @type IncomingBytes: Float
2276
+ # @param OutgoingBytes: 出流量大小,单位bytes
2277
+ # @type OutgoingBytes: Float
2278
+ # @param Heartbeat: 心跳间隔时间,默认60s
2279
+ # @type Heartbeat: Integer
2280
+ # @param MaxChannel: 一个链接最大的channel数,默认1024
2281
+ # @type MaxChannel: Integer
2282
+ # @param IdleSince: 空闲时间点
2283
+ # @type IdleSince: String
2284
+
2285
+ attr_accessor :ConnectionName, :PeerHost, :State, :User, :SSL, :Protocol, :Channels, :IncomingBytes, :OutgoingBytes, :Heartbeat, :MaxChannel, :IdleSince
2286
+
2287
+ def initialize(connectionname=nil, peerhost=nil, state=nil, user=nil, ssl=nil, protocol=nil, channels=nil, incomingbytes=nil, outgoingbytes=nil, heartbeat=nil, maxchannel=nil, idlesince=nil)
2216
2288
  @ConnectionName = connectionname
2217
2289
  @PeerHost = peerhost
2218
2290
  @State = state
@@ -2220,6 +2292,11 @@ module TencentCloud
2220
2292
  @SSL = ssl
2221
2293
  @Protocol = protocol
2222
2294
  @Channels = channels
2295
+ @IncomingBytes = incomingbytes
2296
+ @OutgoingBytes = outgoingbytes
2297
+ @Heartbeat = heartbeat
2298
+ @MaxChannel = maxchannel
2299
+ @IdleSince = idlesince
2223
2300
  end
2224
2301
 
2225
2302
  def deserialize(params)
@@ -2230,6 +2307,11 @@ module TencentCloud
2230
2307
  @SSL = params['SSL']
2231
2308
  @Protocol = params['Protocol']
2232
2309
  @Channels = params['Channels']
2310
+ @IncomingBytes = params['IncomingBytes']
2311
+ @OutgoingBytes = params['OutgoingBytes']
2312
+ @Heartbeat = params['Heartbeat']
2313
+ @MaxChannel = params['MaxChannel']
2314
+ @IdleSince = params['IdleSince']
2233
2315
  end
2234
2316
  end
2235
2317
 
@@ -2239,17 +2321,45 @@ module TencentCloud
2239
2321
  # @type ClientIp: String
2240
2322
  # @param ConsumerTag: 消费者Tag
2241
2323
  # @type ConsumerTag: String
2242
-
2243
- attr_accessor :ClientIp, :ConsumerTag
2244
-
2245
- def initialize(clientip=nil, consumertag=nil)
2324
+ # @param QueueName: 消费目标队列
2325
+ # @type QueueName: String
2326
+ # @param AckRequired: 是否需要消费者手动 ack
2327
+ # @type AckRequired: Boolean
2328
+ # @param PrefetchCount: 消费者 qos 值
2329
+ # @type PrefetchCount: Integer
2330
+ # @param Active: 消费者状态
2331
+ # @type Active: String
2332
+ # @param LastDeliveredTime: 最后一次投递消息时间
2333
+ # @type LastDeliveredTime: String
2334
+ # @param UnAckMsgCount: 消费者未确认消息数
2335
+ # @type UnAckMsgCount: Integer
2336
+ # @param ChannelName: consumer 所属的 channel
2337
+ # @type ChannelName: String
2338
+
2339
+ attr_accessor :ClientIp, :ConsumerTag, :QueueName, :AckRequired, :PrefetchCount, :Active, :LastDeliveredTime, :UnAckMsgCount, :ChannelName
2340
+
2341
+ def initialize(clientip=nil, consumertag=nil, queuename=nil, ackrequired=nil, prefetchcount=nil, active=nil, lastdeliveredtime=nil, unackmsgcount=nil, channelname=nil)
2246
2342
  @ClientIp = clientip
2247
2343
  @ConsumerTag = consumertag
2344
+ @QueueName = queuename
2345
+ @AckRequired = ackrequired
2346
+ @PrefetchCount = prefetchcount
2347
+ @Active = active
2348
+ @LastDeliveredTime = lastdeliveredtime
2349
+ @UnAckMsgCount = unackmsgcount
2350
+ @ChannelName = channelname
2248
2351
  end
2249
2352
 
2250
2353
  def deserialize(params)
2251
2354
  @ClientIp = params['ClientIp']
2252
2355
  @ConsumerTag = params['ConsumerTag']
2356
+ @QueueName = params['QueueName']
2357
+ @AckRequired = params['AckRequired']
2358
+ @PrefetchCount = params['PrefetchCount']
2359
+ @Active = params['Active']
2360
+ @LastDeliveredTime = params['LastDeliveredTime']
2361
+ @UnAckMsgCount = params['UnAckMsgCount']
2362
+ @ChannelName = params['ChannelName']
2253
2363
  end
2254
2364
  end
2255
2365
 
@@ -2580,10 +2690,12 @@ module TencentCloud
2580
2690
  # @type IsolatedTime: Integer
2581
2691
  # @param ServerlessExt: Serverless 扩展字段
2582
2692
  # @type ServerlessExt: String
2693
+ # @param Tags: 实例标签列表
2694
+ # @type Tags: Array
2583
2695
 
2584
- attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :MaxTps, :MaxBandWidth, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :PublicAccessEndpoint, :Vpcs, :ClusterStatus, :InstanceType, :CreateTime, :NodeCount, :MaxStorage, :IsolatedTime, :ServerlessExt
2696
+ attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :MaxTps, :MaxBandWidth, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :PublicAccessEndpoint, :Vpcs, :ClusterStatus, :InstanceType, :CreateTime, :NodeCount, :MaxStorage, :IsolatedTime, :ServerlessExt, :Tags
2585
2697
 
2586
- def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, maxtps=nil, maxbandwidth=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil, exceptioninformation=nil, publicaccessendpoint=nil, vpcs=nil, clusterstatus=nil, instancetype=nil, createtime=nil, nodecount=nil, maxstorage=nil, isolatedtime=nil, serverlessext=nil)
2698
+ def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, maxtps=nil, maxbandwidth=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil, exceptioninformation=nil, publicaccessendpoint=nil, vpcs=nil, clusterstatus=nil, instancetype=nil, createtime=nil, nodecount=nil, maxstorage=nil, isolatedtime=nil, serverlessext=nil, tags=nil)
2587
2699
  @InstanceId = instanceid
2588
2700
  @InstanceName = instancename
2589
2701
  @InstanceVersion = instanceversion
@@ -2605,6 +2717,7 @@ module TencentCloud
2605
2717
  @MaxStorage = maxstorage
2606
2718
  @IsolatedTime = isolatedtime
2607
2719
  @ServerlessExt = serverlessext
2720
+ @Tags = tags
2608
2721
  end
2609
2722
 
2610
2723
  def deserialize(params)
@@ -2636,6 +2749,34 @@ module TencentCloud
2636
2749
  @MaxStorage = params['MaxStorage']
2637
2750
  @IsolatedTime = params['IsolatedTime']
2638
2751
  @ServerlessExt = params['ServerlessExt']
2752
+ unless params['Tags'].nil?
2753
+ @Tags = []
2754
+ params['Tags'].each do |i|
2755
+ rabbitmqserverlesstag_tmp = RabbitMQServerlessTag.new
2756
+ rabbitmqserverlesstag_tmp.deserialize(i)
2757
+ @Tags << rabbitmqserverlesstag_tmp
2758
+ end
2759
+ end
2760
+ end
2761
+ end
2762
+
2763
+ # 标签
2764
+ class RabbitMQServerlessTag < TencentCloud::Common::AbstractModel
2765
+ # @param TagKey: 标签键
2766
+ # @type TagKey: String
2767
+ # @param TagValue: 标签值
2768
+ # @type TagValue: String
2769
+
2770
+ attr_accessor :TagKey, :TagValue
2771
+
2772
+ def initialize(tagkey=nil, tagvalue=nil)
2773
+ @TagKey = tagkey
2774
+ @TagValue = tagvalue
2775
+ end
2776
+
2777
+ def deserialize(params)
2778
+ @TagKey = params['TagKey']
2779
+ @TagValue = params['TagValue']
2639
2780
  end
2640
2781
  end
2641
2782
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1124
4
+ version: 3.0.1161
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-17 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-trabbit.rb
37
36
  - lib/v20230418/client.rb
38
37
  - lib/v20230418/models.rb
38
+ - lib/tencentcloud-sdk-trabbit.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: