Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::UpdateAutoscalingPolicyRequest.
A request to update an autoscaling policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Cloud::Dataproc::V1::AutoscalingPolicy
Returns
- (::Google::Cloud::Dataproc::V1::AutoscalingPolicy) — Required. The updated autoscaling policy.
#policy=
def policy=(value) -> ::Google::Cloud::Dataproc::V1::AutoscalingPolicy
Parameter
- value (::Google::Cloud::Dataproc::V1::AutoscalingPolicy) — Required. The updated autoscaling policy.
Returns
- (::Google::Cloud::Dataproc::V1::AutoscalingPolicy) — Required. The updated autoscaling policy.