Resource: AutoscalingPolicy
Describes an autoscaling policy for Dataproc cluster autoscaler.
| JSON representation | 
|---|
{ "id": string, "name": string, "workerConfig": { object (  | 
              
| Fields | |
|---|---|
id | 
                
                   
 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 | 
                
                   
 Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. 
  | 
              
workerConfig | 
                
                   
 Required. Describes how the autoscaler will operate for primary workers.  | 
              
secondaryWorkerConfig | 
                
                   
 Optional. Describes how the autoscaler will operate for secondary workers.  | 
              
clusterType | 
                
                   
 Optional. The type of the clusters for which this autoscaling policy is to be configured.  | 
              
Union field algorithm. Autoscaling algorithm for policy. algorithm can be only one of the following: | 
              |
basicAlgorithm | 
                
                   
  | 
              
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. |