Class InterconnectLocations.InterconnectLocationsBase (2.0.0)

[BindServiceMethod(typeof(InterconnectLocations), "BindService")]
public abstract class InterconnectLocationsBase

Base class for server-side implementations of InterconnectLocations

Inheritance

Object > InterconnectLocations.InterconnectLocationsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Get(GetInterconnectLocationRequest, ServerCallContext)

public virtual Task<InterconnectLocation> Get(GetInterconnectLocationRequest request, ServerCallContext context)

Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.

Parameters
NameDescription
requestGetInterconnectLocationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<InterconnectLocation>

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

List(ListInterconnectLocationsRequest, ServerCallContext)

public virtual Task<InterconnectLocationList> List(ListInterconnectLocationsRequest request, ServerCallContext context)

Retrieves the list of interconnect locations available to the specified project.

Parameters
NameDescription
requestListInterconnectLocationsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<InterconnectLocationList>

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