Method: projects.regions.autoscalingPolicies.list

Lists autoscaling policies in the project.

HTTP request

GET https://dataproc.googleapis.com/v1/{parent=projects/*/regions/*}/autoscalingPolicies

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The "resource name" of the region or location, as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{projectId}/regions/{region}

  • For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{projectId}/locations/{location}

Authorization requires the following IAM permission on the specified resource parent:

  • dataproc.autoscalingPolicies.list

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.

pageToken

string

Optional. The page token, returned by a previous call, to request the next page of results.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListAutoscalingPoliciesResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.