Class InterconnectsConnection (2.31.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 DeleteInterconnect(NoAwaitTag, google::cloud::cpp::compute::interconnects::v1::DeleteInterconnectRequest const &)

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

virtual DeleteInterconnect(google::cloud::cpp::compute::v1::Operation const &)

Parameter
Name Description
operation google::cloud::cpp::compute::v1::Operation 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 InsertInterconnect(NoAwaitTag, google::cloud::cpp::compute::interconnects::v1::InsertInterconnectRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::interconnects::v1::InsertInterconnectRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

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

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

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::interconnects::v1::PatchInterconnectRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual PatchInterconnect(google::cloud::cpp::compute::v1::Operation const &)

Parameter
Name Description
operation google::cloud::cpp::compute::v1::Operation 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 > >

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

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

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

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