Skip to main content
Google Cloud Documentation
Documentation Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • C++
  • Documentation
  • Reference
Start free
Overview Guides Reference Samples
Google Cloud Documentation
  • Documentation
    • Overview
    • Guides
    • Reference
    • Samples
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Console
  • Overview
  • Library reference docs
  • Service Health API C++ Client Library
  • In-Depth Topics
    • Environment Variables
    • How to Override the Authentication Credentials
    • How to Override the Default Endpoint
    • Override Retry, Backoff, and Idempotency Policies
    • Override servicehealth_v1::ServiceHealthClient Retry Policies
  • Modules
    • Service Health API Configuration Options
  • Namespaces
    • google::cloud::servicehealth_v1
      • Overview
      • Classes
        • ServiceHealthClient
          • Overview
          • Constructors
            • ServiceHealthClient(ServiceHealthClient const &)
            • ServiceHealthClient(ServiceHealthClient &&)
            • ServiceHealthClient(std::shared_ptr< ServiceHealthConnection >, Options)
          • Operators
            • operator=(ServiceHealthClient const &)
            • operator=(ServiceHealthClient &&)
            • operator==(ServiceHealthClient const &, ServiceHealthClient const &)
            • operator!=(ServiceHealthClient const &, ServiceHealthClient const &)
          • Functions
            • ListEvents(std::string const &, Options)
            • ListEvents(google::cloud::servicehealth::v1::ListEventsRequest, Options)
            • GetEvent(std::string const &, Options)
            • GetEvent(google::cloud::servicehealth::v1::GetEventRequest const &, Options)
            • ListOrganizationEvents(std::string const &, Options)
            • ListOrganizationEvents(google::cloud::servicehealth::v1::ListOrganizationEventsRequest, Options)
            • GetOrganizationEvent(std::string const &, Options)
            • GetOrganizationEvent(google::cloud::servicehealth::v1::GetOrganizationEventRequest const &, Options)
            • ListOrganizationImpacts(std::string const &, Options)
            • ListOrganizationImpacts(google::cloud::servicehealth::v1::ListOrganizationImpactsRequest, Options)
            • GetOrganizationImpact(std::string const &, Options)
            • GetOrganizationImpact(google::cloud::servicehealth::v1::GetOrganizationImpactRequest const &, Options)
            • ListLocations(google::cloud::location::ListLocationsRequest, Options)
            • GetLocation(google::cloud::location::GetLocationRequest const &, Options)
        • ServiceHealthConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListEvents(google::cloud::servicehealth::v1::ListEventsRequest)
            • virtual GetEvent(google::cloud::servicehealth::v1::GetEventRequest const &)
            • virtual ListOrganizationEvents(google::cloud::servicehealth::v1::ListOrganizationEventsRequest)
            • virtual GetOrganizationEvent(google::cloud::servicehealth::v1::GetOrganizationEventRequest const &)
            • virtual ListOrganizationImpacts(google::cloud::servicehealth::v1::ListOrganizationImpactsRequest)
            • virtual GetOrganizationImpact(google::cloud::servicehealth::v1::GetOrganizationImpactRequest const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
        • ServiceHealthConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual ListEvents(google::cloud::servicehealth::v1::ListEventsRequest)
            • virtual GetEvent(google::cloud::servicehealth::v1::GetEventRequest const &)
            • virtual ListOrganizationEvents(google::cloud::servicehealth::v1::ListOrganizationEventsRequest)
            • virtual GetOrganizationEvent(google::cloud::servicehealth::v1::GetOrganizationEventRequest const &)
            • virtual ListOrganizationImpacts(google::cloud::servicehealth::v1::ListOrganizationImpactsRequest)
            • virtual GetOrganizationImpact(google::cloud::servicehealth::v1::GetOrganizationImpactRequest const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
        • ServiceHealthLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • ServiceHealthLimitedErrorCountRetryPolicy(int)
            • ServiceHealthLimitedErrorCountRetryPolicy(ServiceHealthLimitedErrorCountRetryPolicy &&)
            • ServiceHealthLimitedErrorCountRetryPolicy(ServiceHealthLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • ServiceHealthLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • ServiceHealthLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • ServiceHealthLimitedTimeRetryPolicy(ServiceHealthLimitedTimeRetryPolicy &&)
            • ServiceHealthLimitedTimeRetryPolicy(ServiceHealthLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • ServiceHealthRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • ServiceHealthBackoffPolicyOption
          • Overview
          • Types
            • Type
        • ServiceHealthConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • ServiceHealthRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeServiceHealthConnection(Options)
        • MakeDefaultServiceHealthConnectionIdempotencyPolicy()
    • google::cloud::servicehealth_v1_mocks
      • Overview
      • Classes
        • MockServiceHealthConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListEvents(google::cloud::servicehealth::v1::ListEventsRequest)
            • virtual GetEvent(google::cloud::servicehealth::v1::GetEventRequest const &)
            • virtual ListOrganizationEvents(google::cloud::servicehealth::v1::ListOrganizationEventsRequest)
            • virtual GetOrganizationEvent(google::cloud::servicehealth::v1::GetOrganizationEventRequest const &)
            • virtual ListOrganizationImpacts(google::cloud::servicehealth::v1::ListOrganizationImpactsRequest)
            • virtual GetOrganizationImpact(google::cloud::servicehealth::v1::GetOrganizationImpactRequest const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
  • Home
  • C++
  • Documentation
  • Reference

Namespace google::cloud::servicehealth_v1_mocks (2.44.0-rc)
Stay organized with collections Save and categorize content based on your preferences.

  • 2.44.0-rc (latest)
  • 2.43.0
  • 2.42.0
  • 2.41.0
  • 2.40.0
  • 2.39.0
  • 2.38.0
  • 2.37.0
  • 2.36.0
  • 2.35.0
  • 2.34.0
  • 2.33.0
  • 2.32.0
  • 2.31.0
  • 2.30.0
  • 2.29.0
  • 2.28.0
  • 2.27.0
  • 2.26.0
  • 2.25.1
  • 2.24.0
  • 2.23.0
  • 2.22.1
  • 2.21.0

Classes

MockServiceHealthConnection

A class to mock ServiceHealthConnection.

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-10-10 UTC.

  • Products and pricing

    • See all products
    • Google Cloud pricing
    • Google Cloud Marketplace
    • Contact sales
  • Support

    • Google Cloud Community
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어