[BindServiceMethod(typeof(Autoscalers), "BindService")]
public abstract class AutoscalersBaseBase class for server-side implementations of Autoscalers
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
request |
AggregatedListAutoscalersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 | |
|---|---|
| Name | Description |
request |
GetAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 | |
|---|---|
| Name | Description |
request |
InsertAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(ListAutoscalersRequest, ServerCallContext)
public virtual Task<AutoscalerList> List(ListAutoscalersRequest request, ServerCallContext context)Retrieves a list of autoscalers contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAutoscalersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PatchAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 | |
|---|---|
| Name | Description |
request |
UpdateAutoscalerRequestThe request received from the client. |
context |
ServerCallContextThe 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). |