Class: TencentCloud::Trocket::V20230308::DescribeMigratingTopicStatsResponse

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

Overview

DescribeMigratingTopicStats返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourceclusterconsumercount = nil, targetclusterconsumercount = nil, sourceclusterconsumergroups = nil, targetclusterconsumergroups = nil, requestid = nil) ⇒ DescribeMigratingTopicStatsResponse

Returns a new instance of DescribeMigratingTopicStatsResponse.



3105
3106
3107
3108
3109
3110
3111
# File 'lib/v20230308/models.rb', line 3105

def initialize(sourceclusterconsumercount=nil, targetclusterconsumercount=nil, sourceclusterconsumergroups=nil, targetclusterconsumergroups=nil, requestid=nil)
  @SourceClusterConsumerCount = sourceclusterconsumercount
  @TargetClusterConsumerCount = targetclusterconsumercount
  @SourceClusterConsumerGroups = sourceclusterconsumergroups
  @TargetClusterConsumerGroups = targetclusterconsumergroups
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • SourceClusterConsumerCount:

    源集群的消费者数量

  • TargetClusterConsumerCount:

    目标集群的消费者数量

  • SourceClusterConsumerGroups:

    源集群消费组列表

  • TargetClusterConsumerGroups:

    目标集群消费组列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3103
3104
3105
# File 'lib/v20230308/models.rb', line 3103

def RequestId
  @RequestId
end

#SourceClusterConsumerCountObject

Parameters:

  • SourceClusterConsumerCount:

    源集群的消费者数量

  • TargetClusterConsumerCount:

    目标集群的消费者数量

  • SourceClusterConsumerGroups:

    源集群消费组列表

  • TargetClusterConsumerGroups:

    目标集群消费组列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3103
3104
3105
# File 'lib/v20230308/models.rb', line 3103

def SourceClusterConsumerCount
  @SourceClusterConsumerCount
end

#SourceClusterConsumerGroupsObject

Parameters:

  • SourceClusterConsumerCount:

    源集群的消费者数量

  • TargetClusterConsumerCount:

    目标集群的消费者数量

  • SourceClusterConsumerGroups:

    源集群消费组列表

  • TargetClusterConsumerGroups:

    目标集群消费组列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3103
3104
3105
# File 'lib/v20230308/models.rb', line 3103

def SourceClusterConsumerGroups
  @SourceClusterConsumerGroups
end

#TargetClusterConsumerCountObject

Parameters:

  • SourceClusterConsumerCount:

    源集群的消费者数量

  • TargetClusterConsumerCount:

    目标集群的消费者数量

  • SourceClusterConsumerGroups:

    源集群消费组列表

  • TargetClusterConsumerGroups:

    目标集群消费组列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3103
3104
3105
# File 'lib/v20230308/models.rb', line 3103

def TargetClusterConsumerCount
  @TargetClusterConsumerCount
end

#TargetClusterConsumerGroupsObject

Parameters:

  • SourceClusterConsumerCount:

    源集群的消费者数量

  • TargetClusterConsumerCount:

    目标集群的消费者数量

  • SourceClusterConsumerGroups:

    源集群消费组列表

  • TargetClusterConsumerGroups:

    目标集群消费组列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3103
3104
3105
# File 'lib/v20230308/models.rb', line 3103

def TargetClusterConsumerGroups
  @TargetClusterConsumerGroups
end

Instance Method Details

#deserialize(params) ⇒ Object



3113
3114
3115
3116
3117
3118
3119
# File 'lib/v20230308/models.rb', line 3113

def deserialize(params)
  @SourceClusterConsumerCount = params['SourceClusterConsumerCount']
  @TargetClusterConsumerCount = params['TargetClusterConsumerCount']
  @SourceClusterConsumerGroups = params['SourceClusterConsumerGroups']
  @TargetClusterConsumerGroups = params['TargetClusterConsumerGroups']
  @RequestId = params['RequestId']
end