Class: TencentCloud::Tdmq::V20200217::RocketMQGroupConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

RocketMQ消费组配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace = nil, groupname = nil, consumebroadcastenable = nil, consumeenable = nil, remark = nil, consumergrouptype = nil) ⇒ RocketMQGroupConfig

Returns a new instance of RocketMQGroupConfig.



11784
11785
11786
11787
11788
11789
11790
11791
# File 'lib/v20200217/models.rb', line 11784

def initialize(namespace=nil, groupname=nil, consumebroadcastenable=nil, consumeenable=nil, remark=nil, consumergrouptype=nil)
  @Namespace = namespace
  @GroupName = groupname
  @ConsumeBroadcastEnable = consumebroadcastenable
  @ConsumeEnable = consumeenable
  @Remark = remark
  @ConsumerGroupType = consumergrouptype
end

Instance Attribute Details

#ConsumeBroadcastEnableObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def ConsumeBroadcastEnable
  @ConsumeBroadcastEnable
end

#ConsumeEnableObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def ConsumeEnable
  @ConsumeEnable
end

#ConsumerGroupTypeObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def ConsumerGroupType
  @ConsumerGroupType
end

#GroupNameObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def GroupName
  @GroupName
end

#NamespaceObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def Namespace
  @Namespace
end

#RemarkObject

TCP; HTTP;

Parameters:

  • Namespace:

    命名空间

  • GroupName:

    消费组名称

  • ConsumeBroadcastEnable:

    是否开启广播消费

  • ConsumeEnable:

    是否开启消费

  • Remark:

    备注信息

  • ConsumerGroupType:

    协议类型,支持以下枚举值



11782
11783
11784
# File 'lib/v20200217/models.rb', line 11782

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



11793
11794
11795
11796
11797
11798
11799
11800
# File 'lib/v20200217/models.rb', line 11793

def deserialize(params)
  @Namespace = params['Namespace']
  @GroupName = params['GroupName']
  @ConsumeBroadcastEnable = params['ConsumeBroadcastEnable']
  @ConsumeEnable = params['ConsumeEnable']
  @Remark = params['Remark']
  @ConsumerGroupType = params['ConsumerGroupType']
end