Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::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::V1beta2::AutoscalingPolicy
Returns
- (::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy) — Required. The updated autoscaling policy.
#policy=
def policy=(value) -> ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy
Parameter
- value (::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy) — Required. The updated autoscaling policy.
Returns
- (::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy) — Required. The updated autoscaling policy.