tencentcloud-sdk-tdmq 3.0.997 → 3.0.999
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/models.rb +78 -16
- 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: d327fdf7f6e1b00754504812987c9b08ccc9e3d1
|
4
|
+
data.tar.gz: 6a59153f39391daad42655e5612b1fc10400247e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a7973bd496162fe5627767b0d51b3cfff1248fb8c828c119115fff6e6d354bd5c164d575755c14f01de4b00278b5fe3d6231afb9fbf847f2ebaaaa4c1d3c12
|
7
|
+
data.tar.gz: 7953e0faa6004d2751517e4ea3c143a2dd0423f345fef96fb795d9e69edea1587e4b8950c91c68c83da47506489abe784ba1a263a4ac59166d89f82c7a1388b2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.999
|
data/lib/v20200217/models.rb
CHANGED
@@ -1959,14 +1959,17 @@ module TencentCloud
|
|
1959
1959
|
# @type Permissions: Array
|
1960
1960
|
# @param ClusterId: 必填字段,集群的ID
|
1961
1961
|
# @type ClusterId: String
|
1962
|
+
# @param DetailedPerms: Topic&Group维度权限配置
|
1963
|
+
# @type DetailedPerms: Array
|
1962
1964
|
|
1963
|
-
attr_accessor :EnvironmentId, :RoleName, :Permissions, :ClusterId
|
1965
|
+
attr_accessor :EnvironmentId, :RoleName, :Permissions, :ClusterId, :DetailedPerms
|
1964
1966
|
|
1965
|
-
def initialize(environmentid=nil, rolename=nil, permissions=nil, clusterid=nil)
|
1967
|
+
def initialize(environmentid=nil, rolename=nil, permissions=nil, clusterid=nil, detailedperms=nil)
|
1966
1968
|
@EnvironmentId = environmentid
|
1967
1969
|
@RoleName = rolename
|
1968
1970
|
@Permissions = permissions
|
1969
1971
|
@ClusterId = clusterid
|
1972
|
+
@DetailedPerms = detailedperms
|
1970
1973
|
end
|
1971
1974
|
|
1972
1975
|
def deserialize(params)
|
@@ -1974,6 +1977,14 @@ module TencentCloud
|
|
1974
1977
|
@RoleName = params['RoleName']
|
1975
1978
|
@Permissions = params['Permissions']
|
1976
1979
|
@ClusterId = params['ClusterId']
|
1980
|
+
unless params['DetailedPerms'].nil?
|
1981
|
+
@DetailedPerms = []
|
1982
|
+
params['DetailedPerms'].each do |i|
|
1983
|
+
detailedroleperm_tmp = DetailedRolePerm.new
|
1984
|
+
detailedroleperm_tmp.deserialize(i)
|
1985
|
+
@DetailedPerms << detailedroleperm_tmp
|
1986
|
+
end
|
1987
|
+
end
|
1977
1988
|
end
|
1978
1989
|
end
|
1979
1990
|
|
@@ -2109,19 +2120,23 @@ module TencentCloud
|
|
2109
2120
|
# @type ClusterId: String
|
2110
2121
|
# @param Remark: 备注说明,长度必须大等于0且小等于128。
|
2111
2122
|
# @type Remark: String
|
2123
|
+
# @param PermType: 角色授权类型(集群:Cluster; 主题或消费组:TopicAndGroup)
|
2124
|
+
# @type PermType: String
|
2112
2125
|
|
2113
|
-
attr_accessor :RoleName, :ClusterId, :Remark
|
2126
|
+
attr_accessor :RoleName, :ClusterId, :Remark, :PermType
|
2114
2127
|
|
2115
|
-
def initialize(rolename=nil, clusterid=nil, remark=nil)
|
2128
|
+
def initialize(rolename=nil, clusterid=nil, remark=nil, permtype=nil)
|
2116
2129
|
@RoleName = rolename
|
2117
2130
|
@ClusterId = clusterid
|
2118
2131
|
@Remark = remark
|
2132
|
+
@PermType = permtype
|
2119
2133
|
end
|
2120
2134
|
|
2121
2135
|
def deserialize(params)
|
2122
2136
|
@RoleName = params['RoleName']
|
2123
2137
|
@ClusterId = params['ClusterId']
|
2124
2138
|
@Remark = params['Remark']
|
2139
|
+
@PermType = params['PermType']
|
2125
2140
|
end
|
2126
2141
|
end
|
2127
2142
|
|
@@ -6397,8 +6412,8 @@ module TencentCloud
|
|
6397
6412
|
|
6398
6413
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
6399
6414
|
extend Gem::Deprecate
|
6400
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
6401
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
6415
|
+
deprecate :QueryDlqMsg, :none, 2025, 2
|
6416
|
+
deprecate :QueryDlqMsg=, :none, 2025, 2
|
6402
6417
|
|
6403
6418
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
6404
6419
|
@ClusterId = clusterid
|
@@ -6503,8 +6518,8 @@ module TencentCloud
|
|
6503
6518
|
|
6504
6519
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
6505
6520
|
extend Gem::Deprecate
|
6506
|
-
deprecate :QueryDLQMsg, :none, 2025,
|
6507
|
-
deprecate :QueryDLQMsg=, :none, 2025,
|
6521
|
+
deprecate :QueryDLQMsg, :none, 2025, 2
|
6522
|
+
deprecate :QueryDLQMsg=, :none, 2025, 2
|
6508
6523
|
|
6509
6524
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
6510
6525
|
@ClusterId = clusterid
|
@@ -7282,8 +7297,8 @@ module TencentCloud
|
|
7282
7297
|
|
7283
7298
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
7284
7299
|
extend Gem::Deprecate
|
7285
|
-
deprecate :QueryDlqMsg, :none, 2025,
|
7286
|
-
deprecate :QueryDlqMsg=, :none, 2025,
|
7300
|
+
deprecate :QueryDlqMsg, :none, 2025, 2
|
7301
|
+
deprecate :QueryDlqMsg=, :none, 2025, 2
|
7287
7302
|
|
7288
7303
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
|
7289
7304
|
@ClusterId = clusterid
|
@@ -7962,6 +7977,38 @@ module TencentCloud
|
|
7962
7977
|
end
|
7963
7978
|
end
|
7964
7979
|
|
7980
|
+
# Topic&Group维度的权限配置
|
7981
|
+
class DetailedRolePerm < TencentCloud::Common::AbstractModel
|
7982
|
+
# @param Resource: 权限对应的资源
|
7983
|
+
# @type Resource: String
|
7984
|
+
# @param PermWrite: 是否开启生产权限
|
7985
|
+
# @type PermWrite: Boolean
|
7986
|
+
# @param PermRead: 是否开启消费权限
|
7987
|
+
# @type PermRead: Boolean
|
7988
|
+
# @param ResourceType: 授权资源类型(Topic:主题; Group:消费组)
|
7989
|
+
# @type ResourceType: String
|
7990
|
+
# @param Remark: 资源备注
|
7991
|
+
# @type Remark: String
|
7992
|
+
|
7993
|
+
attr_accessor :Resource, :PermWrite, :PermRead, :ResourceType, :Remark
|
7994
|
+
|
7995
|
+
def initialize(resource=nil, permwrite=nil, permread=nil, resourcetype=nil, remark=nil)
|
7996
|
+
@Resource = resource
|
7997
|
+
@PermWrite = permwrite
|
7998
|
+
@PermRead = permread
|
7999
|
+
@ResourceType = resourcetype
|
8000
|
+
@Remark = remark
|
8001
|
+
end
|
8002
|
+
|
8003
|
+
def deserialize(params)
|
8004
|
+
@Resource = params['Resource']
|
8005
|
+
@PermWrite = params['PermWrite']
|
8006
|
+
@PermRead = params['PermRead']
|
8007
|
+
@ResourceType = params['ResourceType']
|
8008
|
+
@Remark = params['Remark']
|
8009
|
+
end
|
8010
|
+
end
|
8011
|
+
|
7965
8012
|
# 命名空间信息
|
7966
8013
|
class Environment < TencentCloud::Common::AbstractModel
|
7967
8014
|
# @param EnvironmentId: 命名空间名称
|
@@ -9344,14 +9391,17 @@ module TencentCloud
|
|
9344
9391
|
# @type Permissions: Array
|
9345
9392
|
# @param ClusterId: 必填字段,集群的ID
|
9346
9393
|
# @type ClusterId: String
|
9394
|
+
# @param DetailedPerms: Topic&Group维度权限配置
|
9395
|
+
# @type DetailedPerms: Array
|
9347
9396
|
|
9348
|
-
attr_accessor :EnvironmentId, :RoleName, :Permissions, :ClusterId
|
9397
|
+
attr_accessor :EnvironmentId, :RoleName, :Permissions, :ClusterId, :DetailedPerms
|
9349
9398
|
|
9350
|
-
def initialize(environmentid=nil, rolename=nil, permissions=nil, clusterid=nil)
|
9399
|
+
def initialize(environmentid=nil, rolename=nil, permissions=nil, clusterid=nil, detailedperms=nil)
|
9351
9400
|
@EnvironmentId = environmentid
|
9352
9401
|
@RoleName = rolename
|
9353
9402
|
@Permissions = permissions
|
9354
9403
|
@ClusterId = clusterid
|
9404
|
+
@DetailedPerms = detailedperms
|
9355
9405
|
end
|
9356
9406
|
|
9357
9407
|
def deserialize(params)
|
@@ -9359,6 +9409,14 @@ module TencentCloud
|
|
9359
9409
|
@RoleName = params['RoleName']
|
9360
9410
|
@Permissions = params['Permissions']
|
9361
9411
|
@ClusterId = params['ClusterId']
|
9412
|
+
unless params['DetailedPerms'].nil?
|
9413
|
+
@DetailedPerms = []
|
9414
|
+
params['DetailedPerms'].each do |i|
|
9415
|
+
detailedroleperm_tmp = DetailedRolePerm.new
|
9416
|
+
detailedroleperm_tmp.deserialize(i)
|
9417
|
+
@DetailedPerms << detailedroleperm_tmp
|
9418
|
+
end
|
9419
|
+
end
|
9362
9420
|
end
|
9363
9421
|
end
|
9364
9422
|
|
@@ -9591,19 +9649,23 @@ module TencentCloud
|
|
9591
9649
|
# @type ClusterId: String
|
9592
9650
|
# @param Remark: 备注说明,长度必须大等于0且小等于128。
|
9593
9651
|
# @type Remark: String
|
9652
|
+
# @param PermType: 权限类型,默认按集群授权(Cluster:集群级别;TopicAndGroup:主题&消费组级别)
|
9653
|
+
# @type PermType: String
|
9594
9654
|
|
9595
|
-
attr_accessor :RoleName, :ClusterId, :Remark
|
9655
|
+
attr_accessor :RoleName, :ClusterId, :Remark, :PermType
|
9596
9656
|
|
9597
|
-
def initialize(rolename=nil, clusterid=nil, remark=nil)
|
9657
|
+
def initialize(rolename=nil, clusterid=nil, remark=nil, permtype=nil)
|
9598
9658
|
@RoleName = rolename
|
9599
9659
|
@ClusterId = clusterid
|
9600
9660
|
@Remark = remark
|
9661
|
+
@PermType = permtype
|
9601
9662
|
end
|
9602
9663
|
|
9603
9664
|
def deserialize(params)
|
9604
9665
|
@RoleName = params['RoleName']
|
9605
9666
|
@ClusterId = params['ClusterId']
|
9606
9667
|
@Remark = params['Remark']
|
9668
|
+
@PermType = params['PermType']
|
9607
9669
|
end
|
9608
9670
|
end
|
9609
9671
|
|
@@ -11673,8 +11735,8 @@ module TencentCloud
|
|
11673
11735
|
|
11674
11736
|
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution
|
11675
11737
|
extend Gem::Deprecate
|
11676
|
-
deprecate :MaxTpsPerNamespace, :none, 2025,
|
11677
|
-
deprecate :MaxTpsPerNamespace=, :none, 2025,
|
11738
|
+
deprecate :MaxTpsPerNamespace, :none, 2025, 2
|
11739
|
+
deprecate :MaxTpsPerNamespace=, :none, 2025, 2
|
11678
11740
|
|
11679
11741
|
def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil)
|
11680
11742
|
@MaxTpsPerNamespace = maxtpspernamespace
|
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.999
|
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-02-
|
11
|
+
date: 2025-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|