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

[BindServiceMethod(typeof(Addresses), "BindService")]
public abstract class 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.

Parameters
NameDescription
requestAggregatedListAddressesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<AddressAggregatedList>

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
Task<Operation>

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
Task<Address>

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
Task<Operation>

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
Task<AddressList>

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
Task<Operation>

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