Google Cloud Managed Kafka V1 Client - Class GetConsumerGroupRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GetConsumerGroupRequest.

Request for GetConsumerGroup.

Generated from protobuf message google.cloud.managedkafka.v1.GetConsumerGroupRequest

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the consumer group whose configuration to return. projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}.

getName

Required. The name of the consumer group whose configuration to return.

projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}.

Returns
Type Description
string

setName

Required. The name of the consumer group whose configuration to return.

projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the consumer group whose configuration to return. projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}. Please see Google\Cloud\ManagedKafka\V1\ManagedKafkaClient::consumerGroupName() for help formatting this field.

Returns
Type Description
Google\Cloud\ManagedKafka\V1\GetConsumerGroupRequest