Method: projects.regions.autoscalingPolicies.get

Retrieves autoscaling policy.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

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

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

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

  • dataproc.autoscalingPolicies.get

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.