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

The request received from the client.

context ServerCallContext

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

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<InterconnectLocationList>

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