Class InterconnectRemoteLocationsConnection (2.26.0-rc)

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

To create a concrete instance, see MakeInterconnectRemoteLocationsConnection().

For mocking, see compute_interconnect_remote_locations_v1_mocks::MockInterconnectRemoteLocationsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetInterconnectRemoteLocation(google::cloud::cpp::compute::interconnect_remote_locations::v1::GetInterconnectRemoteLocationRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_remote_locations::v1::GetInterconnectRemoteLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::InterconnectRemoteLocation >

virtual ListInterconnectRemoteLocations(google::cloud::cpp::compute::interconnect_remote_locations::v1::ListInterconnectRemoteLocationsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_remote_locations::v1::ListInterconnectRemoteLocationsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::InterconnectRemoteLocation >