public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub extends io.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
The API interface for managing autoscaling policies in the Google Cloud Dataproc API.
| Modifier and Type | Method and Description |
|---|---|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
AutoscalingPolicy |
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
|
com.google.protobuf.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.
|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.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 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.