public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub extends AbstractBlockingStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
The API interface for managing autoscaling policies in the Dataproc API.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub |
build(Channel channel,
CallOptions callOptions) |
AutoscalingPolicy |
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
|
Empty |
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy.
|
AutoscalingPolicy |
getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
|
ListAutoscalingPoliciesResponse |
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
|
AutoscalingPolicy |
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
public AutoscalingPolicy createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
public AutoscalingPolicy updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
public AutoscalingPolicy getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
public ListAutoscalingPoliciesResponse listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
public Empty deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
Copyright © 2022 Google LLC. All rights reserved.