[BindServiceMethod(typeof(GlobalAddresses), "BindService")]
public abstract class GlobalAddressesBaseReference documentation and code samples for the Compute Engine v1 API class GlobalAddresses.GlobalAddressesBase.
Base class for server-side implementations of GlobalAddresses
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteGlobalAddressRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteGlobalAddressRequest request, ServerCallContext context)Deletes the specified address resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalAddressRequestThe 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(GetGlobalAddressRequest, ServerCallContext)
public virtual Task<Address> Get(GetGlobalAddressRequest request, ServerCallContext context)Returns the specified address resource. Gets a list of available addresses by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Address> |
The response to send back to the client (wrapped by a task). |
Insert(InsertGlobalAddressRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertGlobalAddressRequest request, ServerCallContext context)Creates an address resource in the specified project by using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalAddressRequestThe 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(ListGlobalAddressesRequest, ServerCallContext)
public virtual Task<AddressList> List(ListGlobalAddressesRequest request, ServerCallContext context)Retrieves a list of global addresses.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalAddressesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<AddressList> |
The response to send back to the client (wrapped by a task). |
SetLabels(SetLabelsGlobalAddressRequest, ServerCallContext)
public virtual Task<Operation> SetLabels(SetLabelsGlobalAddressRequest request, ServerCallContext context)Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsGlobalAddressRequestThe 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). |