tencentcloud-sdk-trocket 3.0.775 → 3.0.777

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/v20230308/models.rb +106 -29
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92d379b4cf013d1fcc66520326d801ff3328c15a
4
- data.tar.gz: f80dd4a3163777a7f270f4fff728f0b22945b747
3
+ metadata.gz: f662f2218181f3e7c48e2f7cc70eda3aff845019
4
+ data.tar.gz: 6c50b6d71a779e79604a602413b5d98eecc756e3
5
5
  SHA512:
6
- metadata.gz: 82fd6186bb5fdbc6c2158ba5020421cfbe45648c2e7cdf7d5f4f5a1fe43ee20ee2757c9be82c8621435abfd2b4f88805da02016b469c87e3bfeb3f2e9e50dd7f
7
- data.tar.gz: 63898ab252d0d98122f6af23fdf233ae90c077f85cc61470e5a8538c2d9d14e4d1a1d3305397c8440a8040f2b30fded37d056a5892c8092779d7ea220fbe7b77
6
+ metadata.gz: 0d1f17c00f4f8f3ad366942b646a7a940435bd4c540f38b7f516116331f62d08f87aaabc35d3cb39ed584c0ee6f2faeee645e57147d2bd4e275e40889ad5983a
7
+ data.tar.gz: d6ef4e28623516e501ec3d87d7d9406911d38c8505ed0849f72925be9c80fb830dd91a1dbb134bfe5dd07d2b53ac96a33c27c51e97d947384d82c49e211be15c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.775
1
+ 3.0.777
@@ -130,7 +130,24 @@ module TencentCloud
130
130
  # basic_1k,
131
131
  # basic_2k,
132
132
  # basic_4k,
133
- # basic_6k
133
+ # basic_6k,
134
+ # pro_4k,
135
+ # pro_6k,
136
+ # pro_1w,
137
+ # pro_2w,
138
+ # pro_3w,
139
+ # pro_4w,
140
+ # pro_5w,
141
+ # platinum_6k,
142
+ # platinum_1w,
143
+ # platinum_2w,
144
+ # platinum_4w,
145
+ # platinum_10w,
146
+ # platinum_15w,
147
+ # platinum_20w,
148
+ # platinum_40w,
149
+ # platinum_60w,
150
+ # platinum_100w
134
151
  # @type SkuCode: String
135
152
  # @param Remark: 备注信息
136
153
  # @type Remark: String
@@ -140,16 +157,24 @@ module TencentCloud
140
157
  # @type VpcList: Array
141
158
  # @param EnablePublic: 是否开启公网
142
159
  # @type EnablePublic: Boolean
143
- # @param Bandwidth: 公网带宽
160
+ # @param Bandwidth: 公网带宽(单位:兆)
144
161
  # @type Bandwidth: Integer
145
162
  # @param IpRules: 公网访问白名单
146
163
  # @type IpRules: Array
147
- # @param MessageRetention: 消息保留时长,小时为单位
164
+ # @param MessageRetention: 消息保留时长(单位:小时)
148
165
  # @type MessageRetention: Integer
166
+ # @param PayMode: 付费模式(0: 后付费;1: 预付费)
167
+ # @type PayMode: Integer
168
+ # @param RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费)
169
+ # @type RenewFlag: Integer
170
+ # @param TimeSpan: 购买时长(单位:月)
171
+ # @type TimeSpan: Integer
172
+ # @param MaxTopicNum: 最大可创建主题数
173
+ # @type MaxTopicNum: Integer
149
174
 
150
- attr_accessor :InstanceType, :Name, :SkuCode, :Remark, :TagList, :VpcList, :EnablePublic, :Bandwidth, :IpRules, :MessageRetention
175
+ attr_accessor :InstanceType, :Name, :SkuCode, :Remark, :TagList, :VpcList, :EnablePublic, :Bandwidth, :IpRules, :MessageRetention, :PayMode, :RenewFlag, :TimeSpan, :MaxTopicNum
151
176
 
152
- def initialize(instancetype=nil, name=nil, skucode=nil, remark=nil, taglist=nil, vpclist=nil, enablepublic=nil, bandwidth=nil, iprules=nil, messageretention=nil)
177
+ def initialize(instancetype=nil, name=nil, skucode=nil, remark=nil, taglist=nil, vpclist=nil, enablepublic=nil, bandwidth=nil, iprules=nil, messageretention=nil, paymode=nil, renewflag=nil, timespan=nil, maxtopicnum=nil)
153
178
  @InstanceType = instancetype
154
179
  @Name = name
155
180
  @SkuCode = skucode
@@ -160,6 +185,10 @@ module TencentCloud
160
185
  @Bandwidth = bandwidth
161
186
  @IpRules = iprules
162
187
  @MessageRetention = messageretention
188
+ @PayMode = paymode
189
+ @RenewFlag = renewflag
190
+ @TimeSpan = timespan
191
+ @MaxTopicNum = maxtopicnum
163
192
  end
164
193
 
165
194
  def deserialize(params)
@@ -194,6 +223,10 @@ module TencentCloud
194
223
  end
195
224
  end
196
225
  @MessageRetention = params['MessageRetention']
226
+ @PayMode = params['PayMode']
227
+ @RenewFlag = params['RenewFlag']
228
+ @TimeSpan = params['TimeSpan']
229
+ @MaxTopicNum = params['MaxTopicNum']
197
230
  end
198
231
  end
199
232
 
@@ -556,15 +589,18 @@ module TencentCloud
556
589
  # @type QueueNum: Integer
557
590
  # @param Remark: 备注
558
591
  # @type Remark: String
592
+ # @param MsgTTL: 消息保留时长
593
+ # @type MsgTTL: Integer
559
594
 
560
- attr_accessor :InstanceId, :Topic, :TopicType, :QueueNum, :Remark
595
+ attr_accessor :InstanceId, :Topic, :TopicType, :QueueNum, :Remark, :MsgTTL
561
596
 
562
- def initialize(instanceid=nil, topic=nil, topictype=nil, queuenum=nil, remark=nil)
597
+ def initialize(instanceid=nil, topic=nil, topictype=nil, queuenum=nil, remark=nil, msgttl=nil)
563
598
  @InstanceId = instanceid
564
599
  @Topic = topic
565
600
  @TopicType = topictype
566
601
  @QueueNum = queuenum
567
602
  @Remark = remark
603
+ @MsgTTL = msgttl
568
604
  end
569
605
 
570
606
  def deserialize(params)
@@ -573,6 +609,7 @@ module TencentCloud
573
609
  @TopicType = params['TopicType']
574
610
  @QueueNum = params['QueueNum']
575
611
  @Remark = params['Remark']
612
+ @MsgTTL = params['MsgTTL']
576
613
  end
577
614
  end
578
615
 
@@ -2119,26 +2156,24 @@ module TencentCloud
2119
2156
  class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
2120
2157
  # @param InstanceId: 实例ID
2121
2158
  # @type InstanceId: String
2159
+ # @param Filters: 查询条件列表
2160
+ # @type Filters: Array
2122
2161
  # @param Offset: 查询起始位置
2123
2162
  # @type Offset: Integer
2124
2163
  # @param Limit: 查询结果限制数量
2125
2164
  # @type Limit: Integer
2126
- # @param Filters: 查询条件列表
2127
- # @type Filters: Array
2128
2165
 
2129
- attr_accessor :InstanceId, :Offset, :Limit, :Filters
2166
+ attr_accessor :InstanceId, :Filters, :Offset, :Limit
2130
2167
 
2131
- def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
2168
+ def initialize(instanceid=nil, filters=nil, offset=nil, limit=nil)
2132
2169
  @InstanceId = instanceid
2170
+ @Filters = filters
2133
2171
  @Offset = offset
2134
2172
  @Limit = limit
2135
- @Filters = filters
2136
2173
  end
2137
2174
 
2138
2175
  def deserialize(params)
2139
2176
  @InstanceId = params['InstanceId']
2140
- @Offset = params['Offset']
2141
- @Limit = params['Limit']
2142
2177
  unless params['Filters'].nil?
2143
2178
  @Filters = []
2144
2179
  params['Filters'].each do |i|
@@ -2147,6 +2182,8 @@ module TencentCloud
2147
2182
  @Filters << filter_tmp
2148
2183
  end
2149
2184
  end
2185
+ @Offset = params['Offset']
2186
+ @Limit = params['Limit']
2150
2187
  end
2151
2188
  end
2152
2189
 
@@ -2188,28 +2225,26 @@ module TencentCloud
2188
2225
  # @type InstanceId: String
2189
2226
  # @param Topic: 主题
2190
2227
  # @type Topic: String
2228
+ # @param Filters: 查询条件列表
2229
+ # @type Filters: Array
2191
2230
  # @param Offset: 查询起始位置
2192
2231
  # @type Offset: Integer
2193
2232
  # @param Limit: 查询结果限制数量
2194
2233
  # @type Limit: Integer
2195
- # @param Filters: 查询条件列表
2196
- # @type Filters: Array
2197
2234
 
2198
- attr_accessor :InstanceId, :Topic, :Offset, :Limit, :Filters
2235
+ attr_accessor :InstanceId, :Topic, :Filters, :Offset, :Limit
2199
2236
 
2200
- def initialize(instanceid=nil, topic=nil, offset=nil, limit=nil, filters=nil)
2237
+ def initialize(instanceid=nil, topic=nil, filters=nil, offset=nil, limit=nil)
2201
2238
  @InstanceId = instanceid
2202
2239
  @Topic = topic
2240
+ @Filters = filters
2203
2241
  @Offset = offset
2204
2242
  @Limit = limit
2205
- @Filters = filters
2206
2243
  end
2207
2244
 
2208
2245
  def deserialize(params)
2209
2246
  @InstanceId = params['InstanceId']
2210
2247
  @Topic = params['Topic']
2211
- @Offset = params['Offset']
2212
- @Limit = params['Limit']
2213
2248
  unless params['Filters'].nil?
2214
2249
  @Filters = []
2215
2250
  params['Filters'].each do |i|
@@ -2218,6 +2253,8 @@ module TencentCloud
2218
2253
  @Filters << filter_tmp
2219
2254
  end
2220
2255
  end
2256
+ @Offset = params['Offset']
2257
+ @Limit = params['Limit']
2221
2258
  end
2222
2259
  end
2223
2260
 
@@ -2244,12 +2281,14 @@ module TencentCloud
2244
2281
  # @type SubscriptionCount: Integer
2245
2282
  # @param SubscriptionData: 订阅关系列表
2246
2283
  # @type SubscriptionData: Array
2284
+ # @param MsgTTL: 消息保留时长
2285
+ # @type MsgTTL: Integer
2247
2286
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2248
2287
  # @type RequestId: String
2249
2288
 
2250
- attr_accessor :InstanceId, :Topic, :TopicType, :Remark, :CreatedTime, :LastUpdateTime, :SubscriptionCount, :SubscriptionData, :RequestId
2289
+ attr_accessor :InstanceId, :Topic, :TopicType, :Remark, :CreatedTime, :LastUpdateTime, :SubscriptionCount, :SubscriptionData, :MsgTTL, :RequestId
2251
2290
 
2252
- def initialize(instanceid=nil, topic=nil, topictype=nil, remark=nil, createdtime=nil, lastupdatetime=nil, subscriptioncount=nil, subscriptiondata=nil, requestid=nil)
2291
+ def initialize(instanceid=nil, topic=nil, topictype=nil, remark=nil, createdtime=nil, lastupdatetime=nil, subscriptioncount=nil, subscriptiondata=nil, msgttl=nil, requestid=nil)
2253
2292
  @InstanceId = instanceid
2254
2293
  @Topic = topic
2255
2294
  @TopicType = topictype
@@ -2258,6 +2297,7 @@ module TencentCloud
2258
2297
  @LastUpdateTime = lastupdatetime
2259
2298
  @SubscriptionCount = subscriptioncount
2260
2299
  @SubscriptionData = subscriptiondata
2300
+ @MsgTTL = msgttl
2261
2301
  @RequestId = requestid
2262
2302
  end
2263
2303
 
@@ -2277,6 +2317,7 @@ module TencentCloud
2277
2317
  @SubscriptionData << subscriptiondata_tmp
2278
2318
  end
2279
2319
  end
2320
+ @MsgTTL = params['MsgTTL']
2280
2321
  @RequestId = params['RequestId']
2281
2322
  end
2282
2323
  end
@@ -3021,10 +3062,12 @@ module TencentCloud
3021
3062
  # @type MessageRetention: Integer
3022
3063
  # @param ScaledTpsEnabled: 是否开启弹性TPS
3023
3064
  # @type ScaledTpsEnabled: Boolean
3065
+ # @param MaxTopicNum: 最大可创建主题数
3066
+ # @type MaxTopicNum: Integer
3024
3067
 
3025
- attr_accessor :InstanceId, :Name, :Remark, :SendReceiveRatio, :SkuCode, :MessageRetention, :ScaledTpsEnabled
3068
+ attr_accessor :InstanceId, :Name, :Remark, :SendReceiveRatio, :SkuCode, :MessageRetention, :ScaledTpsEnabled, :MaxTopicNum
3026
3069
 
3027
- def initialize(instanceid=nil, name=nil, remark=nil, sendreceiveratio=nil, skucode=nil, messageretention=nil, scaledtpsenabled=nil)
3070
+ def initialize(instanceid=nil, name=nil, remark=nil, sendreceiveratio=nil, skucode=nil, messageretention=nil, scaledtpsenabled=nil, maxtopicnum=nil)
3028
3071
  @InstanceId = instanceid
3029
3072
  @Name = name
3030
3073
  @Remark = remark
@@ -3032,6 +3075,7 @@ module TencentCloud
3032
3075
  @SkuCode = skucode
3033
3076
  @MessageRetention = messageretention
3034
3077
  @ScaledTpsEnabled = scaledtpsenabled
3078
+ @MaxTopicNum = maxtopicnum
3035
3079
  end
3036
3080
 
3037
3081
  def deserialize(params)
@@ -3042,6 +3086,7 @@ module TencentCloud
3042
3086
  @SkuCode = params['SkuCode']
3043
3087
  @MessageRetention = params['MessageRetention']
3044
3088
  @ScaledTpsEnabled = params['ScaledTpsEnabled']
3089
+ @MaxTopicNum = params['MaxTopicNum']
3045
3090
  end
3046
3091
  end
3047
3092
 
@@ -3588,10 +3633,15 @@ module TencentCloud
3588
3633
  # @param ConsumeMessageOrderly: 是否顺序消费
3589
3634
  # 注意:此字段可能返回 null,表示取不到有效值。
3590
3635
  # @type ConsumeMessageOrderly: Boolean
3636
+ # @param MessageModel: 消费模式:
3637
+ # BROADCASTING 广播模式;
3638
+ # CLUSTERING 集群模式;
3639
+ # 注意:此字段可能返回 null,表示取不到有效值。
3640
+ # @type MessageModel: String
3591
3641
 
3592
- attr_accessor :InstanceId, :Topic, :TopicType, :TopicQueueNum, :ConsumerGroup, :IsOnline, :ConsumeType, :SubString, :ExpressionType, :Consistency, :ConsumerLag, :LastUpdateTime, :MaxRetryTimes, :ConsumeMessageOrderly
3642
+ attr_accessor :InstanceId, :Topic, :TopicType, :TopicQueueNum, :ConsumerGroup, :IsOnline, :ConsumeType, :SubString, :ExpressionType, :Consistency, :ConsumerLag, :LastUpdateTime, :MaxRetryTimes, :ConsumeMessageOrderly, :MessageModel
3593
3643
 
3594
- def initialize(instanceid=nil, topic=nil, topictype=nil, topicqueuenum=nil, consumergroup=nil, isonline=nil, consumetype=nil, substring=nil, expressiontype=nil, consistency=nil, consumerlag=nil, lastupdatetime=nil, maxretrytimes=nil, consumemessageorderly=nil)
3644
+ def initialize(instanceid=nil, topic=nil, topictype=nil, topicqueuenum=nil, consumergroup=nil, isonline=nil, consumetype=nil, substring=nil, expressiontype=nil, consistency=nil, consumerlag=nil, lastupdatetime=nil, maxretrytimes=nil, consumemessageorderly=nil, messagemodel=nil)
3595
3645
  @InstanceId = instanceid
3596
3646
  @Topic = topic
3597
3647
  @TopicType = topictype
@@ -3606,6 +3656,7 @@ module TencentCloud
3606
3656
  @LastUpdateTime = lastupdatetime
3607
3657
  @MaxRetryTimes = maxretrytimes
3608
3658
  @ConsumeMessageOrderly = consumemessageorderly
3659
+ @MessageModel = messagemodel
3609
3660
  end
3610
3661
 
3611
3662
  def deserialize(params)
@@ -3623,6 +3674,7 @@ module TencentCloud
3623
3674
  @LastUpdateTime = params['LastUpdateTime']
3624
3675
  @MaxRetryTimes = params['MaxRetryTimes']
3625
3676
  @ConsumeMessageOrderly = params['ConsumeMessageOrderly']
3677
+ @MessageModel = params['MessageModel']
3626
3678
  end
3627
3679
  end
3628
3680
 
@@ -3681,15 +3733,35 @@ module TencentCloud
3681
3733
  # @param Remark: 描述
3682
3734
  # 注意:此字段可能返回 null,表示取不到有效值。
3683
3735
  # @type Remark: String
3736
+ # @param ClusterIdV4: 4.x的集群id
3737
+ # 注意:此字段可能返回 null,表示取不到有效值。
3738
+ # @type ClusterIdV4: String
3739
+ # @param NamespaceV4: 4.x的命名空间
3740
+ # 注意:此字段可能返回 null,表示取不到有效值。
3741
+ # @type NamespaceV4: String
3742
+ # @param TopicV4: 4.x的主题名称
3743
+ # 注意:此字段可能返回 null,表示取不到有效值。
3744
+ # @type TopicV4: String
3745
+ # @param FullNamespaceV4: 4.x的完整命名空间
3746
+ # 注意:此字段可能返回 null,表示取不到有效值。
3747
+ # @type FullNamespaceV4: String
3748
+ # @param MsgTTL: 消息保留时长
3749
+ # 注意:此字段可能返回 null,表示取不到有效值。
3750
+ # @type MsgTTL: Integer
3684
3751
 
3685
- attr_accessor :InstanceId, :Topic, :TopicType, :QueueNum, :Remark
3752
+ attr_accessor :InstanceId, :Topic, :TopicType, :QueueNum, :Remark, :ClusterIdV4, :NamespaceV4, :TopicV4, :FullNamespaceV4, :MsgTTL
3686
3753
 
3687
- def initialize(instanceid=nil, topic=nil, topictype=nil, queuenum=nil, remark=nil)
3754
+ def initialize(instanceid=nil, topic=nil, topictype=nil, queuenum=nil, remark=nil, clusteridv4=nil, namespacev4=nil, topicv4=nil, fullnamespacev4=nil, msgttl=nil)
3688
3755
  @InstanceId = instanceid
3689
3756
  @Topic = topic
3690
3757
  @TopicType = topictype
3691
3758
  @QueueNum = queuenum
3692
3759
  @Remark = remark
3760
+ @ClusterIdV4 = clusteridv4
3761
+ @NamespaceV4 = namespacev4
3762
+ @TopicV4 = topicv4
3763
+ @FullNamespaceV4 = fullnamespacev4
3764
+ @MsgTTL = msgttl
3693
3765
  end
3694
3766
 
3695
3767
  def deserialize(params)
@@ -3698,6 +3770,11 @@ module TencentCloud
3698
3770
  @TopicType = params['TopicType']
3699
3771
  @QueueNum = params['QueueNum']
3700
3772
  @Remark = params['Remark']
3773
+ @ClusterIdV4 = params['ClusterIdV4']
3774
+ @NamespaceV4 = params['NamespaceV4']
3775
+ @TopicV4 = params['TopicV4']
3776
+ @FullNamespaceV4 = params['FullNamespaceV4']
3777
+ @MsgTTL = params['MsgTTL']
3701
3778
  end
3702
3779
  end
3703
3780
 
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.775
4
+ version: 3.0.777
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-03-05 00:00:00.000000000 Z
11
+ date: 2024-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common