Class UptimeCheckServiceConnection (2.11.0)

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

To create a concrete instance, see MakeUptimeCheckServiceConnection().

For mocking, see monitoring_v3_mocks::MockUptimeCheckServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListUptimeCheckConfigs(google::monitoring::v3::ListUptimeCheckConfigsRequest)

Parameter
NameDescription
request google::monitoring::v3::ListUptimeCheckConfigsRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::UptimeCheckConfig >

virtual GetUptimeCheckConfig(google::monitoring::v3::GetUptimeCheckConfigRequest const &)

Parameter
NameDescription
request google::monitoring::v3::GetUptimeCheckConfigRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::UptimeCheckConfig >

virtual CreateUptimeCheckConfig(google::monitoring::v3::CreateUptimeCheckConfigRequest const &)

Parameter
NameDescription
request google::monitoring::v3::CreateUptimeCheckConfigRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::UptimeCheckConfig >

virtual UpdateUptimeCheckConfig(google::monitoring::v3::UpdateUptimeCheckConfigRequest const &)

Parameter
NameDescription
request google::monitoring::v3::UpdateUptimeCheckConfigRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::UptimeCheckConfig >

virtual DeleteUptimeCheckConfig(google::monitoring::v3::DeleteUptimeCheckConfigRequest const &)

Parameter
NameDescription
request google::monitoring::v3::DeleteUptimeCheckConfigRequest const &
Returns
TypeDescription
Status

virtual ListUptimeCheckIps(google::monitoring::v3::ListUptimeCheckIpsRequest)

Parameter
NameDescription
request google::monitoring::v3::ListUptimeCheckIpsRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::UptimeCheckIp >