Class InterconnectsConnection (2.20.0)

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 DeleteInterconnect(google::cloud::cpp::compute::interconnects::v1::DeleteInterconnectRequest const &)

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

virtual GetInterconnect(google::cloud::cpp::compute::interconnects::v1::GetInterconnectRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::GetInterconnectRequest 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 GetMacsecConfig(google::cloud::cpp::compute::interconnects::v1::GetMacsecConfigRequest const &)

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

virtual InsertInterconnect(google::cloud::cpp::compute::interconnects::v1::InsertInterconnectRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::InsertInterconnectRequest 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 PatchInterconnect(google::cloud::cpp::compute::interconnects::v1::PatchInterconnectRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnects::v1::PatchInterconnectRequest 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 > >