Class Autoscalers.AutoscalersBase (1.3.0)

[BindServiceMethod(typeof(Autoscalers), "BindService")]
public abstract class 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
Task<AutoscalerAggregatedList>

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
Task<Operation>

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. Gets a list of available autoscalers by making a list() request.

Parameters
NameDescription
requestGetAutoscalerRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Autoscaler>

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
Task<Operation>

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
Task<AutoscalerList>

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
Task<Operation>

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
Task<Operation>

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