Google Cloud Dataproc V1 Client - Class ListAutoscalingPoliciesResponse (3.2.2)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicies

Output only. Autoscaling policies list.

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

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\AutoscalingPolicy>
Returns
TypeDescription
$this

getNextPageToken

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

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

Returns
TypeDescription
string

setNextPageToken

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this