Send feedback
Method: projects.locations.autoscalingPolicies.update
Updates (replaces) autoscaling policy.
Disabled check for updateMask, because all updates will be full replacements.
HTTP request
PUT https://dataproc.googleapis.com/v1/{policy.name=projects/*/locations/*/autoscalingPolicies/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
policy.name
string
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names .
For projects.regions.autoscalingPolicies
, the resource name of the policy has the following format: projects/{projectId}/regions/{region}/autoscalingPolicies/{policy_id}
For projects.locations.autoscalingPolicies
, the resource name of the policy has the following format: projects/{projectId}/locations/{location}/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 .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?