Package com.google.cloud.dataproc.v1
Interface AutoscalingPolicyServiceGrpc.AsyncService
-
- All Known Implementing Classes:
AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceImplBase
- Enclosing class:
- AutoscalingPolicyServiceGrpc
public static interface AutoscalingPolicyServiceGrpc.AsyncService
The API interface for managing autoscaling policies in the Dataproc API.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.default void
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an autoscaling policy.default void
getAutoscalingPolicy(GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.default void
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request, io.grpc.stub.StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.default void
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy.
-
-
-
Method Detail
-
createAutoscalingPolicy
default void createAutoscalingPolicy(CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.
-
updateAutoscalingPolicy
default void updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
-
getAutoscalingPolicy
default void getAutoscalingPolicy(GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.
-
listAutoscalingPolicies
default void listAutoscalingPolicies(ListAutoscalingPoliciesRequest request, io.grpc.stub.StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.
-
deleteAutoscalingPolicy
default void deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
-
-