public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub extends AbstractAsyncStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub>
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.AutoscalingPolicyServiceStub |
build(Channel channel,
CallOptions callOptions) |
void |
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request,
StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.
|
void |
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request,
StreamObserver<Empty> responseObserver)
Deletes an autoscaling policy.
|
void |
getAutoscalingPolicy(GetAutoscalingPolicyRequest request,
StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.
|
void |
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request,
StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.
|
void |
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request,
StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub>
public void createAutoscalingPolicy(CreateAutoscalingPolicyRequest request, StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.
public void updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request, StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
public void getAutoscalingPolicy(GetAutoscalingPolicyRequest request, StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.
public void listAutoscalingPolicies(ListAutoscalingPoliciesRequest request, StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.
public void deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request, StreamObserver<Empty> responseObserver)
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.