tencentcloud-sdk-tdmq 3.0.625 → 3.0.626
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/client.rb +24 -0
- data/lib/v20200217/models.rb +57 -6
- 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: 760e062d59058dc3dde7cab410558a53214437aa
|
4
|
+
data.tar.gz: 5ac0741f15ab20e37fdf2c0dc582e79b3ea3b5f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfa249b178aeb6d0710c6cf3901ddcedff0e2c5c03195e4b1173ddee3e287a28dbbdbcc84d498149bb2fb0019025917661a219efe383a0a6a8f3602698b9a96c
|
7
|
+
data.tar.gz: a1878407de3660eecd849290f5876e047879d21314e0fd21f4e510d3270dc2c51b516ca1e02f37b2ef4179e203d2d9c7093fd91fa2f70d0452abb7f042e07cbf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.626
|
data/lib/v20200217/client.rb
CHANGED
@@ -821,6 +821,30 @@ module TencentCloud
|
|
821
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
822
|
end
|
823
823
|
|
824
|
+
# 删除RocketMQ专享实例
|
825
|
+
|
826
|
+
# @param request: Request instance for DeleteRocketMQVipInstance.
|
827
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceRequest`
|
828
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceResponse`
|
829
|
+
def DeleteRocketMQVipInstance(request)
|
830
|
+
body = send_request('DeleteRocketMQVipInstance', request.serialize)
|
831
|
+
response = JSON.parse(body)
|
832
|
+
if response['Response'].key?('Error') == false
|
833
|
+
model = DeleteRocketMQVipInstanceResponse.new
|
834
|
+
model.deserialize(response['Response'])
|
835
|
+
model
|
836
|
+
else
|
837
|
+
code = response['Response']['Error']['Code']
|
838
|
+
message = response['Response']['Error']['Message']
|
839
|
+
reqid = response['Response']['RequestId']
|
840
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
841
|
+
end
|
842
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
843
|
+
raise e
|
844
|
+
rescue StandardError => e
|
845
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
|
+
end
|
847
|
+
|
824
848
|
# 删除角色,支持批量。
|
825
849
|
|
826
850
|
# @param request: Request instance for DeleteRoles.
|
data/lib/v20200217/models.rb
CHANGED
@@ -715,10 +715,13 @@ module TencentCloud
|
|
715
715
|
# @param NotifyContentFormat: 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
|
716
716
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
717
717
|
# @type NotifyContentFormat: String
|
718
|
+
# @param TopicName: 订阅所属的主题名称
|
719
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
720
|
+
# @type TopicName: String
|
718
721
|
|
719
|
-
attr_accessor :SubscriptionName, :SubscriptionId, :TopicOwner, :MsgCount, :LastModifyTime, :CreateTime, :BindingKey, :Endpoint, :FilterTags, :Protocol, :NotifyStrategy, :NotifyContentFormat
|
722
|
+
attr_accessor :SubscriptionName, :SubscriptionId, :TopicOwner, :MsgCount, :LastModifyTime, :CreateTime, :BindingKey, :Endpoint, :FilterTags, :Protocol, :NotifyStrategy, :NotifyContentFormat, :TopicName
|
720
723
|
|
721
|
-
def initialize(subscriptionname=nil, subscriptionid=nil, topicowner=nil, msgcount=nil, lastmodifytime=nil, createtime=nil, bindingkey=nil, endpoint=nil, filtertags=nil, protocol=nil, notifystrategy=nil, notifycontentformat=nil)
|
724
|
+
def initialize(subscriptionname=nil, subscriptionid=nil, topicowner=nil, msgcount=nil, lastmodifytime=nil, createtime=nil, bindingkey=nil, endpoint=nil, filtertags=nil, protocol=nil, notifystrategy=nil, notifycontentformat=nil, topicname=nil)
|
722
725
|
@SubscriptionName = subscriptionname
|
723
726
|
@SubscriptionId = subscriptionid
|
724
727
|
@TopicOwner = topicowner
|
@@ -731,6 +734,7 @@ module TencentCloud
|
|
731
734
|
@Protocol = protocol
|
732
735
|
@NotifyStrategy = notifystrategy
|
733
736
|
@NotifyContentFormat = notifycontentformat
|
737
|
+
@TopicName = topicname
|
734
738
|
end
|
735
739
|
|
736
740
|
def deserialize(params)
|
@@ -746,6 +750,7 @@ module TencentCloud
|
|
746
750
|
@Protocol = params['Protocol']
|
747
751
|
@NotifyStrategy = params['NotifyStrategy']
|
748
752
|
@NotifyContentFormat = params['NotifyContentFormat']
|
753
|
+
@TopicName = params['TopicName']
|
749
754
|
end
|
750
755
|
end
|
751
756
|
|
@@ -801,10 +806,13 @@ module TencentCloud
|
|
801
806
|
# @param BrokerType: 0表示pulsar,1表示rocketmq
|
802
807
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
803
808
|
# @type BrokerType: Integer
|
809
|
+
# @param SubscriptionCount: 订阅数量
|
810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
811
|
+
# @type SubscriptionCount: Integer
|
804
812
|
|
805
|
-
attr_accessor :TopicId, :TopicName, :MsgRetentionSeconds, :MaxMsgSize, :Qps, :FilterType, :CreateTime, :LastModifyTime, :MsgCount, :CreateUin, :Tags, :Trace, :TenantId, :NamespaceName, :Status, :BrokerType
|
813
|
+
attr_accessor :TopicId, :TopicName, :MsgRetentionSeconds, :MaxMsgSize, :Qps, :FilterType, :CreateTime, :LastModifyTime, :MsgCount, :CreateUin, :Tags, :Trace, :TenantId, :NamespaceName, :Status, :BrokerType, :SubscriptionCount
|
806
814
|
|
807
|
-
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, tenantid=nil, namespacename=nil, status=nil, brokertype=nil)
|
815
|
+
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, tenantid=nil, namespacename=nil, status=nil, brokertype=nil, subscriptioncount=nil)
|
808
816
|
@TopicId = topicid
|
809
817
|
@TopicName = topicname
|
810
818
|
@MsgRetentionSeconds = msgretentionseconds
|
@@ -821,6 +829,7 @@ module TencentCloud
|
|
821
829
|
@NamespaceName = namespacename
|
822
830
|
@Status = status
|
823
831
|
@BrokerType = brokertype
|
832
|
+
@SubscriptionCount = subscriptioncount
|
824
833
|
end
|
825
834
|
|
826
835
|
def deserialize(params)
|
@@ -847,6 +856,7 @@ module TencentCloud
|
|
847
856
|
@NamespaceName = params['NamespaceName']
|
848
857
|
@Status = params['Status']
|
849
858
|
@BrokerType = params['BrokerType']
|
859
|
+
@SubscriptionCount = params['SubscriptionCount']
|
850
860
|
end
|
851
861
|
end
|
852
862
|
|
@@ -2510,6 +2520,38 @@ module TencentCloud
|
|
2510
2520
|
end
|
2511
2521
|
end
|
2512
2522
|
|
2523
|
+
# DeleteRocketMQVipInstance请求参数结构体
|
2524
|
+
class DeleteRocketMQVipInstanceRequest < TencentCloud::Common::AbstractModel
|
2525
|
+
# @param ClusterId: 实例的集群ID
|
2526
|
+
# @type ClusterId: String
|
2527
|
+
|
2528
|
+
attr_accessor :ClusterId
|
2529
|
+
|
2530
|
+
def initialize(clusterid=nil)
|
2531
|
+
@ClusterId = clusterid
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
def deserialize(params)
|
2535
|
+
@ClusterId = params['ClusterId']
|
2536
|
+
end
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
# DeleteRocketMQVipInstance返回参数结构体
|
2540
|
+
class DeleteRocketMQVipInstanceResponse < TencentCloud::Common::AbstractModel
|
2541
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2542
|
+
# @type RequestId: String
|
2543
|
+
|
2544
|
+
attr_accessor :RequestId
|
2545
|
+
|
2546
|
+
def initialize(requestid=nil)
|
2547
|
+
@RequestId = requestid
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
def deserialize(params)
|
2551
|
+
@RequestId = params['RequestId']
|
2552
|
+
end
|
2553
|
+
end
|
2554
|
+
|
2513
2555
|
# DeleteRoles请求参数结构体
|
2514
2556
|
class DeleteRolesRequest < TencentCloud::Common::AbstractModel
|
2515
2557
|
# @param RoleNames: 角色名称数组。
|
@@ -3217,14 +3259,21 @@ module TencentCloud
|
|
3217
3259
|
# @type Limit: Integer
|
3218
3260
|
# @param SubscriptionName: 根据SubscriptionName进行模糊搜索
|
3219
3261
|
# @type SubscriptionName: String
|
3262
|
+
# @param QueueName: 队列名称,订阅绑定的endpoint
|
3263
|
+
# @type QueueName: String
|
3264
|
+
# @param QueryType: 查询类型。取值:(1)topic;(2)queue。
|
3265
|
+
# 默认值是topic。如果 queryType 是 topic,则查询主题下的订阅列表;如果 queryType 是 queue,则查询队列绑定的订阅列表。
|
3266
|
+
# @type QueryType: String
|
3220
3267
|
|
3221
|
-
attr_accessor :TopicName, :Offset, :Limit, :SubscriptionName
|
3268
|
+
attr_accessor :TopicName, :Offset, :Limit, :SubscriptionName, :QueueName, :QueryType
|
3222
3269
|
|
3223
|
-
def initialize(topicname=nil, offset=nil, limit=nil, subscriptionname=nil)
|
3270
|
+
def initialize(topicname=nil, offset=nil, limit=nil, subscriptionname=nil, queuename=nil, querytype=nil)
|
3224
3271
|
@TopicName = topicname
|
3225
3272
|
@Offset = offset
|
3226
3273
|
@Limit = limit
|
3227
3274
|
@SubscriptionName = subscriptionname
|
3275
|
+
@QueueName = queuename
|
3276
|
+
@QueryType = querytype
|
3228
3277
|
end
|
3229
3278
|
|
3230
3279
|
def deserialize(params)
|
@@ -3232,6 +3281,8 @@ module TencentCloud
|
|
3232
3281
|
@Offset = params['Offset']
|
3233
3282
|
@Limit = params['Limit']
|
3234
3283
|
@SubscriptionName = params['SubscriptionName']
|
3284
|
+
@QueueName = params['QueueName']
|
3285
|
+
@QueryType = params['QueryType']
|
3235
3286
|
end
|
3236
3287
|
end
|
3237
3288
|
|
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.626
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|