tencentcloud-sdk-tdmq 3.0.643 → 3.0.644
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/models.rb +63 -48
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fcecca2ebccb37766639bf5ca37fbd8bf6bf65d
|
4
|
+
data.tar.gz: 99d92ea4898a6dfe3a730bcea7d13185a91c6213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62c7f26e561f30bf3ff1d259047c1d33305adbf1ceaf8ebe5df5b814b0bea5aa564913dfb2bfe41ef59449e680ecd54730b985f10066a838bd5fb928d8779cff
|
7
|
+
data.tar.gz: 921a047a60cec3fc31320492c4ef0aa59b76697538e8fc00708f5a09dcbb494d696705529d58fd2b0bd8d882508f88299ca511c83bb405964638ce8cad2375f8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.644
|
data/lib/v20200217/models.rb
CHANGED
@@ -1897,24 +1897,24 @@ module TencentCloud
|
|
1897
1897
|
# @type SubscriptionName: String
|
1898
1898
|
# @param IsIdempotent: 是否幂等创建,若否不允许创建同名的订阅关系。
|
1899
1899
|
# @type IsIdempotent: Boolean
|
1900
|
-
# @param Remark: 备注,128个字符以内。
|
1901
|
-
# @type Remark: String
|
1902
1900
|
# @param ClusterId: Pulsar 集群的ID
|
1903
1901
|
# @type ClusterId: String
|
1902
|
+
# @param Remark: 备注,128个字符以内。
|
1903
|
+
# @type Remark: String
|
1904
1904
|
# @param AutoCreatePolicyTopic: 是否自动创建死信和重试主题,True 表示创建,False表示不创建,默认自动创建死信和重试主题。
|
1905
1905
|
# @type AutoCreatePolicyTopic: Boolean
|
1906
1906
|
# @param PostFixPattern: 指定死信和重试主题名称规范,LEGACY表示历史命名规则,COMMUNITY表示Pulsar社区命名规范
|
1907
1907
|
# @type PostFixPattern: String
|
1908
1908
|
|
1909
|
-
attr_accessor :EnvironmentId, :TopicName, :SubscriptionName, :IsIdempotent, :
|
1909
|
+
attr_accessor :EnvironmentId, :TopicName, :SubscriptionName, :IsIdempotent, :ClusterId, :Remark, :AutoCreatePolicyTopic, :PostFixPattern
|
1910
1910
|
|
1911
|
-
def initialize(environmentid=nil, topicname=nil, subscriptionname=nil, isidempotent=nil,
|
1911
|
+
def initialize(environmentid=nil, topicname=nil, subscriptionname=nil, isidempotent=nil, clusterid=nil, remark=nil, autocreatepolicytopic=nil, postfixpattern=nil)
|
1912
1912
|
@EnvironmentId = environmentid
|
1913
1913
|
@TopicName = topicname
|
1914
1914
|
@SubscriptionName = subscriptionname
|
1915
1915
|
@IsIdempotent = isidempotent
|
1916
|
-
@Remark = remark
|
1917
1916
|
@ClusterId = clusterid
|
1917
|
+
@Remark = remark
|
1918
1918
|
@AutoCreatePolicyTopic = autocreatepolicytopic
|
1919
1919
|
@PostFixPattern = postfixpattern
|
1920
1920
|
end
|
@@ -1924,8 +1924,8 @@ module TencentCloud
|
|
1924
1924
|
@TopicName = params['TopicName']
|
1925
1925
|
@SubscriptionName = params['SubscriptionName']
|
1926
1926
|
@IsIdempotent = params['IsIdempotent']
|
1927
|
-
@Remark = params['Remark']
|
1928
1927
|
@ClusterId = params['ClusterId']
|
1928
|
+
@Remark = params['Remark']
|
1929
1929
|
@AutoCreatePolicyTopic = params['AutoCreatePolicyTopic']
|
1930
1930
|
@PostFixPattern = params['PostFixPattern']
|
1931
1931
|
end
|
@@ -1959,6 +1959,8 @@ module TencentCloud
|
|
1959
1959
|
# @type TopicName: String
|
1960
1960
|
# @param Partitions: 入参为1,即是创建非分区topic,无分区;入参大于1,表示分区topic的分区数,最大不允许超过128。
|
1961
1961
|
# @type Partitions: Integer
|
1962
|
+
# @param ClusterId: Pulsar 集群的ID
|
1963
|
+
# @type ClusterId: String
|
1962
1964
|
# @param Remark: 备注,128字符以内。
|
1963
1965
|
# @type Remark: String
|
1964
1966
|
# @param TopicType: 该入参将逐步弃用,可切换至PulsarTopicType参数
|
@@ -1968,8 +1970,6 @@ module TencentCloud
|
|
1968
1970
|
# 3 :重试队列;
|
1969
1971
|
# 4 :死信队列。
|
1970
1972
|
# @type TopicType: Integer
|
1971
|
-
# @param ClusterId: Pulsar 集群的ID
|
1972
|
-
# @type ClusterId: String
|
1973
1973
|
# @param PulsarTopicType: Pulsar 主题类型
|
1974
1974
|
# 0: 非持久非分区
|
1975
1975
|
# 1: 非持久分区
|
@@ -1979,15 +1979,15 @@ module TencentCloud
|
|
1979
1979
|
# @param MsgTTL: 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
|
1980
1980
|
# @type MsgTTL: Integer
|
1981
1981
|
|
1982
|
-
attr_accessor :EnvironmentId, :TopicName, :Partitions, :
|
1982
|
+
attr_accessor :EnvironmentId, :TopicName, :Partitions, :ClusterId, :Remark, :TopicType, :PulsarTopicType, :MsgTTL
|
1983
1983
|
|
1984
|
-
def initialize(environmentid=nil, topicname=nil, partitions=nil,
|
1984
|
+
def initialize(environmentid=nil, topicname=nil, partitions=nil, clusterid=nil, remark=nil, topictype=nil, pulsartopictype=nil, msgttl=nil)
|
1985
1985
|
@EnvironmentId = environmentid
|
1986
1986
|
@TopicName = topicname
|
1987
1987
|
@Partitions = partitions
|
1988
|
+
@ClusterId = clusterid
|
1988
1989
|
@Remark = remark
|
1989
1990
|
@TopicType = topictype
|
1990
|
-
@ClusterId = clusterid
|
1991
1991
|
@PulsarTopicType = pulsartopictype
|
1992
1992
|
@MsgTTL = msgttl
|
1993
1993
|
end
|
@@ -1996,9 +1996,9 @@ module TencentCloud
|
|
1996
1996
|
@EnvironmentId = params['EnvironmentId']
|
1997
1997
|
@TopicName = params['TopicName']
|
1998
1998
|
@Partitions = params['Partitions']
|
1999
|
+
@ClusterId = params['ClusterId']
|
1999
2000
|
@Remark = params['Remark']
|
2000
2001
|
@TopicType = params['TopicType']
|
2001
|
-
@ClusterId = params['ClusterId']
|
2002
2002
|
@PulsarTopicType = params['PulsarTopicType']
|
2003
2003
|
@MsgTTL = params['MsgTTL']
|
2004
2004
|
end
|
@@ -3583,35 +3583,35 @@ module TencentCloud
|
|
3583
3583
|
|
3584
3584
|
# DescribeEnvironments请求参数结构体
|
3585
3585
|
class DescribeEnvironmentsRequest < TencentCloud::Common::AbstractModel
|
3586
|
+
# @param ClusterId: Pulsar 集群的ID
|
3587
|
+
# @type ClusterId: String
|
3586
3588
|
# @param EnvironmentId: 命名空间名称,模糊搜索。
|
3587
3589
|
# @type EnvironmentId: String
|
3588
3590
|
# @param Offset: 起始下标,不填默认为0。
|
3589
3591
|
# @type Offset: Integer
|
3590
3592
|
# @param Limit: 返回数量,不填则默认为10,最大值为20。
|
3591
3593
|
# @type Limit: Integer
|
3592
|
-
# @param ClusterId: Pulsar 集群的ID
|
3593
|
-
# @type ClusterId: String
|
3594
3594
|
# @param Filters: * EnvironmentId
|
3595
3595
|
# 按照名称空间进行过滤,精确查询。
|
3596
3596
|
# 类型:String
|
3597
3597
|
# 必选:否
|
3598
3598
|
# @type Filters: Array
|
3599
3599
|
|
3600
|
-
attr_accessor :EnvironmentId, :Offset, :Limit, :
|
3600
|
+
attr_accessor :ClusterId, :EnvironmentId, :Offset, :Limit, :Filters
|
3601
3601
|
|
3602
|
-
def initialize(
|
3602
|
+
def initialize(clusterid=nil, environmentid=nil, offset=nil, limit=nil, filters=nil)
|
3603
|
+
@ClusterId = clusterid
|
3603
3604
|
@EnvironmentId = environmentid
|
3604
3605
|
@Offset = offset
|
3605
3606
|
@Limit = limit
|
3606
|
-
@ClusterId = clusterid
|
3607
3607
|
@Filters = filters
|
3608
3608
|
end
|
3609
3609
|
|
3610
3610
|
def deserialize(params)
|
3611
|
+
@ClusterId = params['ClusterId']
|
3611
3612
|
@EnvironmentId = params['EnvironmentId']
|
3612
3613
|
@Offset = params['Offset']
|
3613
3614
|
@Limit = params['Limit']
|
3614
|
-
@ClusterId = params['ClusterId']
|
3615
3615
|
unless params['Filters'].nil?
|
3616
3616
|
@Filters = []
|
3617
3617
|
params['Filters'].each do |i|
|
@@ -5005,35 +5005,35 @@ module TencentCloud
|
|
5005
5005
|
|
5006
5006
|
# DescribeRoles请求参数结构体
|
5007
5007
|
class DescribeRolesRequest < TencentCloud::Common::AbstractModel
|
5008
|
+
# @param ClusterId: 必填字段,集群Id
|
5009
|
+
# @type ClusterId: String
|
5008
5010
|
# @param RoleName: 角色名称,模糊查询
|
5009
5011
|
# @type RoleName: String
|
5010
5012
|
# @param Offset: 起始下标,不填默认为0。
|
5011
5013
|
# @type Offset: Integer
|
5012
5014
|
# @param Limit: 返回数量,不填则默认为10,最大值为20。
|
5013
5015
|
# @type Limit: Integer
|
5014
|
-
# @param ClusterId: 必填字段,集群Id
|
5015
|
-
# @type ClusterId: String
|
5016
5016
|
# @param Filters: * RoleName
|
5017
5017
|
# 按照角色名进行过滤,精确查询。
|
5018
5018
|
# 类型:String
|
5019
5019
|
# 必选:否
|
5020
5020
|
# @type Filters: Array
|
5021
5021
|
|
5022
|
-
attr_accessor :RoleName, :Offset, :Limit, :
|
5022
|
+
attr_accessor :ClusterId, :RoleName, :Offset, :Limit, :Filters
|
5023
5023
|
|
5024
|
-
def initialize(
|
5024
|
+
def initialize(clusterid=nil, rolename=nil, offset=nil, limit=nil, filters=nil)
|
5025
|
+
@ClusterId = clusterid
|
5025
5026
|
@RoleName = rolename
|
5026
5027
|
@Offset = offset
|
5027
5028
|
@Limit = limit
|
5028
|
-
@ClusterId = clusterid
|
5029
5029
|
@Filters = filters
|
5030
5030
|
end
|
5031
5031
|
|
5032
5032
|
def deserialize(params)
|
5033
|
+
@ClusterId = params['ClusterId']
|
5033
5034
|
@RoleName = params['RoleName']
|
5034
5035
|
@Offset = params['Offset']
|
5035
5036
|
@Limit = params['Limit']
|
5036
|
-
@ClusterId = params['ClusterId']
|
5037
5037
|
unless params['Filters'].nil?
|
5038
5038
|
@Filters = []
|
5039
5039
|
params['Filters'].each do |i|
|
@@ -5082,6 +5082,8 @@ module TencentCloud
|
|
5082
5082
|
# @type EnvironmentId: String
|
5083
5083
|
# @param TopicName: 主题名称。
|
5084
5084
|
# @type TopicName: String
|
5085
|
+
# @param ClusterId: Pulsar 集群的ID
|
5086
|
+
# @type ClusterId: String
|
5085
5087
|
# @param Offset: 起始下标,不填默认为0。
|
5086
5088
|
# @type Offset: Integer
|
5087
5089
|
# @param Limit: 返回数量,不填则默认为10,最大值为20。
|
@@ -5090,24 +5092,23 @@ module TencentCloud
|
|
5090
5092
|
# @type SubscriptionName: String
|
5091
5093
|
# @param Filters: 数据过滤条件。
|
5092
5094
|
# @type Filters: Array
|
5093
|
-
# @param ClusterId: Pulsar 集群的ID
|
5094
|
-
# @type ClusterId: String
|
5095
5095
|
|
5096
|
-
attr_accessor :EnvironmentId, :TopicName, :Offset, :Limit, :SubscriptionName, :Filters
|
5096
|
+
attr_accessor :EnvironmentId, :TopicName, :ClusterId, :Offset, :Limit, :SubscriptionName, :Filters
|
5097
5097
|
|
5098
|
-
def initialize(environmentid=nil, topicname=nil, offset=nil, limit=nil, subscriptionname=nil, filters=nil
|
5098
|
+
def initialize(environmentid=nil, topicname=nil, clusterid=nil, offset=nil, limit=nil, subscriptionname=nil, filters=nil)
|
5099
5099
|
@EnvironmentId = environmentid
|
5100
5100
|
@TopicName = topicname
|
5101
|
+
@ClusterId = clusterid
|
5101
5102
|
@Offset = offset
|
5102
5103
|
@Limit = limit
|
5103
5104
|
@SubscriptionName = subscriptionname
|
5104
5105
|
@Filters = filters
|
5105
|
-
@ClusterId = clusterid
|
5106
5106
|
end
|
5107
5107
|
|
5108
5108
|
def deserialize(params)
|
5109
5109
|
@EnvironmentId = params['EnvironmentId']
|
5110
5110
|
@TopicName = params['TopicName']
|
5111
|
+
@ClusterId = params['ClusterId']
|
5111
5112
|
@Offset = params['Offset']
|
5112
5113
|
@Limit = params['Limit']
|
5113
5114
|
@SubscriptionName = params['SubscriptionName']
|
@@ -5119,7 +5120,6 @@ module TencentCloud
|
|
5119
5120
|
@Filters << filtersubscription_tmp
|
5120
5121
|
end
|
5121
5122
|
end
|
5122
|
-
@ClusterId = params['ClusterId']
|
5123
5123
|
end
|
5124
5124
|
end
|
5125
5125
|
|
@@ -5843,22 +5843,22 @@ module TencentCloud
|
|
5843
5843
|
# @type EnvironmentId: String
|
5844
5844
|
# @param MsgTTL: 未消费消息过期时间,单位:秒,范围60秒~15天。
|
5845
5845
|
# @type MsgTTL: Integer
|
5846
|
-
# @param Remark: 备注,字符串最长不超过128。
|
5847
|
-
# @type Remark: String
|
5848
5846
|
# @param ClusterId: 集群ID
|
5849
5847
|
# @type ClusterId: String
|
5848
|
+
# @param Remark: 备注,字符串最长不超过128。
|
5849
|
+
# @type Remark: String
|
5850
5850
|
# @param RetentionPolicy: 消息保留策略
|
5851
5851
|
# @type RetentionPolicy: :class:`Tencentcloud::Tdmq.v20200217.models.RetentionPolicy`
|
5852
5852
|
# @param AutoSubscriptionCreation: 是否开启自动创建订阅
|
5853
5853
|
# @type AutoSubscriptionCreation: Boolean
|
5854
5854
|
|
5855
|
-
attr_accessor :EnvironmentId, :MsgTTL, :
|
5855
|
+
attr_accessor :EnvironmentId, :MsgTTL, :ClusterId, :Remark, :RetentionPolicy, :AutoSubscriptionCreation
|
5856
5856
|
|
5857
|
-
def initialize(environmentid=nil, msgttl=nil,
|
5857
|
+
def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil)
|
5858
5858
|
@EnvironmentId = environmentid
|
5859
5859
|
@MsgTTL = msgttl
|
5860
|
-
@Remark = remark
|
5861
5860
|
@ClusterId = clusterid
|
5861
|
+
@Remark = remark
|
5862
5862
|
@RetentionPolicy = retentionpolicy
|
5863
5863
|
@AutoSubscriptionCreation = autosubscriptioncreation
|
5864
5864
|
end
|
@@ -5866,8 +5866,8 @@ module TencentCloud
|
|
5866
5866
|
def deserialize(params)
|
5867
5867
|
@EnvironmentId = params['EnvironmentId']
|
5868
5868
|
@MsgTTL = params['MsgTTL']
|
5869
|
-
@Remark = params['Remark']
|
5870
5869
|
@ClusterId = params['ClusterId']
|
5870
|
+
@Remark = params['Remark']
|
5871
5871
|
unless params['RetentionPolicy'].nil?
|
5872
5872
|
@RetentionPolicy = RetentionPolicy.new
|
5873
5873
|
@RetentionPolicy.deserialize(params['RetentionPolicy'])
|
@@ -6356,23 +6356,38 @@ module TencentCloud
|
|
6356
6356
|
class ModifyRoleRequest < TencentCloud::Common::AbstractModel
|
6357
6357
|
# @param RoleName: 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
|
6358
6358
|
# @type RoleName: String
|
6359
|
-
# @param Remark: 备注说明,长度必须大等于0且小等于128。
|
6360
|
-
# @type Remark: String
|
6361
6359
|
# @param ClusterId: 必填字段,集群Id
|
6362
6360
|
# @type ClusterId: String
|
6361
|
+
# @param Remark: 备注说明,长度必须大等于0且小等于128。
|
6362
|
+
# @type Remark: String
|
6363
|
+
# @param EnvironmentRoleSets: 批量绑定名字空间信息
|
6364
|
+
# @type EnvironmentRoleSets: Array
|
6365
|
+
# @param UnbindAllEnvironment: 全部解绑名字空间,设置为 true
|
6366
|
+
# @type UnbindAllEnvironment: Boolean
|
6363
6367
|
|
6364
|
-
attr_accessor :RoleName, :Remark, :
|
6368
|
+
attr_accessor :RoleName, :ClusterId, :Remark, :EnvironmentRoleSets, :UnbindAllEnvironment
|
6365
6369
|
|
6366
|
-
def initialize(rolename=nil, remark=nil,
|
6370
|
+
def initialize(rolename=nil, clusterid=nil, remark=nil, environmentrolesets=nil, unbindallenvironment=nil)
|
6367
6371
|
@RoleName = rolename
|
6368
|
-
@Remark = remark
|
6369
6372
|
@ClusterId = clusterid
|
6373
|
+
@Remark = remark
|
6374
|
+
@EnvironmentRoleSets = environmentrolesets
|
6375
|
+
@UnbindAllEnvironment = unbindallenvironment
|
6370
6376
|
end
|
6371
6377
|
|
6372
6378
|
def deserialize(params)
|
6373
6379
|
@RoleName = params['RoleName']
|
6374
|
-
@Remark = params['Remark']
|
6375
6380
|
@ClusterId = params['ClusterId']
|
6381
|
+
@Remark = params['Remark']
|
6382
|
+
unless params['EnvironmentRoleSets'].nil?
|
6383
|
+
@EnvironmentRoleSets = []
|
6384
|
+
params['EnvironmentRoleSets'].each do |i|
|
6385
|
+
environmentroleset_tmp = EnvironmentRoleSet.new
|
6386
|
+
environmentroleset_tmp.deserialize(i)
|
6387
|
+
@EnvironmentRoleSets << environmentroleset_tmp
|
6388
|
+
end
|
6389
|
+
end
|
6390
|
+
@UnbindAllEnvironment = params['UnbindAllEnvironment']
|
6376
6391
|
end
|
6377
6392
|
end
|
6378
6393
|
|
@@ -6408,21 +6423,21 @@ module TencentCloud
|
|
6408
6423
|
# @type TopicName: String
|
6409
6424
|
# @param Partitions: 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。
|
6410
6425
|
# @type Partitions: Integer
|
6411
|
-
# @param Remark: 备注,128字符以内。
|
6412
|
-
# @type Remark: String
|
6413
6426
|
# @param ClusterId: Pulsar 集群的ID
|
6414
6427
|
# @type ClusterId: String
|
6428
|
+
# @param Remark: 备注,128字符以内。
|
6429
|
+
# @type Remark: String
|
6415
6430
|
# @param MsgTTL: 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
|
6416
6431
|
# @type MsgTTL: Integer
|
6417
6432
|
|
6418
|
-
attr_accessor :EnvironmentId, :TopicName, :Partitions, :
|
6433
|
+
attr_accessor :EnvironmentId, :TopicName, :Partitions, :ClusterId, :Remark, :MsgTTL
|
6419
6434
|
|
6420
|
-
def initialize(environmentid=nil, topicname=nil, partitions=nil,
|
6435
|
+
def initialize(environmentid=nil, topicname=nil, partitions=nil, clusterid=nil, remark=nil, msgttl=nil)
|
6421
6436
|
@EnvironmentId = environmentid
|
6422
6437
|
@TopicName = topicname
|
6423
6438
|
@Partitions = partitions
|
6424
|
-
@Remark = remark
|
6425
6439
|
@ClusterId = clusterid
|
6440
|
+
@Remark = remark
|
6426
6441
|
@MsgTTL = msgttl
|
6427
6442
|
end
|
6428
6443
|
|
@@ -6430,8 +6445,8 @@ module TencentCloud
|
|
6430
6445
|
@EnvironmentId = params['EnvironmentId']
|
6431
6446
|
@TopicName = params['TopicName']
|
6432
6447
|
@Partitions = params['Partitions']
|
6433
|
-
@Remark = params['Remark']
|
6434
6448
|
@ClusterId = params['ClusterId']
|
6449
|
+
@Remark = params['Remark']
|
6435
6450
|
@MsgTTL = params['MsgTTL']
|
6436
6451
|
end
|
6437
6452
|
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: 3.0.
|
4
|
+
version: 3.0.644
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|