Class UptimeCheckServiceConnection (2.12.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
Type Description
Options

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

Parameter
Name Description
request google::monitoring::v3::ListUptimeCheckConfigsRequest
Returns
Type Description
StreamRange< google::monitoring::v3::UptimeCheckConfig >

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

Parameter
Name Description
request google::monitoring::v3::GetUptimeCheckConfigRequest const &
Returns
Type Description
StatusOr< google::monitoring::v3::UptimeCheckConfig >

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

Parameter
Name Description
request google::monitoring::v3::CreateUptimeCheckConfigRequest const &
Returns
Type Description
StatusOr< google::monitoring::v3::UptimeCheckConfig >

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

Parameter
Name Description
request google::monitoring::v3::UpdateUptimeCheckConfigRequest const &
Returns
Type Description
StatusOr< google::monitoring::v3::UptimeCheckConfig >

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

Parameter
Name Description
request google::monitoring::v3::DeleteUptimeCheckConfigRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::monitoring::v3::ListUptimeCheckIpsRequest
Returns
Type Description
StreamRange< google::monitoring::v3::UptimeCheckIp >