[BindServiceMethod(typeof(RegionAutoscalers), "BindService")]
public abstract class RegionAutoscalersBase
Reference 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 | DeleteRegionAutoscalerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRegionAutoscalerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertRegionAutoscalerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRegionAutoscalersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | PatchRegionAutoscalerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateRegionAutoscalerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |