Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ListConsumerGroupsRequest.
Request for ListConsumerGroups.
Generated from protobuf message google.cloud.managedkafka.v1.ListConsumerGroupsRequest
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent cluster whose consumer groups are to be listed. Structured like projects/{project}/locations/{location}/clusters/{cluster}
.
↳ page_size
int
Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned.
↳ page_token
string
Optional. A page token, received from a previous ListConsumerGroups
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListConsumerGroups
must match the call that provided the page token.
getParent
Required. The parent cluster whose consumer groups are to be listed.
Structured like projects/{project}/locations/{location}/clusters/{cluster}
.
string
setParent
Required. The parent cluster whose consumer groups are to be listed.
Structured like projects/{project}/locations/{location}/clusters/{cluster}
.
var
string
$this
getPageSize
Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned.
int
setPageSize
Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned.
var
int
$this
getPageToken
Optional. A page token, received from a previous ListConsumerGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListConsumerGroups
must
match the call that provided the page token.
string
setPageToken
Optional. A page token, received from a previous ListConsumerGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListConsumerGroups
must
match the call that provided the page token.
var
string
$this
static::build
parent
string
Required. The parent cluster whose consumer groups are to be listed.
Structured like projects/{project}/locations/{location}/clusters/{cluster}
. Please see ManagedKafkaClient::clusterName()
for help formatting this field.