public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub extends io.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub>
The API interface for managing autoscaling policies in the Google Cloud Dataproc API.
| Modifier and Type | Method and Description |
|---|---|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> |
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy.
|
com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> |
getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
|
com.google.common.util.concurrent.ListenableFuture<ListAutoscalingPoliciesResponse> |
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
|
com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> |
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy.
|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
public com.google.common.util.concurrent.ListenableFuture<ListAutoscalingPoliciesResponse> listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.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 © 2019 Google LLC. All rights reserved.