[BindServiceMethod(typeof(TargetInstances), "BindService")]
public abstract class TargetInstances.TargetInstancesBase
Reference documentation and code samples for the Compute Engine v1 API class TargetInstances.TargetInstancesBase.
Base class for server-side implementations of TargetInstances
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListTargetInstancesRequest, ServerCallContext)
public virtual Task<TargetInstanceAggregatedList> AggregatedList(AggregatedListTargetInstancesRequest request, ServerCallContext context)
Retrieves an aggregated list of target instances.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetInstancesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskTargetInstanceAggregatedList | The response to send back to the client (wrapped by a task). |
Delete(DeleteTargetInstanceRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteTargetInstanceRequest request, ServerCallContext context)
Deletes the specified TargetInstance resource.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetInstanceRequest The request received from the client. |
context | ServerCallContext The 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(GetTargetInstanceRequest, ServerCallContext)
public virtual Task<TargetInstance> Get(GetTargetInstanceRequest request, ServerCallContext context)
Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetTargetInstanceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskTargetInstance | The response to send back to the client (wrapped by a task). |
Insert(InsertTargetInstanceRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertTargetInstanceRequest request, ServerCallContext context)
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetInstanceRequest The request received from the client. |
context | ServerCallContext The 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(ListTargetInstancesRequest, ServerCallContext)
public virtual Task<TargetInstanceList> List(ListTargetInstancesRequest request, ServerCallContext context)
Retrieves a list of TargetInstance resources available to the specified project and zone.
Parameters | |
---|---|
Name | Description |
request | ListTargetInstancesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskTargetInstanceList | The response to send back to the client (wrapped by a task). |