Google Cloud Dataproc v1 API - Class AutoscalingPolicyService.AutoscalingPolicyServiceBase (5.10.0)

[BindServiceMethod(typeof(AutoscalingPolicyService), "BindService")]
public abstract class AutoscalingPolicyService.AutoscalingPolicyServiceBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class AutoscalingPolicyService.AutoscalingPolicyServiceBase.

Base class for server-side implementations of AutoscalingPolicyService

Inheritance

object > AutoscalingPolicyService.AutoscalingPolicyServiceBase

Namespace

Google.Cloud.Dataproc.V1

Assembly

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 CreateAutoscalingPolicyRequest

The request received from the client.

context ServerCallContext

The 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 DeleteAutoscalingPolicyRequest

The request received from the client.

context ServerCallContext

The 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 GetAutoscalingPolicyRequest

The request received from the client.

context ServerCallContext

The 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 ListAutoscalingPoliciesRequest

The request received from the client.

context ServerCallContext

The 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 UpdateAutoscalingPolicyRequest

The request received from the client.

context ServerCallContext

The 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).