public abstract static class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceImplBase extends Object implements BindableService
The API interface for managing autoscaling policies in the Dataproc API.
Constructor and Description |
---|
AutoscalingPolicyServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
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.
|
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.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.