Google Cloud Dataproc V1 Client - Class UpdateAutoscalingPolicyRequest (2.2.1)

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policy AutoscalingPolicy

Required. The updated autoscaling policy.

getPolicy

Required. The updated autoscaling policy.

Returns
Type Description
AutoscalingPolicy|null

hasPolicy

clearPolicy

setPolicy

Required. The updated autoscaling policy.

Parameter
Name Description
var AutoscalingPolicy
Returns
Type Description
$this

static::build

Parameter
Name Description
policy AutoscalingPolicy

Required. The updated autoscaling policy.

Returns
Type Description
UpdateAutoscalingPolicyRequest