Class InterconnectsConnection (2.15.1)

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

To create a concrete instance, see MakeInterconnectsConnection().

For mocking, see compute_interconnects_v1_mocks::MockInterconnectsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteInterconnects(google::cloud::cpp::compute::interconnects::v1::DeleteInterconnectsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::DeleteInterconnectsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetInterconnects(google::cloud::cpp::compute::interconnects::v1::GetInterconnectsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::GetInterconnectsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Interconnect >

virtual GetDiagnostics(google::cloud::cpp::compute::interconnects::v1::GetDiagnosticsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::GetDiagnosticsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::InterconnectsGetDiagnosticsResponse >

virtual InsertInterconnects(google::cloud::cpp::compute::interconnects::v1::InsertInterconnectsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::InsertInterconnectsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListInterconnects(google::cloud::cpp::compute::interconnects::v1::ListInterconnectsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::ListInterconnectsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::Interconnect >

virtual PatchInterconnects(google::cloud::cpp::compute::interconnects::v1::PatchInterconnectsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::PatchInterconnectsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual SetLabels(google::cloud::cpp::compute::interconnects::v1::SetLabelsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::SetLabelsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >