Class Addresses.AddressesBase (2.0.0)

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

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