Class InterconnectLocationsConnection (2.17.0)

This interface defines virtual methods for each of the user-facing overload sets in InterconnectLocationsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type InterconnectLocationsClient.

To create a concrete instance, see MakeInterconnectLocationsConnection().

For mocking, see compute_interconnect_locations_v1_mocks::MockInterconnectLocationsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetInterconnectLocation(google::cloud::cpp::compute::interconnect_locations::v1::GetInterconnectLocationRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_locations::v1::GetInterconnectLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::InterconnectLocation >

virtual ListInterconnectLocations(google::cloud::cpp::compute::interconnect_locations::v1::ListInterconnectLocationsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_locations::v1::ListInterconnectLocationsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::InterconnectLocation >