Send feedback
Class HealthChecksConnection (2.40.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual AggregatedListHealthChecks(google::cloud::cpp::compute::health_checks::v1::AggregatedListHealthChecksRequest)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::AggregatedListHealthChecksRequest
Returns
Type
Description
StreamRange< std::pair< std::string, google::cloud::cpp::compute::v1::HealthChecksScopedList > >
virtual DeleteHealthCheck(google::cloud::cpp::compute::health_checks::v1::DeleteHealthCheckRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::DeleteHealthCheckRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual DeleteHealthCheck(NoAwaitTag, google::cloud::cpp::compute::health_checks::v1::DeleteHealthCheckRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::health_checks::v1::DeleteHealthCheckRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual DeleteHealthCheck(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 GetHealthCheck(google::cloud::cpp::compute::health_checks::v1::GetHealthCheckRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::GetHealthCheckRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::HealthCheck >
virtual InsertHealthCheck(google::cloud::cpp::compute::health_checks::v1::InsertHealthCheckRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::InsertHealthCheckRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual InsertHealthCheck(NoAwaitTag, google::cloud::cpp::compute::health_checks::v1::InsertHealthCheckRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::health_checks::v1::InsertHealthCheckRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual InsertHealthCheck(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 ListHealthChecks(google::cloud::cpp::compute::health_checks::v1::ListHealthChecksRequest)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::ListHealthChecksRequest
Returns
Type
Description
StreamRange< google::cloud::cpp::compute::v1::HealthCheck >
virtual PatchHealthCheck(google::cloud::cpp::compute::health_checks::v1::PatchHealthCheckRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::PatchHealthCheckRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual PatchHealthCheck(NoAwaitTag, google::cloud::cpp::compute::health_checks::v1::PatchHealthCheckRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::health_checks::v1::PatchHealthCheckRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual PatchHealthCheck(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 UpdateHealthCheck(google::cloud::cpp::compute::health_checks::v1::UpdateHealthCheckRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::health_checks::v1::UpdateHealthCheckRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual UpdateHealthCheck(NoAwaitTag, google::cloud::cpp::compute::health_checks::v1::UpdateHealthCheckRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::health_checks::v1::UpdateHealthCheckRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual UpdateHealthCheck(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 > >
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["The latest version of `HealthChecksConnection` is 2.37.0-rc, as part of the C++ compute health checks library."],["This interface provides virtual methods for each user-facing overload set in `HealthChecksClient`, enabling custom behavior in tests."],["`HealthChecksConnection` includes methods to manage health checks, such as `AggregatedListHealthChecks`, `DeleteHealthCheck`, `GetHealthCheck`, `InsertHealthCheck`, `ListHealthChecks`, `PatchHealthCheck`, and `UpdateHealthCheck`."],["The `HealthChecksConnection` object, paired with `HealthChecksClient` allows for streamlined management of health check operations and allows for the injection of custom behaviours for testing."],["`MakeHealthChecksConnection()` can be used to create concrete instances, while `MockHealthChecksConnection` can be used to help with mocking."]]],[]]