tencentcloud-sdk-cmq 1.0.268 → 1.0.269

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/v20190304/models.rb +157 -147
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e520b8ab7499c00a0f83de34167ceb51aa9720fa
4
- data.tar.gz: bfbce6abe4193f8f7c8888a3ac28ee3d461f6ed6
3
+ metadata.gz: 30252a293b695083fff5e8a10e7ca6a9a3c2a56d
4
+ data.tar.gz: 1fe052b13361b25c5ad9ba7c9d45b6cb8fd5e264
5
5
  SHA512:
6
- metadata.gz: 2a6abc248263e86fa7be4ccab9d51191c1a0232865c3304589c37a557da521fef354047ff9a68bcecad0c6df526d76499bc8a791701602568fa45eba3f66a93c
7
- data.tar.gz: 70e7af89549ea2f1487c0320971d798e3e3bfc208d5536dc9f870bfb07bf0a65e05d7f8131ff4a2158d05f8643b270132ab38bf26736ff09a63bdcb538a99c81
6
+ metadata.gz: ca7c9cc119d2ff162f88c3dd8de1d69a060b6e6c96116ffc1d3ef6b4405d4d2e0ef4bdb0c4d4e74ff0b5106729ad58784efd0156e73598aac08e93a230671bb7
7
+ data.tar.gz: 209b2f443aa4ff1357e39f9fe8a7533cdc059fe591032afa6ff7a8bfeb608bc2baaf5aadff7dd06ad8f788da58822261d740c70fb91426e7ccdd550acb748adb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.268
1
+ 1.0.269
@@ -293,44 +293,44 @@ module TencentCloud
293
293
  end
294
294
  end
295
295
 
296
- # DeadLetterPolicy
296
+ # 死信队列策略
297
297
  class DeadLetterPolicy < TencentCloud::Common::AbstractModel
298
- # @param DeadLetterQueueName: 死信队列名字。
299
- # 注意:此字段可能返回 null,表示取不到有效值。
300
- # @type DeadLetterQueueName: String
301
298
  # @param DeadLetterQueue: 死信队列。
302
299
  # 注意:此字段可能返回 null,表示取不到有效值。
303
300
  # @type DeadLetterQueue: String
304
- # @param Policy: 死信队列策略。
301
+ # @param DeadLetterQueueName: 死信队列名字。
305
302
  # 注意:此字段可能返回 null,表示取不到有效值。
306
- # @type Policy: Integer
303
+ # @type DeadLetterQueueName: String
307
304
  # @param MaxTimeToLive: 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。
308
305
  # 注意:此字段可能返回 null,表示取不到有效值。
309
306
  # @type MaxTimeToLive: Integer
307
+ # @param Policy: 死信队列策略。
308
+ # 注意:此字段可能返回 null,表示取不到有效值。
309
+ # @type Policy: Integer
310
310
  # @param MaxReceiveCount: 最大接收次数。
311
311
  # 注意:此字段可能返回 null,表示取不到有效值。
312
312
  # @type MaxReceiveCount: Integer
313
313
 
314
- attr_accessor :DeadLetterQueueName, :DeadLetterQueue, :Policy, :MaxTimeToLive, :MaxReceiveCount
314
+ attr_accessor :DeadLetterQueue, :DeadLetterQueueName, :MaxTimeToLive, :Policy, :MaxReceiveCount
315
315
 
316
- def initialize(deadletterqueuename=nil, deadletterqueue=nil, policy=nil, maxtimetolive=nil, maxreceivecount=nil)
317
- @DeadLetterQueueName = deadletterqueuename
316
+ def initialize(deadletterqueue=nil, deadletterqueuename=nil, maxtimetolive=nil, policy=nil, maxreceivecount=nil)
318
317
  @DeadLetterQueue = deadletterqueue
319
- @Policy = policy
318
+ @DeadLetterQueueName = deadletterqueuename
320
319
  @MaxTimeToLive = maxtimetolive
320
+ @Policy = policy
321
321
  @MaxReceiveCount = maxreceivecount
322
322
  end
323
323
 
324
324
  def deserialize(params)
325
- @DeadLetterQueueName = params['DeadLetterQueueName']
326
325
  @DeadLetterQueue = params['DeadLetterQueue']
327
- @Policy = params['Policy']
326
+ @DeadLetterQueueName = params['DeadLetterQueueName']
328
327
  @MaxTimeToLive = params['MaxTimeToLive']
328
+ @Policy = params['Policy']
329
329
  @MaxReceiveCount = params['MaxReceiveCount']
330
330
  end
331
331
  end
332
332
 
333
- # DeadLetterSource
333
+ # 死信源队列信息
334
334
  class DeadLetterSource < TencentCloud::Common::AbstractModel
335
335
  # @param QueueId: 消息队列ID。
336
336
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -931,128 +931,147 @@ module TencentCloud
931
931
  class QueueSet < TencentCloud::Common::AbstractModel
932
932
  # @param QueueId: 消息队列ID。
933
933
  # @type QueueId: String
934
+ # @param RewindSeconds: 回溯队列的消息回溯时间最大值,取值范围0 - 43200秒,0表示不开启消息回溯。
935
+ # 注意:此字段可能返回 null,表示取不到有效值。
936
+ # @type RewindSeconds: Integer
937
+ # @param CreateUin: 创建者Uin。
938
+ # 注意:此字段可能返回 null,表示取不到有效值。
939
+ # @type CreateUin: Integer
940
+ # @param LastModifyTime: 最后一次修改队列属性的时间。返回 Unix 时间戳,精确到秒。
941
+ # 注意:此字段可能返回 null,表示取不到有效值。
942
+ # @type LastModifyTime: Integer
943
+ # @param VisibilityTimeout: 消息可见性超时。取值范围1 - 43200秒(即12小时内),默认值30。
944
+ # 注意:此字段可能返回 null,表示取不到有效值。
945
+ # @type VisibilityTimeout: Integer
934
946
  # @param QueueName: 消息队列名字。
935
947
  # @type QueueName: String
936
- # @param Qps: 每秒钟生产消息条数的限制,消费消息的大小是该值的1.1倍。
948
+ # @param Trace: 消息轨迹。true表示开启,false表示不开启。
937
949
  # 注意:此字段可能返回 null,表示取不到有效值。
938
- # @type Qps: Integer
939
- # @param Bps: 带宽限制。
950
+ # @type Trace: Boolean
951
+ # @param Tags: 关联的标签。
940
952
  # 注意:此字段可能返回 null,表示取不到有效值。
941
- # @type Bps: Integer
953
+ # @type Tags: Array
954
+ # @param RewindMsgNum: 已调用 DelMsg 接口删除,但还在回溯保留时间内的消息数量。
955
+ # 注意:此字段可能返回 null,表示取不到有效值。
956
+ # @type RewindMsgNum: Integer
942
957
  # @param MaxDelaySeconds: 飞行消息最大保留时间。
943
958
  # 注意:此字段可能返回 null,表示取不到有效值。
944
959
  # @type MaxDelaySeconds: Integer
945
- # @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
946
- # 注意:此字段可能返回 null,表示取不到有效值。
947
- # @type MaxMsgHeapNum: Integer
948
- # @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围0 - 30秒,默认值0。
960
+ # @param TransactionPolicy: 事务消息策略。
949
961
  # 注意:此字段可能返回 null,表示取不到有效值。
950
- # @type PollingWaitSeconds: Integer
962
+ # @type TransactionPolicy: :class:`Tencentcloud::Cmq.v20190304.models.TransactionPolicy`
951
963
  # @param MsgRetentionSeconds: 消息保留周期。取值范围60-1296000秒(1min-15天),默认值345600秒(4 天)。
952
964
  # 注意:此字段可能返回 null,表示取不到有效值。
953
965
  # @type MsgRetentionSeconds: Integer
954
- # @param VisibilityTimeout: 消息可见性超时。取值范围1 - 43200秒(即12小时内),默认值30。
955
- # 注意:此字段可能返回 null,表示取不到有效值。
956
- # @type VisibilityTimeout: Integer
957
- # @param MaxMsgSize: 消息最大长度。取值范围1024 - 1048576 Byte(即1K - 1024K),默认值65536。
958
- # 注意:此字段可能返回 null,表示取不到有效值。
959
- # @type MaxMsgSize: Integer
960
- # @param RewindSeconds: 回溯队列的消息回溯时间最大值,取值范围0 - 43200秒,0表示不开启消息回溯。
966
+ # @param DelayMsgNum: 延迟消息数。
961
967
  # 注意:此字段可能返回 null,表示取不到有效值。
962
- # @type RewindSeconds: Integer
963
- # @param CreateTime: 队列的创建时间。返回 Unix 时间戳,精确到秒。
968
+ # @type DelayMsgNum: Integer
969
+ # @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
964
970
  # 注意:此字段可能返回 null,表示取不到有效值。
965
- # @type CreateTime: Integer
966
- # @param LastModifyTime: 最后一次修改队列属性的时间。返回 Unix 时间戳,精确到秒。
971
+ # @type MaxMsgHeapNum: Integer
972
+ # @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围0 - 30秒,默认值0。
967
973
  # 注意:此字段可能返回 null,表示取不到有效值。
968
- # @type LastModifyTime: Integer
969
- # @param ActiveMsgNum: 在队列中处于 Active 状态(不处于被消费状态)的消息总数,为近似值。
974
+ # @type PollingWaitSeconds: Integer
975
+ # @param Bps: 带宽限制。
970
976
  # 注意:此字段可能返回 null,表示取不到有效值。
971
- # @type ActiveMsgNum: Integer
977
+ # @type Bps: Integer
972
978
  # @param InactiveMsgNum: 在队列中处于 Inactive 状态(正处于被消费状态)的消息总数,为近似值。
973
979
  # 注意:此字段可能返回 null,表示取不到有效值。
974
980
  # @type InactiveMsgNum: Integer
975
- # @param DelayMsgNum: 延迟消息数。
981
+ # @param DeadLetterPolicy: 死信队列策略。
976
982
  # 注意:此字段可能返回 null,表示取不到有效值。
977
- # @type DelayMsgNum: Integer
978
- # @param RewindMsgNum: 已调用 DelMsg 接口删除,但还在回溯保留时间内的消息数量。
983
+ # @type DeadLetterPolicy: :class:`Tencentcloud::Cmq.v20190304.models.DeadLetterPolicy`
984
+ # @param ActiveMsgNum: 在队列中处于 Active 状态(不处于被消费状态)的消息总数,为近似值。
979
985
  # 注意:此字段可能返回 null,表示取不到有效值。
980
- # @type RewindMsgNum: Integer
986
+ # @type ActiveMsgNum: Integer
987
+ # @param MaxMsgSize: 消息最大长度。取值范围1024 - 1048576 Byte(即1K - 1024K),默认值65536。
988
+ # 注意:此字段可能返回 null,表示取不到有效值。
989
+ # @type MaxMsgSize: Integer
981
990
  # @param MinMsgTime: 消息最小未消费时间,单位为秒。
982
991
  # 注意:此字段可能返回 null,表示取不到有效值。
983
992
  # @type MinMsgTime: Integer
984
- # @param Transaction: 事务消息队列。true表示是事务消息,false表示不是事务消息。
985
- # 注意:此字段可能返回 null,表示取不到有效值。
986
- # @type Transaction: Boolean
987
993
  # @param DeadLetterSource: 死信队列。
988
994
  # 注意:此字段可能返回 null,表示取不到有效值。
989
995
  # @type DeadLetterSource: Array
990
- # @param DeadLetterPolicy: 死信队列策略。
991
- # 注意:此字段可能返回 null,表示取不到有效值。
992
- # @type DeadLetterPolicy: :class:`Tencentcloud::Cmq.v20190304.models.DeadLetterPolicy`
993
- # @param TransactionPolicy: 事务消息策略。
996
+ # @param Transaction: 事务消息队列。true表示是事务消息,false表示不是事务消息。
994
997
  # 注意:此字段可能返回 null,表示取不到有效值。
995
- # @type TransactionPolicy: :class:`Tencentcloud::Cmq.v20190304.models.TransactionPolicy`
996
- # @param CreateUin: 创建者Uin。
998
+ # @type Transaction: Boolean
999
+ # @param Qps: 每秒钟生产消息条数的限制,消费消息的大小是该值的1.1倍。
997
1000
  # 注意:此字段可能返回 null,表示取不到有效值。
998
- # @type CreateUin: Integer
999
- # @param Tags: 关联的标签。
1001
+ # @type Qps: Integer
1002
+ # @param CreateTime: 队列的创建时间。返回 Unix 时间戳,精确到秒。
1000
1003
  # 注意:此字段可能返回 null,表示取不到有效值。
1001
- # @type Tags: Array
1002
- # @param Trace: 消息轨迹。true表示开启,false表示不开启。
1004
+ # @type CreateTime: Integer
1005
+ # @param Migrate: 是否迁移到新版本。0 表示仅同步元数据,1 表示迁移中,2 表示已经迁移完毕,3 表示回切状态,曾经迁移过,4 未迁移。
1003
1006
  # 注意:此字段可能返回 null,表示取不到有效值。
1004
- # @type Trace: Boolean
1007
+ # @type Migrate: Integer
1005
1008
 
1006
- attr_accessor :QueueId, :QueueName, :Qps, :Bps, :MaxDelaySeconds, :MaxMsgHeapNum, :PollingWaitSeconds, :MsgRetentionSeconds, :VisibilityTimeout, :MaxMsgSize, :RewindSeconds, :CreateTime, :LastModifyTime, :ActiveMsgNum, :InactiveMsgNum, :DelayMsgNum, :RewindMsgNum, :MinMsgTime, :Transaction, :DeadLetterSource, :DeadLetterPolicy, :TransactionPolicy, :CreateUin, :Tags, :Trace
1009
+ attr_accessor :QueueId, :RewindSeconds, :CreateUin, :LastModifyTime, :VisibilityTimeout, :QueueName, :Trace, :Tags, :RewindMsgNum, :MaxDelaySeconds, :TransactionPolicy, :MsgRetentionSeconds, :DelayMsgNum, :MaxMsgHeapNum, :PollingWaitSeconds, :Bps, :InactiveMsgNum, :DeadLetterPolicy, :ActiveMsgNum, :MaxMsgSize, :MinMsgTime, :DeadLetterSource, :Transaction, :Qps, :CreateTime, :Migrate
1007
1010
 
1008
- def initialize(queueid=nil, queuename=nil, qps=nil, bps=nil, maxdelayseconds=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, msgretentionseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, rewindseconds=nil, createtime=nil, lastmodifytime=nil, activemsgnum=nil, inactivemsgnum=nil, delaymsgnum=nil, rewindmsgnum=nil, minmsgtime=nil, transaction=nil, deadlettersource=nil, deadletterpolicy=nil, transactionpolicy=nil, createuin=nil, tags=nil, trace=nil)
1011
+ def initialize(queueid=nil, rewindseconds=nil, createuin=nil, lastmodifytime=nil, visibilitytimeout=nil, queuename=nil, trace=nil, tags=nil, rewindmsgnum=nil, maxdelayseconds=nil, transactionpolicy=nil, msgretentionseconds=nil, delaymsgnum=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, bps=nil, inactivemsgnum=nil, deadletterpolicy=nil, activemsgnum=nil, maxmsgsize=nil, minmsgtime=nil, deadlettersource=nil, transaction=nil, qps=nil, createtime=nil, migrate=nil)
1009
1012
  @QueueId = queueid
1013
+ @RewindSeconds = rewindseconds
1014
+ @CreateUin = createuin
1015
+ @LastModifyTime = lastmodifytime
1016
+ @VisibilityTimeout = visibilitytimeout
1010
1017
  @QueueName = queuename
1011
- @Qps = qps
1012
- @Bps = bps
1018
+ @Trace = trace
1019
+ @Tags = tags
1020
+ @RewindMsgNum = rewindmsgnum
1013
1021
  @MaxDelaySeconds = maxdelayseconds
1022
+ @TransactionPolicy = transactionpolicy
1023
+ @MsgRetentionSeconds = msgretentionseconds
1024
+ @DelayMsgNum = delaymsgnum
1014
1025
  @MaxMsgHeapNum = maxmsgheapnum
1015
1026
  @PollingWaitSeconds = pollingwaitseconds
1016
- @MsgRetentionSeconds = msgretentionseconds
1017
- @VisibilityTimeout = visibilitytimeout
1018
- @MaxMsgSize = maxmsgsize
1019
- @RewindSeconds = rewindseconds
1020
- @CreateTime = createtime
1021
- @LastModifyTime = lastmodifytime
1022
- @ActiveMsgNum = activemsgnum
1027
+ @Bps = bps
1023
1028
  @InactiveMsgNum = inactivemsgnum
1024
- @DelayMsgNum = delaymsgnum
1025
- @RewindMsgNum = rewindmsgnum
1029
+ @DeadLetterPolicy = deadletterpolicy
1030
+ @ActiveMsgNum = activemsgnum
1031
+ @MaxMsgSize = maxmsgsize
1026
1032
  @MinMsgTime = minmsgtime
1027
- @Transaction = transaction
1028
1033
  @DeadLetterSource = deadlettersource
1029
- @DeadLetterPolicy = deadletterpolicy
1030
- @TransactionPolicy = transactionpolicy
1031
- @CreateUin = createuin
1032
- @Tags = tags
1033
- @Trace = trace
1034
+ @Transaction = transaction
1035
+ @Qps = qps
1036
+ @CreateTime = createtime
1037
+ @Migrate = migrate
1034
1038
  end
1035
1039
 
1036
1040
  def deserialize(params)
1037
1041
  @QueueId = params['QueueId']
1042
+ @RewindSeconds = params['RewindSeconds']
1043
+ @CreateUin = params['CreateUin']
1044
+ @LastModifyTime = params['LastModifyTime']
1045
+ @VisibilityTimeout = params['VisibilityTimeout']
1038
1046
  @QueueName = params['QueueName']
1039
- @Qps = params['Qps']
1040
- @Bps = params['Bps']
1047
+ @Trace = params['Trace']
1048
+ unless params['Tags'].nil?
1049
+ @Tags = []
1050
+ params['Tags'].each do |i|
1051
+ tag_tmp = Tag.new
1052
+ tag_tmp.deserialize(i)
1053
+ @Tags << tag_tmp
1054
+ end
1055
+ end
1056
+ @RewindMsgNum = params['RewindMsgNum']
1041
1057
  @MaxDelaySeconds = params['MaxDelaySeconds']
1058
+ unless params['TransactionPolicy'].nil?
1059
+ @TransactionPolicy = TransactionPolicy.new
1060
+ @TransactionPolicy.deserialize(params['TransactionPolicy'])
1061
+ end
1062
+ @MsgRetentionSeconds = params['MsgRetentionSeconds']
1063
+ @DelayMsgNum = params['DelayMsgNum']
1042
1064
  @MaxMsgHeapNum = params['MaxMsgHeapNum']
1043
1065
  @PollingWaitSeconds = params['PollingWaitSeconds']
1044
- @MsgRetentionSeconds = params['MsgRetentionSeconds']
1045
- @VisibilityTimeout = params['VisibilityTimeout']
1046
- @MaxMsgSize = params['MaxMsgSize']
1047
- @RewindSeconds = params['RewindSeconds']
1048
- @CreateTime = params['CreateTime']
1049
- @LastModifyTime = params['LastModifyTime']
1050
- @ActiveMsgNum = params['ActiveMsgNum']
1066
+ @Bps = params['Bps']
1051
1067
  @InactiveMsgNum = params['InactiveMsgNum']
1052
- @DelayMsgNum = params['DelayMsgNum']
1053
- @RewindMsgNum = params['RewindMsgNum']
1068
+ unless params['DeadLetterPolicy'].nil?
1069
+ @DeadLetterPolicy = DeadLetterPolicy.new
1070
+ @DeadLetterPolicy.deserialize(params['DeadLetterPolicy'])
1071
+ end
1072
+ @ActiveMsgNum = params['ActiveMsgNum']
1073
+ @MaxMsgSize = params['MaxMsgSize']
1054
1074
  @MinMsgTime = params['MinMsgTime']
1055
- @Transaction = params['Transaction']
1056
1075
  unless params['DeadLetterSource'].nil?
1057
1076
  @DeadLetterSource = []
1058
1077
  params['DeadLetterSource'].each do |i|
@@ -1061,24 +1080,10 @@ module TencentCloud
1061
1080
  @DeadLetterSource << deadlettersource_tmp
1062
1081
  end
1063
1082
  end
1064
- unless params['DeadLetterPolicy'].nil?
1065
- @DeadLetterPolicy = DeadLetterPolicy.new
1066
- @DeadLetterPolicy.deserialize(params['DeadLetterPolicy'])
1067
- end
1068
- unless params['TransactionPolicy'].nil?
1069
- @TransactionPolicy = TransactionPolicy.new
1070
- @TransactionPolicy.deserialize(params['TransactionPolicy'])
1071
- end
1072
- @CreateUin = params['CreateUin']
1073
- unless params['Tags'].nil?
1074
- @Tags = []
1075
- params['Tags'].each do |i|
1076
- tag_tmp = Tag.new
1077
- tag_tmp.deserialize(i)
1078
- @Tags << tag_tmp
1079
- end
1080
- end
1081
- @Trace = params['Trace']
1083
+ @Transaction = params['Transaction']
1084
+ @Qps = params['Qps']
1085
+ @CreateTime = params['CreateTime']
1086
+ @Migrate = params['Migrate']
1082
1087
  end
1083
1088
  end
1084
1089
 
@@ -1218,73 +1223,71 @@ module TencentCloud
1218
1223
 
1219
1224
  # topic返回信息展示字段
1220
1225
  class TopicSet < TencentCloud::Common::AbstractModel
1226
+ # @param MsgCount: 当前该主题中消息数目(消息堆积数)。
1227
+ # 注意:此字段可能返回 null,表示取不到有效值。
1228
+ # @type MsgCount: Integer
1221
1229
  # @param TopicId: 主题的 ID。
1222
1230
  # 注意:此字段可能返回 null,表示取不到有效值。
1223
1231
  # @type TopicId: String
1224
- # @param TopicName: 主题名称。
1225
- # 注意:此字段可能返回 null,表示取不到有效值。
1226
- # @type TopicName: String
1227
- # @param MsgRetentionSeconds: 消息在主题中最长存活时间,从发送到该主题开始经过此参数指定的时间后,不论消息是否被成功推送给用户都将被删除,单位为秒。固定为一天(86400秒),该属性不能修改。
1228
- # 注意:此字段可能返回 null,表示取不到有效值。
1229
- # @type MsgRetentionSeconds: Integer
1230
1232
  # @param MaxMsgSize: 消息最大长度。取值范围1024 - 1048576Byte(即1 - 1024K),默认值为65536。
1231
1233
  # 注意:此字段可能返回 null,表示取不到有效值。
1232
1234
  # @type MaxMsgSize: Integer
1233
- # @param Qps: 每秒钟发布消息的条数。
1235
+ # @param Trace: 消息轨迹。true表示开启,false表示不开启。
1234
1236
  # 注意:此字段可能返回 null,表示取不到有效值。
1235
- # @type Qps: Integer
1237
+ # @type Trace: Boolean
1238
+ # @param Tags: 关联的标签。
1239
+ # 注意:此字段可能返回 null,表示取不到有效值。
1240
+ # @type Tags: Array
1241
+ # @param CreateUin: 创建者 Uin,CAM 鉴权 resource 由该字段组合而成。
1242
+ # 注意:此字段可能返回 null,表示取不到有效值。
1243
+ # @type CreateUin: Integer
1236
1244
  # @param FilterType: 描述用户创建订阅时选择的过滤策略:
1237
1245
  # FilterType = 1表示用户使用 FilterTag 标签过滤;
1238
1246
  # FilterType = 2表示用户使用 BindingKey 过滤。
1239
1247
  # 注意:此字段可能返回 null,表示取不到有效值。
1240
1248
  # @type FilterType: Integer
1241
- # @param CreateTime: 主题的创建时间。返回 Unix 时间戳,精确到秒。
1249
+ # @param TopicName: 主题名称。
1242
1250
  # 注意:此字段可能返回 null,表示取不到有效值。
1243
- # @type CreateTime: Integer
1251
+ # @type TopicName: String
1244
1252
  # @param LastModifyTime: 最后一次修改主题属性的时间。返回 Unix 时间戳,精确到秒。
1245
1253
  # 注意:此字段可能返回 null,表示取不到有效值。
1246
1254
  # @type LastModifyTime: Integer
1247
- # @param MsgCount: 当前该主题中消息数目(消息堆积数)。
1255
+ # @param MsgRetentionSeconds: 消息在主题中最长存活时间,从发送到该主题开始经过此参数指定的时间后,不论消息是否被成功推送给用户都将被删除,单位为秒。固定为一天(86400秒),该属性不能修改。
1248
1256
  # 注意:此字段可能返回 null,表示取不到有效值。
1249
- # @type MsgCount: Integer
1250
- # @param CreateUin: 创建者 Uin,CAM 鉴权 resource 由该字段组合而成。
1257
+ # @type MsgRetentionSeconds: Integer
1258
+ # @param Qps: 每秒钟发布消息的条数。
1251
1259
  # 注意:此字段可能返回 null,表示取不到有效值。
1252
- # @type CreateUin: Integer
1253
- # @param Tags: 关联的标签。
1260
+ # @type Qps: Integer
1261
+ # @param CreateTime: 主题的创建时间。返回 Unix 时间戳,精确到秒。
1254
1262
  # 注意:此字段可能返回 null,表示取不到有效值。
1255
- # @type Tags: Array
1256
- # @param Trace: 消息轨迹。true表示开启,false表示不开启。
1263
+ # @type CreateTime: Integer
1264
+ # @param Migrate: 是否迁移到新版本。0 表示未迁移,1 表示迁移中,2 表示已经迁移完毕,3 表示回切状态,曾经迁移过,4 未知状态。
1257
1265
  # 注意:此字段可能返回 null,表示取不到有效值。
1258
- # @type Trace: Boolean
1266
+ # @type Migrate: Integer
1259
1267
 
1260
- attr_accessor :TopicId, :TopicName, :MsgRetentionSeconds, :MaxMsgSize, :Qps, :FilterType, :CreateTime, :LastModifyTime, :MsgCount, :CreateUin, :Tags, :Trace
1268
+ attr_accessor :MsgCount, :TopicId, :MaxMsgSize, :Trace, :Tags, :CreateUin, :FilterType, :TopicName, :LastModifyTime, :MsgRetentionSeconds, :Qps, :CreateTime, :Migrate
1261
1269
 
1262
- def initialize(topicid=nil, topicname=nil, msgretentionseconds=nil, maxmsgsize=nil, qps=nil, filtertype=nil, createtime=nil, lastmodifytime=nil, msgcount=nil, createuin=nil, tags=nil, trace=nil)
1270
+ def initialize(msgcount=nil, topicid=nil, maxmsgsize=nil, trace=nil, tags=nil, createuin=nil, filtertype=nil, topicname=nil, lastmodifytime=nil, msgretentionseconds=nil, qps=nil, createtime=nil, migrate=nil)
1271
+ @MsgCount = msgcount
1263
1272
  @TopicId = topicid
1273
+ @MaxMsgSize = maxmsgsize
1274
+ @Trace = trace
1275
+ @Tags = tags
1276
+ @CreateUin = createuin
1277
+ @FilterType = filtertype
1264
1278
  @TopicName = topicname
1279
+ @LastModifyTime = lastmodifytime
1265
1280
  @MsgRetentionSeconds = msgretentionseconds
1266
- @MaxMsgSize = maxmsgsize
1267
1281
  @Qps = qps
1268
- @FilterType = filtertype
1269
1282
  @CreateTime = createtime
1270
- @LastModifyTime = lastmodifytime
1271
- @MsgCount = msgcount
1272
- @CreateUin = createuin
1273
- @Tags = tags
1274
- @Trace = trace
1283
+ @Migrate = migrate
1275
1284
  end
1276
1285
 
1277
1286
  def deserialize(params)
1287
+ @MsgCount = params['MsgCount']
1278
1288
  @TopicId = params['TopicId']
1279
- @TopicName = params['TopicName']
1280
- @MsgRetentionSeconds = params['MsgRetentionSeconds']
1281
1289
  @MaxMsgSize = params['MaxMsgSize']
1282
- @Qps = params['Qps']
1283
- @FilterType = params['FilterType']
1284
- @CreateTime = params['CreateTime']
1285
- @LastModifyTime = params['LastModifyTime']
1286
- @MsgCount = params['MsgCount']
1287
- @CreateUin = params['CreateUin']
1290
+ @Trace = params['Trace']
1288
1291
  unless params['Tags'].nil?
1289
1292
  @Tags = []
1290
1293
  params['Tags'].each do |i|
@@ -1293,29 +1296,36 @@ module TencentCloud
1293
1296
  @Tags << tag_tmp
1294
1297
  end
1295
1298
  end
1296
- @Trace = params['Trace']
1299
+ @CreateUin = params['CreateUin']
1300
+ @FilterType = params['FilterType']
1301
+ @TopicName = params['TopicName']
1302
+ @LastModifyTime = params['LastModifyTime']
1303
+ @MsgRetentionSeconds = params['MsgRetentionSeconds']
1304
+ @Qps = params['Qps']
1305
+ @CreateTime = params['CreateTime']
1306
+ @Migrate = params['Migrate']
1297
1307
  end
1298
1308
  end
1299
1309
 
1300
- # TransactionPolicy
1310
+ # 事务消息策略
1301
1311
  class TransactionPolicy < TencentCloud::Common::AbstractModel
1302
- # @param FirstQueryInterval: 第一次回查时间。
1303
- # 注意:此字段可能返回 null,表示取不到有效值。
1304
- # @type FirstQueryInterval: Integer
1305
1312
  # @param MaxQueryCount: 最大查询次数。
1306
1313
  # 注意:此字段可能返回 null,表示取不到有效值。
1307
1314
  # @type MaxQueryCount: Integer
1315
+ # @param FirstQueryInterval: 第一次回查时间。
1316
+ # 注意:此字段可能返回 null,表示取不到有效值。
1317
+ # @type FirstQueryInterval: Integer
1308
1318
 
1309
- attr_accessor :FirstQueryInterval, :MaxQueryCount
1319
+ attr_accessor :MaxQueryCount, :FirstQueryInterval
1310
1320
 
1311
- def initialize(firstqueryinterval=nil, maxquerycount=nil)
1312
- @FirstQueryInterval = firstqueryinterval
1321
+ def initialize(maxquerycount=nil, firstqueryinterval=nil)
1313
1322
  @MaxQueryCount = maxquerycount
1323
+ @FirstQueryInterval = firstqueryinterval
1314
1324
  end
1315
1325
 
1316
1326
  def deserialize(params)
1317
- @FirstQueryInterval = params['FirstQueryInterval']
1318
1327
  @MaxQueryCount = params['MaxQueryCount']
1328
+ @FirstQueryInterval = params['FirstQueryInterval']
1319
1329
  end
1320
1330
  end
1321
1331
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.268
4
+ version: 1.0.269
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-03-02 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common