Compute Engine v1 API - Class GlobalAddresses.GlobalAddressesBase (2.13.0)

[BindServiceMethod(typeof(GlobalAddresses), "BindService")]
public abstract class GlobalAddresses.GlobalAddressesBase

Reference documentation and code samples for the Compute Engine v1 API class GlobalAddresses.GlobalAddressesBase.

Base class for server-side implementations of GlobalAddresses

Inheritance

object > GlobalAddresses.GlobalAddressesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteGlobalAddressRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteGlobalAddressRequest request, ServerCallContext context)

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteGlobalAddressRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

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.

Parameters
NameDescription
requestGetGlobalAddressRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAddress

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
NameDescription
requestInsertGlobalAddressRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestListGlobalAddressesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAddressList

The response to send back to the client (wrapped by a task).

Move(MoveGlobalAddressRequest, ServerCallContext)

public virtual Task<Operation> Move(MoveGlobalAddressRequest request, ServerCallContext context)

Moves the specified address resource from one project to another project.

Parameters
NameDescription
requestMoveGlobalAddressRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestSetLabelsGlobalAddressRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).