Google Cloud Dataproc V1 Client - Class ListAutoscalingPoliciesResponse (2.2.0)

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

A response to a request to list autoscaling policies in a project.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policies array<Google\Cloud\Dataproc\V1\AutoscalingPolicy>

Output only. Autoscaling policies list.

↳ next_page_token string

Output only. This token is included in the response if there are more results to fetch.

getPolicies

Output only. Autoscaling policies list.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPolicies

Output only. Autoscaling policies list.

Parameter
Name Description
var array<Google\Cloud\Dataproc\V1\AutoscalingPolicy>
Returns
Type Description
$this

getNextPageToken

Output only. This token is included in the response if there are more results to fetch.

Returns
Type Description
string

setNextPageToken

Output only. This token is included in the response if there are more results to fetch.

Parameter
Name Description
var string
Returns
Type Description
$this