[BindServiceMethod(typeof(AutoscalingPolicyService), "BindService")]
public abstract class AutoscalingPolicyService.AutoscalingPolicyServiceBaseReference documentation and code samples for the Google Cloud Dataproc v1 API class AutoscalingPolicyService.AutoscalingPolicyServiceBase.
Base class for server-side implementations of AutoscalingPolicyService
Namespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Methods
CreateAutoscalingPolicy(CreateAutoscalingPolicyRequest, ServerCallContext)
public virtual Task<AutoscalingPolicy> CreateAutoscalingPolicy(CreateAutoscalingPolicyRequest request, ServerCallContext context)Creates new autoscaling policy.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAutoscalingPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAutoscalingPolicy |
The response to send back to the client (wrapped by a task). |
DeleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest, ServerCallContext)
public virtual Task<Empty> DeleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request, ServerCallContext context)Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAutoscalingPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetAutoscalingPolicy(GetAutoscalingPolicyRequest, ServerCallContext)
public virtual Task<AutoscalingPolicy> GetAutoscalingPolicy(GetAutoscalingPolicyRequest request, ServerCallContext context)Retrieves autoscaling policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAutoscalingPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAutoscalingPolicy |
The response to send back to the client (wrapped by a task). |
ListAutoscalingPolicies(ListAutoscalingPoliciesRequest, ServerCallContext)
public virtual Task<ListAutoscalingPoliciesResponse> ListAutoscalingPolicies(ListAutoscalingPoliciesRequest request, ServerCallContext context)Lists autoscaling policies in the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAutoscalingPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAutoscalingPoliciesResponse |
The response to send back to the client (wrapped by a task). |
UpdateAutoscalingPolicy(UpdateAutoscalingPolicyRequest, ServerCallContext)
public virtual Task<AutoscalingPolicy> UpdateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request, ServerCallContext context)Updates (replaces) autoscaling policy.
Disabled check for update_mask, because all updates will be full replacements.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAutoscalingPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAutoscalingPolicy |
The response to send back to the client (wrapped by a task). |