Class RegionAutoscalers.RegionAutoscalersBase (1.0.0)

[BindServiceMethod(typeof(RegionAutoscalers), "BindService")]
public abstract class RegionAutoscalersBase

Base class for server-side implementations of RegionAutoscalers

Inheritance

Object > RegionAutoscalers.RegionAutoscalersBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteRegionAutoscalerRequest, ServerCallContext)

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

Deletes the specified autoscaler.

Parameters
NameDescription
requestDeleteRegionAutoscalerRequest

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(GetRegionAutoscalerRequest, ServerCallContext)

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

Returns the specified autoscaler.

Parameters
NameDescription
requestGetRegionAutoscalerRequest

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(InsertRegionAutoscalerRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestInsertRegionAutoscalerRequest

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(ListRegionAutoscalersRequest, ServerCallContext)

public virtual Task<RegionAutoscalerList> List(ListRegionAutoscalersRequest request, ServerCallContext context)

Retrieves a list of autoscalers contained within the specified region.

Parameters
NameDescription
requestListRegionAutoscalersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<RegionAutoscalerList>

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

Patch(PatchRegionAutoscalerRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchRegionAutoscalerRequest 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
requestPatchRegionAutoscalerRequest

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(UpdateRegionAutoscalerRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestUpdateRegionAutoscalerRequest

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