Google Cloud Dataproc v1 API - Class AutoscalingPolicyService.AutoscalingPolicyServiceBase (5.8.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
NameDescription
requestCreateAutoscalingPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteAutoscalingPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetAutoscalingPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListAutoscalingPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateAutoscalingPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAutoscalingPolicy

The response to send back to the client (wrapped by a task).