Compute Engine v1 API - Class Autoscalers.AutoscalersBase (2.17.0)

[BindServiceMethod(typeof(Autoscalers), "BindService")]
public abstract class Autoscalers.AutoscalersBase

Reference documentation and code samples for the Compute Engine v1 API class Autoscalers.AutoscalersBase.

Base class for server-side implementations of Autoscalers

Inheritance

object > Autoscalers.AutoscalersBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListAutoscalersRequest, ServerCallContext)

public virtual Task<AutoscalerAggregatedList> AggregatedList(AggregatedListAutoscalersRequest request, ServerCallContext context)

Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListAutoscalersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAutoscalerAggregatedList

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

Delete(DeleteAutoscalerRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteAutoscalerRequest request, ServerCallContext context)

Deletes the specified autoscaler.

Parameters
Name Description
request DeleteAutoscalerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

Get(GetAutoscalerRequest, ServerCallContext)

public virtual Task<Autoscaler> Get(GetAutoscalerRequest request, ServerCallContext context)

Returns the specified autoscaler resource.

Parameters
Name Description
request GetAutoscalerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAutoscaler

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

Insert(InsertAutoscalerRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertAutoscalerRequest request, ServerCallContext context)

Creates an autoscaler in the specified project using the data included in the request.

Parameters
Name Description
request InsertAutoscalerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

List(ListAutoscalersRequest, ServerCallContext)

public virtual Task<AutoscalerList> List(ListAutoscalersRequest request, ServerCallContext context)

Retrieves a list of autoscalers contained within the specified zone.

Parameters
Name Description
request ListAutoscalersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAutoscalerList

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

Patch(PatchAutoscalerRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchAutoscalerRequest request, ServerCallContext context)

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
Name Description
request PatchAutoscalerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

Update(UpdateAutoscalerRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateAutoscalerRequest request, ServerCallContext context)

Updates an autoscaler in the specified project using the data included in the request.

Parameters
Name Description
request UpdateAutoscalerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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