Class ReachabilityServiceConnection (2.15.0)

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

To create a concrete instance, see MakeReachabilityServiceConnection().

For mocking, see networkmanagement_v1_mocks::MockReachabilityServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListConnectivityTests(google::cloud::networkmanagement::v1::ListConnectivityTestsRequest)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::ListConnectivityTestsRequest
Returns
TypeDescription
StreamRange< google::cloud::networkmanagement::v1::ConnectivityTest >

virtual GetConnectivityTest(google::cloud::networkmanagement::v1::GetConnectivityTestRequest const &)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::GetConnectivityTestRequest const &
Returns
TypeDescription
StatusOr< google::cloud::networkmanagement::v1::ConnectivityTest >

virtual CreateConnectivityTest(google::cloud::networkmanagement::v1::CreateConnectivityTestRequest const &)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::CreateConnectivityTestRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::networkmanagement::v1::ConnectivityTest > >

virtual UpdateConnectivityTest(google::cloud::networkmanagement::v1::UpdateConnectivityTestRequest const &)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::UpdateConnectivityTestRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::networkmanagement::v1::ConnectivityTest > >

virtual RerunConnectivityTest(google::cloud::networkmanagement::v1::RerunConnectivityTestRequest const &)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::RerunConnectivityTestRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::networkmanagement::v1::ConnectivityTest > >

virtual DeleteConnectivityTest(google::cloud::networkmanagement::v1::DeleteConnectivityTestRequest const &)

Parameter
NameDescription
request google::cloud::networkmanagement::v1::DeleteConnectivityTestRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::networkmanagement::v1::OperationMetadata > >