Reference documentation and code samples for the Google Cloud Dataproc V1 Client class UpdateAutoscalingPolicyRequest.
A request to update an autoscaling policy.
Generated from protobuf message google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy |
Google\Cloud\Dataproc\V1\AutoscalingPolicy
Required. The updated autoscaling policy. |
getPolicy
Required. The updated autoscaling policy.
Generated from protobuf field .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Dataproc\V1\AutoscalingPolicy|null |
|
hasPolicy
clearPolicy
setPolicy
Required. The updated autoscaling policy.
Generated from protobuf field .google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Dataproc\V1\AutoscalingPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|