Class: TencentCloud::As::V20180419::NotificationTarget
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::NotificationTarget
- Defined in:
- lib/v20180419/models.rb
Overview
通知目标
Instance Attribute Summary collapse
-
#QueueName ⇒ Object
- CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。
- CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。
- TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。
- TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。
. -
#TargetType ⇒ Object
- CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。
- CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。
- TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。
- TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。
. -
#TopicName ⇒ Object
- CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。
- CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。
- TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。
- TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targettype = nil, queuename = nil, topicname = nil) ⇒ NotificationTarget
constructor
A new instance of NotificationTarget.
Constructor Details
#initialize(targettype = nil, queuename = nil, topicname = nil) ⇒ NotificationTarget
Returns a new instance of NotificationTarget.
4738 4739 4740 4741 4742 |
# File 'lib/v20180419/models.rb', line 4738 def initialize(targettype=nil, queuename=nil, topicname=nil) @TargetType = targettype @QueueName = queuename @TopicName = topicname end |
Instance Attribute Details
#QueueName ⇒ Object
4736 4737 4738 |
# File 'lib/v20180419/models.rb', line 4736 def QueueName @QueueName end |
#TargetType ⇒ Object
4736 4737 4738 |
# File 'lib/v20180419/models.rb', line 4736 def TargetType @TargetType end |
#TopicName ⇒ Object
4736 4737 4738 |
# File 'lib/v20180419/models.rb', line 4736 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
4744 4745 4746 4747 4748 |
# File 'lib/v20180419/models.rb', line 4744 def deserialize(params) @TargetType = params['TargetType'] @QueueName = params['QueueName'] @TopicName = params['TopicName'] end |