Google Cloud Managed Kafka V1 Client - Class ListClustersResponse (0.1.2)

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

Response for ListClusters.

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

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ clusters array<Google\Cloud\ManagedKafka\V1\Cluster>

The list of Clusters in the requested parent.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

↳ unreachable array

Locations that could not be reached.

getClusters

The list of Clusters in the requested parent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setClusters

The list of Clusters in the requested parent.

Parameter
Name Description
var array<Google\Cloud\ManagedKafka\V1\Cluster>
Returns
Type Description
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

Returns
Type Description
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this