[BindServiceMethod(typeof(Autoscalers), "BindService")]
public abstract class Autoscalers.AutoscalersBaseReference documentation and code samples for the Compute Engine v1 API class Autoscalers.AutoscalersBase.
Base class for server-side implementations of Autoscalers
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
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 |
TaskAutoscalerAggregatedList |
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 |
TaskOperation |
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.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAutoscalerRequestThe 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(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 |
TaskOperation |
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 |
TaskAutoscalerList |
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 |
TaskOperation |
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 |
TaskOperation |
The response to send back to the client (wrapped by a task). |