Google Cloud Dataproc V1 Client - Class ListClustersResponse (3.2.2)

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

The list of all clusters in a project.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

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

Output only. The clusters in the project.

↳ next_page_token
string

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest .

getClusters

Output only. The clusters in the project.

Generated from protobuf field repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setClusters

Output only. The clusters in the project.

Generated from protobuf field repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
Returns
Type
Description
$this

getNextPageToken

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest .

Generated from protobuf field string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
string

setNextPageToken

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest .

Generated from protobuf field string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: