Compute Engine v1 API - Class Autoscalers.AutoscalersBase (2.12.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.

Parameters
NameDescription
requestAggregatedListAutoscalersRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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