[BindServiceMethod(typeof(RegionAutoscalers), "BindService")]
public abstract class RegionAutoscalers.RegionAutoscalersBaseReference documentation and code samples for the Compute Engine v1 API class RegionAutoscalers.RegionAutoscalersBase.
Base class for server-side implementations of RegionAutoscalers
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteRegionAutoscalerRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionAutoscalerRequest request, ServerCallContext context)Deletes the specified autoscaler.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(GetRegionAutoscalerRequest, ServerCallContext)
public virtual Task<Autoscaler> Get(GetRegionAutoscalerRequest request, ServerCallContext context)Returns the specified autoscaler.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 | |
|---|---|
| Name | Description |
request |
InsertRegionAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(ListRegionAutoscalersRequest, ServerCallContext)
public virtual Task<RegionAutoscalerList> List(ListRegionAutoscalersRequest request, ServerCallContext context)Retrieves a list of autoscalers contained within the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionAutoscalersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRegionAutoscalerList |
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 supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 | |
|---|---|
| Name | Description |
request |
UpdateRegionAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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). |