Method: projects.regions.autoscalingPolicies.update

Updates (replaces) autoscaling policy.

Disabled check for updateMask, because all updates will be full replacements.

HTTP request

PUT https://dataproc.googleapis.com/v1beta2/{policy.name=projects/*/regions/*/autoscalingPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
policy.name

string

Output only. The "resource name" of the policy, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{projectId}/regions/{region}/autoscalingPolicies/{policy_id}.

Request body

The request body contains an instance of AutoscalingPolicy.

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.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataproc