Compute Engine v1 API - Class Addresses.AddressesBase (3.2.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
Name Description
request AggregatedListAddressesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteAddressRequest

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

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

Returns the specified address resource.

Parameters
Name Description
request GetAddressRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request InsertAddressRequest

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

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

Retrieves a list of addresses contained within the specified region.

Parameters
Name Description
request ListAddressesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request MoveAddressRequest

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

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
Name Description
request SetLabelsAddressRequest

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