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
  • Cloud Quotas 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 cloudquotas_v1::CloudQuotasClient Retry Policies
  • Modules
    • Cloud Quotas API Configuration Options
  • Namespaces
    • google::cloud::cloudquotas_v1
      • Overview
      • Classes
        • CloudQuotasClient
          • Overview
          • Constructors
            • CloudQuotasClient(CloudQuotasClient const &)
            • CloudQuotasClient(CloudQuotasClient &&)
            • CloudQuotasClient(std::shared_ptr< CloudQuotasConnection >, Options)
          • Operators
            • operator=(CloudQuotasClient const &)
            • operator=(CloudQuotasClient &&)
            • operator==(CloudQuotasClient const &, CloudQuotasClient const &)
            • operator!=(CloudQuotasClient const &, CloudQuotasClient const &)
          • Functions
            • ListQuotaInfos(std::string const &, Options)
            • ListQuotaInfos(google::api::cloudquotas::v1::ListQuotaInfosRequest, Options)
            • GetQuotaInfo(std::string const &, Options)
            • GetQuotaInfo(google::api::cloudquotas::v1::GetQuotaInfoRequest const &, Options)
            • ListQuotaPreferences(std::string const &, Options)
            • ListQuotaPreferences(google::api::cloudquotas::v1::ListQuotaPreferencesRequest, Options)
            • GetQuotaPreference(std::string const &, Options)
            • GetQuotaPreference(google::api::cloudquotas::v1::GetQuotaPreferenceRequest const &, Options)
            • CreateQuotaPreference(std::string const &, google::api::cloudquotas::v1::QuotaPreference const &, std::string const &, Options)
            • CreateQuotaPreference(std::string const &, google::api::cloudquotas::v1::QuotaPreference const &, Options)
            • CreateQuotaPreference(google::api::cloudquotas::v1::CreateQuotaPreferenceRequest const &, Options)
            • UpdateQuotaPreference(google::api::cloudquotas::v1::QuotaPreference const &, google::protobuf::FieldMask const &, Options)
            • UpdateQuotaPreference(google::api::cloudquotas::v1::UpdateQuotaPreferenceRequest const &, Options)
        • CloudQuotasConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListQuotaInfos(google::api::cloudquotas::v1::ListQuotaInfosRequest)
            • virtual GetQuotaInfo(google::api::cloudquotas::v1::GetQuotaInfoRequest const &)
            • virtual ListQuotaPreferences(google::api::cloudquotas::v1::ListQuotaPreferencesRequest)
            • virtual GetQuotaPreference(google::api::cloudquotas::v1::GetQuotaPreferenceRequest const &)
            • virtual CreateQuotaPreference(google::api::cloudquotas::v1::CreateQuotaPreferenceRequest const &)
            • virtual UpdateQuotaPreference(google::api::cloudquotas::v1::UpdateQuotaPreferenceRequest const &)
        • CloudQuotasConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual ListQuotaInfos(google::api::cloudquotas::v1::ListQuotaInfosRequest)
            • virtual GetQuotaInfo(google::api::cloudquotas::v1::GetQuotaInfoRequest const &)
            • virtual ListQuotaPreferences(google::api::cloudquotas::v1::ListQuotaPreferencesRequest)
            • virtual GetQuotaPreference(google::api::cloudquotas::v1::GetQuotaPreferenceRequest const &)
            • virtual CreateQuotaPreference(google::api::cloudquotas::v1::CreateQuotaPreferenceRequest const &)
            • virtual UpdateQuotaPreference(google::api::cloudquotas::v1::UpdateQuotaPreferenceRequest const &)
        • CloudQuotasLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • CloudQuotasLimitedErrorCountRetryPolicy(int)
            • CloudQuotasLimitedErrorCountRetryPolicy(CloudQuotasLimitedErrorCountRetryPolicy &&)
            • CloudQuotasLimitedErrorCountRetryPolicy(CloudQuotasLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • CloudQuotasLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • CloudQuotasLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • CloudQuotasLimitedTimeRetryPolicy(CloudQuotasLimitedTimeRetryPolicy &&)
            • CloudQuotasLimitedTimeRetryPolicy(CloudQuotasLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • CloudQuotasRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • CloudQuotasBackoffPolicyOption
          • Overview
          • Types
            • Type
        • CloudQuotasConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • CloudQuotasRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeCloudQuotasConnection(Options)
        • MakeDefaultCloudQuotasConnectionIdempotencyPolicy()
    • google::cloud::cloudquotas_v1_mocks
      • Overview
      • Classes
        • MockCloudQuotasConnection
          • Overview
          • Functions
            • virtual options()
            • virtual ListQuotaInfos(google::api::cloudquotas::v1::ListQuotaInfosRequest)
            • virtual GetQuotaInfo(google::api::cloudquotas::v1::GetQuotaInfoRequest const &)
            • virtual ListQuotaPreferences(google::api::cloudquotas::v1::ListQuotaPreferencesRequest)
            • virtual GetQuotaPreference(google::api::cloudquotas::v1::GetQuotaPreferenceRequest const &)
            • virtual CreateQuotaPreference(google::api::cloudquotas::v1::CreateQuotaPreferenceRequest const &)
            • virtual UpdateQuotaPreference(google::api::cloudquotas::v1::UpdateQuotaPreferenceRequest 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::cloudquotas_v1_mocks (2.37.0)
Stay organized with collections Save and categorize content based on your preferences.

  • 2.38.0-rc (latest)
  • 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

Classes

MockCloudQuotasConnection

A class to mock CloudQuotasConnection.

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-05-07 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

    • Google Cloud Community
    • 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
  • 中文 – 简体
  • 日本語
  • 한국어