Compute Engine v1 API - Class Addresses.AddressesBase (2.14.0)

[BindServiceMethod(typeof(Addresses), "BindService")]
public abstract class Addresses.AddressesBase

Reference documentation and code samples for the Compute Engine v1 API class Addresses.AddressesBase.

Base class for server-side implementations of Addresses

Inheritance

object > Addresses.AddressesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListAddressesRequest, ServerCallContext)

public virtual Task<AddressAggregatedList> AggregatedList(AggregatedListAddressesRequest request, ServerCallContext context)

Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListAddressesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskAddressAggregatedList

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

Delete(DeleteAddressRequest, ServerCallContext)

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

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteAddressRequest

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(GetAddressRequest, ServerCallContext)

public virtual Task<Address> Get(GetAddressRequest request, ServerCallContext context)

Returns the specified address resource.

Parameters
NameDescription
requestGetAddressRequest

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(InsertAddressRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertAddressRequest request, ServerCallContext context)

Creates an address resource in the specified project by using the data included in the request.

Parameters
NameDescription
requestInsertAddressRequest

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(ListAddressesRequest, ServerCallContext)

public virtual Task<AddressList> List(ListAddressesRequest request, ServerCallContext context)

Retrieves a list of addresses contained within the specified region.

Parameters
NameDescription
requestListAddressesRequest

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(MoveAddressRequest, ServerCallContext)

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

Moves the specified address resource.

Parameters
NameDescription
requestMoveAddressRequest

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(SetLabelsAddressRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsAddressRequest request, ServerCallContext context)

Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.

Parameters
NameDescription
requestSetLabelsAddressRequest

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).