Skip to main content
S3NS
Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
  • C++
  • Client libraries
Overview Guides Reference Samples
S3NS
  • Technology areas
    • More
    • Overview
    • Guides
    • Reference
    • Samples
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • App Hub 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 apphub_v1::AppHubClient Retry Policies
  • Modules
    • App Hub API Configuration Options
  • Namespaces
    • google::cloud::apphub_v1
      • Overview
      • Classes
        • AppHubClient
          • Overview
          • Constructors
            • AppHubClient(AppHubClient const &)
            • AppHubClient(AppHubClient &&)
            • AppHubClient(std::shared_ptr< AppHubConnection >, Options)
          • Operators
            • operator=(AppHubClient const &)
            • operator=(AppHubClient &&)
            • operator==(AppHubClient const &, AppHubClient const &)
            • operator!=(AppHubClient const &, AppHubClient const &)
          • Functions
            • LookupServiceProjectAttachment(std::string const &, Options)
            • LookupServiceProjectAttachment(google::cloud::apphub::v1::LookupServiceProjectAttachmentRequest const &, Options)
            • ListServiceProjectAttachments(std::string const &, Options)
            • ListServiceProjectAttachments(google::cloud::apphub::v1::ListServiceProjectAttachmentsRequest, Options)
            • CreateServiceProjectAttachment(std::string const &, google::cloud::apphub::v1::ServiceProjectAttachment const &, std::string const &, Options)
            • CreateServiceProjectAttachment(google::cloud::apphub::v1::CreateServiceProjectAttachmentRequest const &, Options)
            • GetServiceProjectAttachment(std::string const &, Options)
            • GetServiceProjectAttachment(google::cloud::apphub::v1::GetServiceProjectAttachmentRequest const &, Options)
            • DeleteServiceProjectAttachment(std::string const &, Options)
            • DeleteServiceProjectAttachment(google::cloud::apphub::v1::DeleteServiceProjectAttachmentRequest const &, Options)
            • DetachServiceProjectAttachment(std::string const &, Options)
            • DetachServiceProjectAttachment(google::cloud::apphub::v1::DetachServiceProjectAttachmentRequest const &, Options)
            • ListDiscoveredServices(std::string const &, Options)
            • ListDiscoveredServices(google::cloud::apphub::v1::ListDiscoveredServicesRequest, Options)
            • GetDiscoveredService(std::string const &, Options)
            • GetDiscoveredService(google::cloud::apphub::v1::GetDiscoveredServiceRequest const &, Options)
            • LookupDiscoveredService(std::string const &, std::string const &, Options)
            • LookupDiscoveredService(google::cloud::apphub::v1::LookupDiscoveredServiceRequest const &, Options)
            • ListServices(std::string const &, Options)
            • ListServices(google::cloud::apphub::v1::ListServicesRequest, Options)
            • CreateService(std::string const &, google::cloud::apphub::v1::Service const &, std::string const &, Options)
            • CreateService(google::cloud::apphub::v1::CreateServiceRequest const &, Options)
            • GetService(std::string const &, Options)
            • GetService(google::cloud::apphub::v1::GetServiceRequest const &, Options)
            • UpdateService(google::cloud::apphub::v1::Service const &, google::protobuf::FieldMask const &, Options)
            • UpdateService(google::cloud::apphub::v1::UpdateServiceRequest const &, Options)
            • DeleteService(std::string const &, Options)
            • DeleteService(google::cloud::apphub::v1::DeleteServiceRequest const &, Options)
            • ListDiscoveredWorkloads(std::string const &, Options)
            • ListDiscoveredWorkloads(google::cloud::apphub::v1::ListDiscoveredWorkloadsRequest, Options)
            • GetDiscoveredWorkload(std::string const &, Options)
            • GetDiscoveredWorkload(google::cloud::apphub::v1::GetDiscoveredWorkloadRequest const &, Options)
            • LookupDiscoveredWorkload(std::string const &, std::string const &, Options)
            • LookupDiscoveredWorkload(google::cloud::apphub::v1::LookupDiscoveredWorkloadRequest const &, Options)
            • ListWorkloads(std::string const &, Options)
            • ListWorkloads(google::cloud::apphub::v1::ListWorkloadsRequest, Options)
            • CreateWorkload(std::string const &, google::cloud::apphub::v1::Workload const &, std::string const &, Options)
            • CreateWorkload(google::cloud::apphub::v1::CreateWorkloadRequest const &, Options)
            • GetWorkload(std::string const &, Options)
            • GetWorkload(google::cloud::apphub::v1::GetWorkloadRequest const &, Options)
            • UpdateWorkload(google::cloud::apphub::v1::Workload const &, google::protobuf::FieldMask const &, Options)
            • UpdateWorkload(google::cloud::apphub::v1::UpdateWorkloadRequest const &, Options)
            • DeleteWorkload(std::string const &, Options)
            • DeleteWorkload(google::cloud::apphub::v1::DeleteWorkloadRequest const &, Options)
            • ListApplications(std::string const &, Options)
            • ListApplications(google::cloud::apphub::v1::ListApplicationsRequest, Options)
            • CreateApplication(std::string const &, google::cloud::apphub::v1::Application const &, std::string const &, Options)
            • CreateApplication(google::cloud::apphub::v1::CreateApplicationRequest const &, Options)
            • GetApplication(std::string const &, Options)
            • GetApplication(google::cloud::apphub::v1::GetApplicationRequest const &, Options)
            • UpdateApplication(google::cloud::apphub::v1::Application const &, google::protobuf::FieldMask const &, Options)
            • UpdateApplication(google::cloud::apphub::v1::UpdateApplicationRequest const &, Options)
            • DeleteApplication(std::string const &, Options)
            • DeleteApplication(google::cloud::apphub::v1::DeleteApplicationRequest const &, Options)
        • AppHubConnection
          • Overview
          • Functions
            • virtual options()
            • virtual LookupServiceProjectAttachment(google::cloud::apphub::v1::LookupServiceProjectAttachmentRequest const &)
            • virtual ListServiceProjectAttachments(google::cloud::apphub::v1::ListServiceProjectAttachmentsRequest)
            • virtual CreateServiceProjectAttachment(google::cloud::apphub::v1::CreateServiceProjectAttachmentRequest const &)
            • virtual GetServiceProjectAttachment(google::cloud::apphub::v1::GetServiceProjectAttachmentRequest const &)
            • virtual DeleteServiceProjectAttachment(google::cloud::apphub::v1::DeleteServiceProjectAttachmentRequest const &)
            • virtual DetachServiceProjectAttachment(google::cloud::apphub::v1::DetachServiceProjectAttachmentRequest const &)
            • virtual ListDiscoveredServices(google::cloud::apphub::v1::ListDiscoveredServicesRequest)
            • virtual GetDiscoveredService(google::cloud::apphub::v1::GetDiscoveredServiceRequest const &)
            • virtual LookupDiscoveredService(google::cloud::apphub::v1::LookupDiscoveredServiceRequest const &)
            • virtual ListServices(google::cloud::apphub::v1::ListServicesRequest)
            • virtual CreateService(google::cloud::apphub::v1::CreateServiceRequest const &)
            • virtual GetService(google::cloud::apphub::v1::GetServiceRequest const &)
            • virtual UpdateService(google::cloud::apphub::v1::UpdateServiceRequest const &)
            • virtual DeleteService(google::cloud::apphub::v1::DeleteServiceRequest const &)
            • virtual ListDiscoveredWorkloads(google::cloud::apphub::v1::ListDiscoveredWorkloadsRequest)
            • virtual GetDiscoveredWorkload(google::cloud::apphub::v1::GetDiscoveredWorkloadRequest const &)
            • virtual LookupDiscoveredWorkload(google::cloud::apphub::v1::LookupDiscoveredWorkloadRequest const &)
            • virtual ListWorkloads(google::cloud::apphub::v1::ListWorkloadsRequest)
            • virtual CreateWorkload(google::cloud::apphub::v1::CreateWorkloadRequest const &)
            • virtual GetWorkload(google::cloud::apphub::v1::GetWorkloadRequest const &)
            • virtual UpdateWorkload(google::cloud::apphub::v1::UpdateWorkloadRequest const &)
            • virtual DeleteWorkload(google::cloud::apphub::v1::DeleteWorkloadRequest const &)
            • virtual ListApplications(google::cloud::apphub::v1::ListApplicationsRequest)
            • virtual CreateApplication(google::cloud::apphub::v1::CreateApplicationRequest const &)
            • virtual GetApplication(google::cloud::apphub::v1::GetApplicationRequest const &)
            • virtual UpdateApplication(google::cloud::apphub::v1::UpdateApplicationRequest const &)
            • virtual DeleteApplication(google::cloud::apphub::v1::DeleteApplicationRequest const &)
        • AppHubConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual LookupServiceProjectAttachment(google::cloud::apphub::v1::LookupServiceProjectAttachmentRequest const &)
            • virtual ListServiceProjectAttachments(google::cloud::apphub::v1::ListServiceProjectAttachmentsRequest)
            • virtual CreateServiceProjectAttachment(google::cloud::apphub::v1::CreateServiceProjectAttachmentRequest const &)
            • virtual GetServiceProjectAttachment(google::cloud::apphub::v1::GetServiceProjectAttachmentRequest const &)
            • virtual DeleteServiceProjectAttachment(google::cloud::apphub::v1::DeleteServiceProjectAttachmentRequest const &)
            • virtual DetachServiceProjectAttachment(google::cloud::apphub::v1::DetachServiceProjectAttachmentRequest const &)
            • virtual ListDiscoveredServices(google::cloud::apphub::v1::ListDiscoveredServicesRequest)
            • virtual GetDiscoveredService(google::cloud::apphub::v1::GetDiscoveredServiceRequest const &)
            • virtual LookupDiscoveredService(google::cloud::apphub::v1::LookupDiscoveredServiceRequest const &)
            • virtual ListServices(google::cloud::apphub::v1::ListServicesRequest)
            • virtual CreateService(google::cloud::apphub::v1::CreateServiceRequest const &)
            • virtual GetService(google::cloud::apphub::v1::GetServiceRequest const &)
            • virtual UpdateService(google::cloud::apphub::v1::UpdateServiceRequest const &)
            • virtual DeleteService(google::cloud::apphub::v1::DeleteServiceRequest const &)
            • virtual ListDiscoveredWorkloads(google::cloud::apphub::v1::ListDiscoveredWorkloadsRequest)
            • virtual GetDiscoveredWorkload(google::cloud::apphub::v1::GetDiscoveredWorkloadRequest const &)
            • virtual LookupDiscoveredWorkload(google::cloud::apphub::v1::LookupDiscoveredWorkloadRequest const &)
            • virtual ListWorkloads(google::cloud::apphub::v1::ListWorkloadsRequest)
            • virtual CreateWorkload(google::cloud::apphub::v1::CreateWorkloadRequest const &)
            • virtual GetWorkload(google::cloud::apphub::v1::GetWorkloadRequest const &)
            • virtual UpdateWorkload(google::cloud::apphub::v1::UpdateWorkloadRequest const &)
            • virtual DeleteWorkload(google::cloud::apphub::v1::DeleteWorkloadRequest const &)
            • virtual ListApplications(google::cloud::apphub::v1::ListApplicationsRequest)
            • virtual CreateApplication(google::cloud::apphub::v1::CreateApplicationRequest const &)
            • virtual GetApplication(google::cloud::apphub::v1::GetApplicationRequest const &)
            • virtual UpdateApplication(google::cloud::apphub::v1::UpdateApplicationRequest const &)
            • virtual DeleteApplication(google::cloud::apphub::v1::DeleteApplicationRequest const &)
        • AppHubLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • AppHubLimitedErrorCountRetryPolicy(int)
            • AppHubLimitedErrorCountRetryPolicy(AppHubLimitedErrorCountRetryPolicy &&)
            • AppHubLimitedErrorCountRetryPolicy(AppHubLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • AppHubLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • AppHubLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • AppHubLimitedTimeRetryPolicy(AppHubLimitedTimeRetryPolicy &&)
            • AppHubLimitedTimeRetryPolicy(AppHubLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • AppHubRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • AppHubBackoffPolicyOption
          • Overview
          • Types
            • Type
        • AppHubConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • AppHubPollingPolicyOption
          • Overview
          • Types
            • Type
        • AppHubRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeAppHubConnection(Options)
        • MakeDefaultAppHubConnectionIdempotencyPolicy()
    • google::cloud::apphub_v1_mocks
      • Overview
      • Classes
        • MockAppHubConnection
          • Overview
          • Functions
            • virtual options()
            • virtual LookupServiceProjectAttachment(google::cloud::apphub::v1::LookupServiceProjectAttachmentRequest const &)
            • virtual ListServiceProjectAttachments(google::cloud::apphub::v1::ListServiceProjectAttachmentsRequest)
            • virtual CreateServiceProjectAttachment(google::cloud::apphub::v1::CreateServiceProjectAttachmentRequest const &)
            • virtual GetServiceProjectAttachment(google::cloud::apphub::v1::GetServiceProjectAttachmentRequest const &)
            • virtual DeleteServiceProjectAttachment(google::cloud::apphub::v1::DeleteServiceProjectAttachmentRequest const &)
            • virtual DetachServiceProjectAttachment(google::cloud::apphub::v1::DetachServiceProjectAttachmentRequest const &)
            • virtual ListDiscoveredServices(google::cloud::apphub::v1::ListDiscoveredServicesRequest)
            • virtual GetDiscoveredService(google::cloud::apphub::v1::GetDiscoveredServiceRequest const &)
            • virtual LookupDiscoveredService(google::cloud::apphub::v1::LookupDiscoveredServiceRequest const &)
            • virtual ListServices(google::cloud::apphub::v1::ListServicesRequest)
            • virtual CreateService(google::cloud::apphub::v1::CreateServiceRequest const &)
            • virtual GetService(google::cloud::apphub::v1::GetServiceRequest const &)
            • virtual UpdateService(google::cloud::apphub::v1::UpdateServiceRequest const &)
            • virtual DeleteService(google::cloud::apphub::v1::DeleteServiceRequest const &)
            • virtual ListDiscoveredWorkloads(google::cloud::apphub::v1::ListDiscoveredWorkloadsRequest)
            • virtual GetDiscoveredWorkload(google::cloud::apphub::v1::GetDiscoveredWorkloadRequest const &)
            • virtual LookupDiscoveredWorkload(google::cloud::apphub::v1::LookupDiscoveredWorkloadRequest const &)
            • virtual ListWorkloads(google::cloud::apphub::v1::ListWorkloadsRequest)
            • virtual CreateWorkload(google::cloud::apphub::v1::CreateWorkloadRequest const &)
            • virtual GetWorkload(google::cloud::apphub::v1::GetWorkloadRequest const &)
            • virtual UpdateWorkload(google::cloud::apphub::v1::UpdateWorkloadRequest const &)
            • virtual DeleteWorkload(google::cloud::apphub::v1::DeleteWorkloadRequest const &)
            • virtual ListApplications(google::cloud::apphub::v1::ListApplicationsRequest)
            • virtual CreateApplication(google::cloud::apphub::v1::CreateApplicationRequest const &)
            • virtual GetApplication(google::cloud::apphub::v1::GetApplicationRequest const &)
            • virtual UpdateApplication(google::cloud::apphub::v1::UpdateApplicationRequest const &)
            • virtual DeleteApplication(google::cloud::apphub::v1::DeleteApplicationRequest const &)
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
Some or all of the information on this page might not apply to Cloud de Confiance by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Technology areas
  • C++
  • Client libraries

Namespace google::cloud::apphub_v1_mocks (2.24.0)

  • 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

Classes

MockAppHubConnection

A class to mock AppHubConnection.

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

  • Terms
  • Privacy
  • Manage cookies