Send feedback
REST Resource: projects.regions.autoscalingPolicies
Stay organized with collections
Save and categorize content based on your preferences.
Resource: AutoscalingPolicy
Describes an autoscaling policy for Dataproc cluster autoscaler.
Fields
id
string
Required. The policy id.
The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
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}
workerConfig
object (InstanceGroupAutoscalingPolicyConfig
)
Required. Describes how the autoscaler will operate for primary workers.
secondaryWorkerConfig
object (InstanceGroupAutoscalingPolicyConfig
)
Optional. Describes how the autoscaler will operate for secondary workers.
Union field algorithm
. Autoscaling algorithm for policy. algorithm
can be only one of the following:
basicAlgorithm
object (BasicAutoscalingAlgorithm
)
Methods
Creates new autoscaling policy.
Deletes an autoscaling policy.
Retrieves autoscaling policy.
Gets the access control policy for a resource.
Lists autoscaling policies in the project.
Sets the access control policy on the specified resource.
Returns permissions that a caller has on the specified resource.
Updates (replaces) autoscaling policy.
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 2024-04-26 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?