Skip to main content
Google Cloud
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
Related sites
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Console Sign in
  • C++
Overview Guides Reference Samples
Contact Us Start free
Google Cloud
  • Documentation
    • Overview
    • Guides
    • Reference
    • Samples
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Related sites
    • More
  • Console
  • Contact Us
  • Start free
  • Overview
  • Library reference docs
  • Workflows 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 workflows_executions_v1::ExecutionsClient Retry Policies
    • Override workflows_v1::WorkflowsClient Retry Policies
  • Modules
    • Workflows API Configuration Options
  • Namespaces
    • google::cloud::workflows
      • Overview
    • google::cloud::workflows_executions_v1
      • Overview
      • Classes
        • ExecutionsClient
          • Overview
          • Constructors
            • ExecutionsClient(ExecutionsClient const &)
            • ExecutionsClient(ExecutionsClient &&)
            • ExecutionsClient(std::shared_ptr< ExecutionsConnection >, Options)
          • Operators
            • operator=(ExecutionsClient const &)
            • operator=(ExecutionsClient &&)
            • operator==(ExecutionsClient const &, ExecutionsClient const &)
            • operator!=(ExecutionsClient const &, ExecutionsClient const &)
          • Functions
            • ListExecutions(std::string const &, Options)
            • ListExecutions(google::cloud::workflows::executions::v1::ListExecutionsRequest, Options)
            • CreateExecution(std::string const &, google::cloud::workflows::executions::v1::Execution const &, Options)
            • CreateExecution(google::cloud::workflows::executions::v1::CreateExecutionRequest const &, Options)
            • GetExecution(std::string const &, Options)
            • GetExecution(google::cloud::workflows::executions::v1::GetExecutionRequest const &, Options)
            • CancelExecution(std::string const &, Options)
            • CancelExecution(google::cloud::workflows::executions::v1::CancelExecutionRequest const &, Options)
        • ExecutionsConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListExecutions(google::cloud::workflows::executions::v1::ListExecutionsRequest)
            • virtual CreateExecution(google::cloud::workflows::executions::v1::CreateExecutionRequest const &)
            • virtual GetExecution(google::cloud::workflows::executions::v1::GetExecutionRequest const &)
            • virtual CancelExecution(google::cloud::workflows::executions::v1::CancelExecutionRequest const &)
        • ExecutionsConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual ListExecutions(google::cloud::workflows::executions::v1::ListExecutionsRequest)
            • virtual CreateExecution(google::cloud::workflows::executions::v1::CreateExecutionRequest const &)
            • virtual GetExecution(google::cloud::workflows::executions::v1::GetExecutionRequest const &)
            • virtual CancelExecution(google::cloud::workflows::executions::v1::CancelExecutionRequest const &)
        • ExecutionsLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • ExecutionsLimitedErrorCountRetryPolicy(int)
            • ExecutionsLimitedErrorCountRetryPolicy(ExecutionsLimitedErrorCountRetryPolicy &&)
            • ExecutionsLimitedErrorCountRetryPolicy(ExecutionsLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • ExecutionsLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • ExecutionsLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • ExecutionsLimitedTimeRetryPolicy(ExecutionsLimitedTimeRetryPolicy &&)
            • ExecutionsLimitedTimeRetryPolicy(ExecutionsLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • ExecutionsRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • ExecutionsBackoffPolicyOption
          • Overview
          • Types
            • Type
        • ExecutionsConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • ExecutionsRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeExecutionsConnection(Options)
        • MakeDefaultExecutionsConnectionIdempotencyPolicy()
    • google::cloud::workflows_executions_v1_mocks
      • Overview
      • Classes
        • MockExecutionsConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListExecutions(google::cloud::workflows::executions::v1::ListExecutionsRequest)
            • virtual CreateExecution(google::cloud::workflows::executions::v1::CreateExecutionRequest const &)
            • virtual GetExecution(google::cloud::workflows::executions::v1::GetExecutionRequest const &)
            • virtual CancelExecution(google::cloud::workflows::executions::v1::CancelExecutionRequest const &)
    • google::cloud::workflows_mocks
      • Overview
    • google::cloud::workflows_v1
      • Overview
      • Classes
        • WorkflowsClient
          • Overview
          • Constructors
            • WorkflowsClient(WorkflowsClient const &)
            • WorkflowsClient(WorkflowsClient &&)
            • WorkflowsClient(std::shared_ptr< WorkflowsConnection >, Options)
          • Operators
            • operator=(WorkflowsClient const &)
            • operator=(WorkflowsClient &&)
            • operator==(WorkflowsClient const &, WorkflowsClient const &)
            • operator!=(WorkflowsClient const &, WorkflowsClient const &)
          • Functions
            • ListWorkflows(std::string const &, Options)
            • ListWorkflows(google::cloud::workflows::v1::ListWorkflowsRequest, Options)
            • GetWorkflow(std::string const &, Options)
            • GetWorkflow(google::cloud::workflows::v1::GetWorkflowRequest const &, Options)
            • CreateWorkflow(std::string const &, google::cloud::workflows::v1::Workflow const &, std::string const &, Options)
            • CreateWorkflow(NoAwaitTag, std::string const &, google::cloud::workflows::v1::Workflow const &, std::string const &, Options)
            • CreateWorkflow(google::cloud::workflows::v1::CreateWorkflowRequest const &, Options)
            • CreateWorkflow(NoAwaitTag, google::cloud::workflows::v1::CreateWorkflowRequest const &, Options)
            • CreateWorkflow(google::longrunning::Operation const &, Options)
            • DeleteWorkflow(std::string const &, Options)
            • DeleteWorkflow(NoAwaitTag, std::string const &, Options)
            • DeleteWorkflow(google::cloud::workflows::v1::DeleteWorkflowRequest const &, Options)
            • DeleteWorkflow(NoAwaitTag, google::cloud::workflows::v1::DeleteWorkflowRequest const &, Options)
            • DeleteWorkflow(google::longrunning::Operation const &, Options)
            • UpdateWorkflow(google::cloud::workflows::v1::Workflow const &, google::protobuf::FieldMask const &, Options)
            • UpdateWorkflow(NoAwaitTag, google::cloud::workflows::v1::Workflow const &, google::protobuf::FieldMask const &, Options)
            • UpdateWorkflow(google::cloud::workflows::v1::UpdateWorkflowRequest const &, Options)
            • UpdateWorkflow(NoAwaitTag, google::cloud::workflows::v1::UpdateWorkflowRequest const &, Options)
            • UpdateWorkflow(google::longrunning::Operation const &, Options)
            • ListWorkflowRevisions(google::cloud::workflows::v1::ListWorkflowRevisionsRequest, Options)
            • ListLocations(google::cloud::location::ListLocationsRequest, Options)
            • GetLocation(google::cloud::location::GetLocationRequest const &, Options)
            • ListOperations(std::string const &, std::string const &, Options)
            • ListOperations(google::longrunning::ListOperationsRequest, Options)
            • GetOperation(std::string const &, Options)
            • GetOperation(google::longrunning::GetOperationRequest const &, Options)
            • DeleteOperation(std::string const &, Options)
            • DeleteOperation(google::longrunning::DeleteOperationRequest const &, Options)
        • WorkflowsConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListWorkflows(google::cloud::workflows::v1::ListWorkflowsRequest)
            • virtual GetWorkflow(google::cloud::workflows::v1::GetWorkflowRequest const &)
            • virtual CreateWorkflow(google::cloud::workflows::v1::CreateWorkflowRequest const &)
            • virtual CreateWorkflow(NoAwaitTag, google::cloud::workflows::v1::CreateWorkflowRequest const &)
            • virtual CreateWorkflow(google::longrunning::Operation const &)
            • virtual DeleteWorkflow(google::cloud::workflows::v1::DeleteWorkflowRequest const &)
            • virtual DeleteWorkflow(NoAwaitTag, google::cloud::workflows::v1::DeleteWorkflowRequest const &)
            • virtual DeleteWorkflow(google::longrunning::Operation const &)
            • virtual UpdateWorkflow(google::cloud::workflows::v1::UpdateWorkflowRequest const &)
            • virtual UpdateWorkflow(NoAwaitTag, google::cloud::workflows::v1::UpdateWorkflowRequest const &)
            • virtual UpdateWorkflow(google::longrunning::Operation const &)
            • virtual ListWorkflowRevisions(google::cloud::workflows::v1::ListWorkflowRevisionsRequest)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
        • WorkflowsConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual ListWorkflows(google::cloud::workflows::v1::ListWorkflowsRequest)
            • virtual GetWorkflow(google::cloud::workflows::v1::GetWorkflowRequest const &)
            • virtual CreateWorkflow(google::cloud::workflows::v1::CreateWorkflowRequest const &)
            • virtual DeleteWorkflow(google::cloud::workflows::v1::DeleteWorkflowRequest const &)
            • virtual UpdateWorkflow(google::cloud::workflows::v1::UpdateWorkflowRequest const &)
            • virtual ListWorkflowRevisions(google::cloud::workflows::v1::ListWorkflowRevisionsRequest)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
        • WorkflowsLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • WorkflowsLimitedErrorCountRetryPolicy(int)
            • WorkflowsLimitedErrorCountRetryPolicy(WorkflowsLimitedErrorCountRetryPolicy &&)
            • WorkflowsLimitedErrorCountRetryPolicy(WorkflowsLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • WorkflowsLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • WorkflowsLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • WorkflowsLimitedTimeRetryPolicy(WorkflowsLimitedTimeRetryPolicy &&)
            • WorkflowsLimitedTimeRetryPolicy(WorkflowsLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • WorkflowsRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • WorkflowsBackoffPolicyOption
          • Overview
          • Types
            • Type
        • WorkflowsConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • WorkflowsPollingPolicyOption
          • Overview
          • Types
            • Type
        • WorkflowsRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeWorkflowsConnection(Options)
        • MakeDefaultWorkflowsConnectionIdempotencyPolicy()
    • google::cloud::workflows_v1_mocks
      • Overview
      • Classes
        • MockWorkflowsConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListWorkflows(google::cloud::workflows::v1::ListWorkflowsRequest)
            • virtual GetWorkflow(google::cloud::workflows::v1::GetWorkflowRequest const &)
            • virtual CreateWorkflow(google::cloud::workflows::v1::CreateWorkflowRequest const &)
            • virtual CreateWorkflow(NoAwaitTag, google::cloud::workflows::v1::CreateWorkflowRequest const &)
            • virtual CreateWorkflow(google::longrunning::Operation const &)
            • virtual DeleteWorkflow(google::cloud::workflows::v1::DeleteWorkflowRequest const &)
            • virtual DeleteWorkflow(NoAwaitTag, google::cloud::workflows::v1::DeleteWorkflowRequest const &)
            • virtual DeleteWorkflow(google::longrunning::Operation const &)
            • virtual UpdateWorkflow(google::cloud::workflows::v1::UpdateWorkflowRequest const &)
            • virtual UpdateWorkflow(NoAwaitTag, google::cloud::workflows::v1::UpdateWorkflowRequest const &)
            • virtual UpdateWorkflow(google::longrunning::Operation const &)
            • virtual ListWorkflowRevisions(google::cloud::workflows::v1::ListWorkflowRevisionsRequest)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest 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
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
  • Home
  • C++
  • Documentation
  • Reference

Namespace google::cloud::workflows_v1_mocks (2.44.0-rc)

  • 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
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.0
  • 2.15.1
  • 2.14.0
  • 2.13.0
  • 2.12.0
  • 2.11.0

Classes

MockWorkflowsConnection

A class to mock WorkflowsConnection.

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.

  • Why Google

    • Choosing Google Cloud
    • Trust and security
    • Modern Infrastructure Cloud
    • Multicloud
    • Global infrastructure
    • Customers and case studies
    • Analyst reports
    • Whitepapers
  • Products and pricing

    • See all products
    • See all solutions
    • Google Cloud for Startups
    • Google Cloud Marketplace
    • Google Cloud pricing
    • Contact sales
  • Support

    • Community forums
    • Support
    • Release Notes
    • System status
  • Resources

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

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
    • Become a Partner
    • Google Cloud Affiliate Program
    • Press Corner
  • 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
  • 中文 – 简体
  • 日本語
  • 한국어