Reference documentation and code samples for the Google Cloud Dataproc V1 Client class AutoscalingConfig.
Autoscaling Policy config associated with the cluster.
Generated from protobuf message google.cloud.dataproc.v1.AutoscalingConfig
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy_uri |
string
Optional. The autoscaling policy used by the cluster. Only resource names including projectid and location (region) are valid. Examples: * |
getPolicyUri
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid. Examples:
https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
Note that the policy must be in the same project and Dataproc region.
Returns | |
---|---|
Type | Description |
string |
setPolicyUri
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid. Examples:
https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
Note that the policy must be in the same project and Dataproc region.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |