Overview
close
Accelerate your digital transformation
Whether your business is early in its journey or well on its way to digital transformation, Google Cloud can help solve your toughest challenges.
Learn more
Key benefits
Why Google Cloud
Top reasons businesses choose us.
AI and ML
Get enterprise-ready AI.
Multicloud
Run your apps wherever you need them.
Global infrastructure
Build on the same infrastructure as Google.
Data Cloud
Make smarter decisions with unified data.
Open cloud
Scale with open, flexible technology.
Trust and security
Keep your data secure and compliant.
Productivity and collaboration
Connect your teams with AI-powered apps.
Reports and insights
Executive insights
Curated C-suite perspectives.
Analyst reports
Read what industry analysts say about us.
Whitepapers
Browse and download popular whitepapers.
Customer stories
Explore case studies and videos.
Solutions
close
Industry Solutions
Reduce cost, increase operational agility, and capture new market opportunities.
Retail
Analytics and collaboration tools for the retail value chain.
Consumer Packaged Goods
Solutions for CPG digital transformation and brand growth.
Financial Services
Computing, data management, and analytics tools for financial services.
Healthcare and Life Sciences
Advance research at scale and empower healthcare innovation.
Media and Entertainment
Solutions for content production and distribution operations.
Telecommunications
Hybrid and multi-cloud services to deploy and monetize 5G.
Games
AI-driven solutions to build and scale games faster.
Manufacturing
Migration and AI tools to optimize the manufacturing value chain.
Supply Chain and Logistics
Enable sustainable, efficient, and resilient data-driven operations across supply chain and logistics operations.
Government
Data storage, AI, and analytics solutions for government agencies.
Education
Teaching tools to provide more engaging learning experiences.
Not seeing what you're looking for?
See all industry solutions
Not seeing what you're looking for?
See all solutions
Application Modernization
Assess, plan, implement, and measure software practices and capabilities to modernize and simplify your organization’s business application portfolios.
CAMP
Program that uses DORA to improve your software delivery capabilities.
Modernize Traditional Applications
Analyze, categorize, and get started with cloud migration on traditional workloads.
Migrate from PaaS: Cloud Foundry, Openshift
Tools for moving your existing containers into Google's managed container services.
Migrate from Mainframe
Automated tools and prescriptive guidance for moving your mainframe apps to the cloud.
Modernize Software Delivery
Software supply chain best practices - innerloop productivity, CI/CD and S3C.
DevOps Best Practices
Processes and resources for implementing DevOps in your org.
SRE Principles
Tools and resources for adopting SRE in your org.
Day 2 Operations for GKE
Tools and guidance for effective GKE management and monitoring.
FinOps and Optimization of GKE
Best practices for running reliable, performant, and cost effective applications on GKE.
Run Applications at the Edge
Guidance for localized and low latency apps on Google’s hardware agnostic edge solution.
Architect for Multicloud
Manage workloads across multiple clouds with a consistent platform.
Go Serverless
Fully managed environment for developing, deploying and scaling apps.
Artificial Intelligence
Add intelligence and efficiency to your business with AI and machine learning.
Contact Center AI
AI model for speaking with customers and assisting human agents.
Document AI
Document processing and data capture automated at scale.
Product Discovery
Google-quality search and product recommendations for retailers.
APIs and Applications
Speed up the pace of innovation without coding, using APIs, apps, and automation.
New Business Channels Using APIs
Attract and empower an ecosystem of developers and partners.
Unlocking Legacy Applications Using APIs
Cloud services for extending and modernizing legacy apps.
Open Banking APIx
Simplify and accelerate secure delivery of open banking compliant APIs.
Databases
Migrate and manage enterprise data with security, reliability, high availability, and fully managed data services.
Database Migration
Guides and tools to simplify your database migration life cycle.
Database Modernization
Upgrades to modernize your operational database infrastructure.
Databases for Games
Build global, live games with Google Cloud databases.
Google Cloud Databases
Database services to migrate, manage, and modernize data.
Migrate Oracle workloads to Google Cloud
Rehost, replatform, rewrite your Oracle workloads.
Open Source Databases
Fully managed open source databases with enterprise-grade support.
SQL Server on Google Cloud
Options for running SQL Server virtual machines on Google Cloud.
Data Cloud
Unify data across your organization with an open and simplified approach to data-driven transformation that is unmatched for speed, scale, and security with AI built-in.
Databases Solutions
Migrate and manage enterprise data with security, reliability, high availability, and fully managed data services.
Smart Analytics Solutions
Generate instant insights from data at any scale with a serverless, fully managed analytics platform that significantly simplifies analytics.
AI Solutions
Add intelligence and efficiency to your business with AI and machine learning.
Data Cloud for ISVs
Innovate, optimize and amplify your SaaS applications using Google's data and machine learning solutions such as BigQuery, Looker, Spanner and Vertex AI.
Data Cloud Alliance
An initiative to ensure that global businesses have more seamless access and insights into the data required for digital transformation.
Digital Transformation
Accelerate business recovery and ensure a better future with solutions that enable hybrid and multi-cloud, generate intelligent insights, and keep your workers connected.
Digital Innovation
Reimagine your operations and unlock new opportunities.
Operational Efficiency
Prioritize investments and optimize costs.
COVID-19 Solutions
Get work done more safely and securely.
COVID-19 Solutions for the Healthcare Industry
How Google is helping healthcare meet extraordinary challenges.
Infrastructure Modernization
Migrate quickly with solutions for SAP, VMware, Windows, Oracle, and other workloads.
Application Migration
Discovery and analysis tools for moving to the cloud.
SAP on Google Cloud
Certifications for running SAP applications and SAP HANA.
High Performance Computing
Compute, storage, and networking options to support any workload.
Windows on Google Cloud
Tools and partners for running Windows workloads.
Data Center Migration
Migration solutions for VMs, apps, databases, and more.
Active Assist
Automatic cloud resource optimization and increased security.
Virtual Desktops
Remote work solutions for desktops and applications (VDI & DaaS).
Rapid Migration Program (RaMP)
End-to-end migration program to simplify your path to the cloud.
Backup and Disaster Recovery
Ensure your business continuity needs are met.
Productivity and Collaboration
Change the way teams work with solutions designed for humans and built for impact.
Google Workspace
Collaboration and productivity tools for enterprises.
Google Workspace Essentials
Secure video meetings and modern collaboration for teams.
Cloud Identity
Unified platform for IT admins to manage user devices and apps.
Chrome Enterprise
ChromeOS, Chrome Browser, and Chrome devices built for business.
Cloud Search
Enterprise search for employees to quickly find company information.
Security
Detect, investigate, and respond to online threats to help protect your business.
Security Analytics and Operations
Solution for analyzing petabytes of security telemetry.
Web App and API Protection
Threat and fraud protection for your web applications and APIs.
Security and Resilience Framework
Solutions for each phase of the security and resilience life cycle.
Risk and compliance as code (RCaC)
Solution to modernize your governance, risk, and compliance function with automation.
Software Supply Chain Security
Solution for improving end-to-end software supply chain security.
Security Foundation
Recommended products to help achieve a strong security posture.
Smart Analytics
Generate instant insights from data at any scale with a serverless, fully managed analytics platform that significantly simplifies analytics.
Data Warehouse Modernization
Data warehouse to jumpstart your migration and unlock insights.
Data Lake Modernization
Services for building and modernizing your data lake.
Spark on Google Cloud
Run and write Spark where you need it, serverless and integrated.
Stream Analytics
Insights from ingesting, processing, and analyzing event streams.
Business Intelligence
Solutions for modernizing your BI stack and creating rich data experiences.
Data Science
Put your data to work with Data Science on Google Cloud.
Marketing Analytics
Solutions for collecting, analyzing, and activating customer data.
Geospatial Analytics and AI
Solutions for building a more prosperous and sustainable business.
Datasets
Data from Google, public, and commercial providers to enrich your analytics and AI initiatives.
Startups and SMB
Accelerate startup and SMB growth with tailored solutions and programs.
Startup Solutions
Grow your startup and solve your toughest challenges using Google’s proven technology.
Startup Program
Get financial, business, and technical support to take your startup to the next level.
Small and Medium Business
Explore solutions for web hosting, app development, AI, and analytics.
Software as a Service
Build better SaaS products, scale efficiently, and grow your business.
Products
close
Featured Products
Compute Engine
Virtual machines running in Google’s data center.
Cloud Storage
Object storage that’s secure, durable, and scalable.
BigQuery
Data warehouse for business agility and insights.
Cloud Run
Fully managed environment for running containerized apps.
Google Kubernetes Engine
Managed environment for running containerized apps.
Vertex AI Platform
Unified platform for ML models and generative AI.
Looker
Platform for BI, data applications, and embedded analytics.
Apigee API Management
Manage the full life cycle of APIs anywhere with visibility and control.
Cloud SQL
Relational database services for MySQL, PostgreSQL and SQL Server.
Cloud SDK
Command-line tools and libraries for Google Cloud.
Cloud CDN
Content delivery network for delivering web and video.
Not seeing what you're looking for?
See all products (100+)
AI and Machine Learning
Vertex AI Platform
Unified platform for ML models and generative AI.
Generative AI on Vertex AI
Build, tune, and deploy foundation models on Vertex AI.
Vertex AI Search and Conversation
Generative AI apps for search and conversational AI.
Dialogflow
Lifelike conversational AI with state-of-the-art virtual agents.
Natural Language AI
Sentiment analysis and classification of unstructured text.
Speech-to-Text
Speech recognition and transcription across 125 languages.
Text-to-Speech
Speech synthesis in 220+ voices and 40+ languages.
Translation AI
Language detection, translation, and glossary support.
Document AI
Document processing and data capture automated at scale.
Vision AI
Custom and pre-trained models to detect emotion, text, and more.
Contact Center AI
AI model for speaking with customers and assisting human agents.
Not seeing what you're looking for?
See all AI and machine learning products
Business Intelligence
Looker
Platform for BI, data applications, and embedded analytics.
Looker Studio
Interactive data suite for dashboarding, reporting, and analytics.
Compute
Compute Engine
Virtual machines running in Google’s data center.
App Engine
Serverless application platform for apps and back ends.
Cloud GPUs
GPUs for ML, scientific computing, and 3D visualization.
Migrate to Virtual Machines
Server and virtual machine migration to Compute Engine.
Spot VMs
Compute instances for batch jobs and fault-tolerant workloads.
Batch
Fully managed service for scheduling batch jobs.
Sole-Tenant Nodes
Dedicated hardware for compliance, licensing, and management.
Bare Metal
Infrastructure to run specialized workloads on Google Cloud.
Recommender
Usage recommendations for Google Cloud products and services.
VMware Engine
Fully managed, native VMware Cloud Foundation software stack.
Cloud Run
Fully managed environment for running containerized apps.
Not seeing what you're looking for?
See all compute products
Containers
Google Kubernetes Engine
Managed environment for running containerized apps.
Cloud Run
Fully managed environment for running containerized apps.
Cloud Build
Solution for running build steps in a Docker container.
Artifact Registry
Package manager for build artifacts and dependencies.
Cloud Code
IDE support to write, run, and debug Kubernetes applications.
Cloud Deploy
Fully managed continuous delivery to GKE and Cloud Run.
Migrate to Containers
Components for migrating VMs into system containers on GKE.
Deep Learning Containers
Containers with data science frameworks, libraries, and tools.
Knative
Components to create Kubernetes-native cloud-based software.
Data Analytics
BigQuery
Data warehouse for business agility and insights.
Looker
Platform for BI, data applications, and embedded analytics.
Dataflow
Streaming analytics for stream and batch processing.
Pub/Sub
Messaging service for event ingestion and delivery.
Dataproc
Service for running Apache Spark and Apache Hadoop clusters.
Cloud Data Fusion
Data integration for building and managing data pipelines.
Cloud Composer
Workflow orchestration service built on Apache Airflow.
Dataprep
Service to prepare data for analysis and machine learning.
Dataplex
Intelligent data fabric for unifying data management across silos.
Dataform
Build, version control, and deploy SQL workflows in BigQuery.
Analytics Hub
Service for securely and efficiently exchanging data analytics assets.
Not seeing what you're looking for?
See all data analytics products
Databases
AlloyDB for PostgreSQL
Fully managed, PostgreSQL-compatible database for enterprise workloads.
Cloud SQL
Fully managed database for MySQL, PostgreSQL, and SQL Server.
Firestore
Cloud-native document database for building rich mobile, web, and IoT apps.
Cloud Spanner
Cloud-native relational database with unlimited scale and 99.999% availability.
Cloud Bigtable
Cloud-native wide-column database for large-scale, low-latency workloads.
Datastream
Serverless change data capture and replication service.
Database Migration Service
Serverless, minimal downtime migrations to Cloud SQL.
Developer Tools
Artifact Registry
Universal package manager for build artifacts and dependencies.
Cloud Code
IDE support to write, run, and debug Kubernetes applications.
Cloud Build
Continuous integration and continuous delivery platform.
Cloud Deploy
Fully managed continuous delivery to GKE and Cloud Run.
Cloud Deployment Manager
Service for creating and managing Google Cloud resources.
Cloud SDK
Command-line tools and libraries for Google Cloud.
Cloud Scheduler
Cron job scheduler for task automation and management.
Cloud Source Repositories
Private Git repository to store, manage, and track code.
Infrastructure Manager
Automate infrastructure management with Terraform.
Cloud Workstations
Managed and secure development environments in the cloud.
Duet AI
AI-powered collaborator available across Google Cloud and your IDE.
Not seeing what you're looking for?
See all developer tools
Distributed Cloud
Google Distributed Cloud Edge
Distributed cloud services for edge workloads.
Google Distributed Cloud Hosted
Distributed cloud for air-gapped workloads.
Hybrid and Multicloud
Google Kubernetes Engine
Managed environment for running containerized apps.
Apigee API Management
API management, development, and security platform.
Migrate to Containers
Tool to move workloads and existing applications to GKE.
Traffic Director
Traffic control pane and management for open service mesh.
Cloud Build
Service for executing builds on Google Cloud infrastructure.
Operations
Monitoring, logging, and application performance suite.
Google Distributed Cloud
Fully managed solutions for the edge and data centers.
Industry Specific
Anti Money Laundering AI
Detect suspicious, potential money laundering activity with AI.
Cloud Healthcare API
Solution for bridging existing care systems and apps on Google Cloud.
Device Connect for Fitbit
Gain a 360-degree patient view with connected Fitbit data on Google Cloud.
Telecom Network Automation
Ready to use cloud-native automation for telecom networks.
Telecom Data Fabric
Telecom data management and analytics with an automated approach.
Telecom Subscriber Insights
Ingests data to improve subscriber acquisition and retention.
Spectrum Access System (SAS)
Controls fundamental access to the Citizens Broadband Radio Service (CBRS).
Integration Services
Application Integration
Connect to 3rd party apps and enable data consistency without code.
Workflows
Workflow orchestration for serverless products and API services.
Apigee API Management
Manage the full life cycle of APIs anywhere with visibility and control.
Cloud Tasks
Task management service for asynchronous task execution.
Cloud Scheduler
Cron job scheduler for task automation and management.
Dataproc
Service for running Apache Spark and Apache Hadoop clusters.
Cloud Data Fusion
Data integration for building and managing data pipelines.
Cloud Composer
Workflow orchestration service built on Apache Airflow.
Pub/Sub
Messaging service for event ingestion and delivery.
Eventarc
Build an event-driven architecture that can connect any service.
Management Tools
Cloud Shell
Interactive shell environment with a built-in command line.
Cloud console
Web-based interface for managing and monitoring cloud apps.
Cloud Endpoints
Deployment and development management for APIs on Google Cloud.
Cloud IAM
Permissions management system for Google Cloud resources.
Cloud APIs
Programmatic interfaces for Google Cloud services.
Service Catalog
Service catalog for admins managing internal enterprise solutions.
Cost Management
Tools for monitoring, controlling, and optimizing your costs.
Operations
Monitoring, logging, and application performance suite.
Carbon Footprint
Dashboard to view and export Google Cloud carbon emissions reports.
Config Connector
Kubernetes add-on for managing Google Cloud resources.
Active Assist
Tools for easily managing performance, security, and cost.
Not seeing what you're looking for?
See all management tools
Maps and Geospatial
Earth Engine
Geospatial platform for Earth observation data and analysis.
Google Maps Platform
Create immersive location experiences and improve business operations.
Media Services
Cloud CDN
Content delivery network for serving web and video content.
Live Stream API
Service to convert live video and package for streaming.
OpenCue
Open source render manager for visual effects and animation.
Transcoder API
Convert video files and package them for optimized delivery.
Video Stitcher API
Service for dynamic or server side ad insertion.
Migration
Migration Center
Unified platform for migrating and modernizing with Google Cloud.
Application Migration
App migration to the cloud for low-cost refresh cycles.
Migrate to Virtual Machines
Components for migrating VMs and physical servers to Compute Engine.
Cloud Foundation Toolkit
Reference templates for Deployment Manager and Terraform.
Database Migration Service
Serverless, minimal downtime migrations to Cloud SQL.
Migrate to Containers
Components for migrating VMs into system containers on GKE.
BigQuery Data Transfer Service
Data import service for scheduling and moving data into BigQuery.
Rapid Migration Program (RaMP)
End-to-end migration program to simplify your path to the cloud.
Transfer Appliance
Storage server for moving large volumes of data to Google Cloud.
Storage Transfer Service
Data transfers from online and on-premises sources to Cloud Storage.
VMware Engine
Migrate and run your VMware workloads natively on Google Cloud.
Mixed Reality
Immersive Stream for XR
Hosts, renders, and streams 3D and XR experiences.
Networking
Cloud Armor
Security policies and defense against web and DDoS attacks.
Cloud CDN and Media CDN
Content delivery network for serving web and video content.
Cloud DNS
Domain name system for reliable and low-latency name lookups.
Cloud Load Balancing
Service for distributing traffic across applications and regions.
Cloud NAT
NAT service for giving private instances internet access.
Cloud Connectivity
Connectivity options for VPN, peering, and enterprise needs.
Network Connectivity Center
Connectivity management to help simplify and scale networks.
Network Intelligence Center
Network monitoring, verification, and optimization platform.
Network Service Tiers
Cloud network options based on performance, availability, and cost.
Virtual Private Cloud
Single VPC for an entire organization, isolated within projects.
Private Service Connect
Secure connection between your VPC and services.
Not seeing what you're looking for?
See all networking products
Operations
Cloud Logging
Google Cloud audit, platform, and application logs management.
Cloud Monitoring
Infrastructure and application health with rich metrics.
Error Reporting
Application error identification and analysis.
Cloud Debugger
Real-time application state inspection and in -production debugging.
Cloud Trace
Tracing system collecting latency data from applications.
Cloud Profiler
CPU and heap profiler for analyzing application performance.
Productivity and Collaboration
AppSheet
No-code development platform to build and extend applications.
Appsheet Automation
Build automations and applications on a unified platform.
Google Workspace
Collaboration and productivity tools for individuals and organizations.
Google Workspace Essentials
Secure video meetings and modern collaboration for teams.
Duet AI for Workspace
Embeds generative AI across Workspace apps.
Cloud Identity
Unified platform for IT admins to manage user devices and apps.
Chrome Enterprise
Chrome OS, Chrome Browser, and Chrome devices built for business.
Security and Identity
Cloud IAM
Permissions management system for Google Cloud resources.
Assured Workloads
Compliance and security controls for sensitive workloads.
Cloud Key Management
Manage encryption keys on Google Cloud.
Confidential Computing
Encrypt data in use with Confidential VMs.
Security Command Center
Platform for defending against threats to your Google Cloud assets.
Sensitive Data Protection
Discover, classify, and protect your valuable data assets.
Mandiant Products and Services
Cybersecurity technology and expertise from the frontlines.
reCAPTCHA Enterprise
Help protect your website from fraudulent activity, spam, and abuse.
Chronicle Security Operations
Detect, investigate, and respond to cyber threats.
Secret Manager
Store API keys, passwords, certificates, and other sensitive data.
Cloud Identity
Unified platform for IT admins to manage user devices and apps.
Not seeing what you're looking for?
See all security and identity products
Serverless
Cloud Run
Fully managed environment for running containerized apps.
Cloud Functions
Platform for creating functions that respond to cloud events.
App Engine
Serverless application platform for apps and back ends.
Workflows
Workflow orchestration for serverless products and API services.
API Gateway
Develop, deploy, secure, and manage APIs with a full managed gateway.
Storage
Cloud Storage
Object storage that’s secure, durable, and scalable.
Backup and DR Service
Service for centralized, application-consistent data protection.
Filestore
File storage that is highly scalable and secure.
Persistent Disk
Block storage for virtual machine instances running on Google Cloud.
Cloud Storage for Firebase
Object storage for storing and serving user-generated content.
Local SSD
Block storage that is locally attached for high-performance needs.
Storage Transfer Service
Data transfers from online and on-premises sources to Cloud Storage.
Parallelstore
High performance, managed parallel file service.
Google Cloud NetApp Volumes
File storage service for NFS, SMB, and multi-protocol environments.
Web3
Blockchain Node Engine
Fully managed node hosting for developing on the blockchain.
Pricing
close
Save money with our transparent approach to pricing
Google Cloud's pay-as-you-go pricing offers automatic savings based on monthly usage and discounted rates for prepaid resources. Contact us today to get a quote.
Request a quote
Pricing overview and tools
Google Cloud pricing
Pay only for what you use with no lock-in.
Pricing calculator
Calculate your cloud savings.
Google Cloud free tier
Explore products with free monthly usage.
Cost optimization framework
Get best practices to optimize workload costs.
Cost management tools
Tools to monitor and control your costs.
Product-specific Pricing
Compute Engine
Cloud SQL
Google Kubernetes Engine
Cloud Storage
BigQuery
See full price list with 100+ products
Resources
close
Learn & build
Google Cloud Free Program
$300 in free credits and 20+ free products.
Quickstarts
Get tutorials and walkthroughs.
Cloud computing basics
Learn more about cloud computing topics.
Blog
Read our latest product news and stories.
Learning Hub
Grow your career with role-based learning
Training
Enroll in on-demand or classroom training.
Certification
Prepare and register for certifications.
Cloud Architecture Center
Get reference architectures and best practices.
Connect
Innovators
Join Google Cloud's developer program.
Developer Center
Stay in the know and stay connected.
Events and webinars
Browse upcoming and on demand events.
Google Cloud Community
Ask questions, find answers, and connect.
Third-party tools and partners
Google Cloud Marketplace
Deploy ready-to-go solutions in a few clicks.
Google Cloud partners
Explore benefits of working with a partner.
Become a partner
Join the Partner Advantage program.
Docs
Support
Docs
Support
English
Deutsch
Español – América Latina
Français
Português – Brasil
中文 – 简体
日本語
한국어
Sign in
C++
Overview
Guides
Reference
Samples
Contact Us
Start free
Overview
More
Solutions
More
Products
More
Pricing
More
Resources
More
Docs
Overview
Guides
Reference
Samples
Support
Console
Contact Us
Start free
Overview
Library reference docs
Cloud Spanner C++ Client Library
In-Depth Topics
Environment Variables
Error Handling
Override Retry, Backoff, and Re-Run Policies
Override spanner_admin::InstanceAdminClient Retry Policies
Override spanner_admin::DatabaseAdminClient Retry Policies
Override the default endpoint
Override the authentication configuration
Mocking the Cloud Spanner C++ Client with Google Mock
Modules
Spanner Client Library Configuration Options
Namespaces
google::cloud::spanner
Overview
Classes
Backup
Overview
Constructors
Backup(Backup const &)
Backup(Backup &&)
Backup(Instance, std::string)
Operators
operator=(Backup const &)
operator=(Backup &&)
operator==(Backup const &, Backup const &)
operator!=(Backup const &, Backup const &)
operator<<(std::ostream &, Backup const &)
Functions
instance() const
backup_id() const
FullName() const
Bytes
Overview
Constructors
Bytes(InputIt, InputIt)
Bytes(Container const &)
Bytes()
Operators
operator==(Bytes const &, Bytes const &)
operator!=(Bytes const &, Bytes const &)
operator<<(std::ostream &, Bytes const &)
Functions
get() const
Client
Overview
Constructors
Client(Client const &)
Client(Client &&)
Client(std::shared_ptr< Connection >, ClientOptions const &)
Client(std::shared_ptr< Connection >, std::initializer_list< internal::NonConstructible >)
Client(std::shared_ptr< Connection >, Options)
Client()
Operators
operator=(Client const &)
operator=(Client &&)
operator==(Client const &, Client const &)
operator!=(Client const &, Client const &)
Functions
Read(std::string, KeySet, std::vector< std::string >, ReadOptions const &)
Read(std::string, KeySet, std::vector< std::string >, std::initializer_list< internal::NonConstructible >)
Read(Transaction::SingleUseOptions, std::string, KeySet, std::vector< std::string >, ReadOptions const &)
Read(Transaction::SingleUseOptions, std::string, KeySet, std::vector< std::string >, std::initializer_list< internal::NonConstructible >)
Read(Transaction, std::string, KeySet, std::vector< std::string >, ReadOptions const &)
Read(Transaction, std::string, KeySet, std::vector< std::string >, std::initializer_list< internal::NonConstructible >)
PartitionRead(Transaction, std::string, KeySet, std::vector< std::string >, ReadOptions const &, PartitionOptions const &)
PartitionRead(Transaction, std::string, KeySet, std::vector< std::string >, std::initializer_list< internal::NonConstructible >)
ExecuteQuery(SqlStatement, QueryOptions const &)
ExecuteQuery(SqlStatement, std::initializer_list< internal::NonConstructible >)
ExecuteQuery(Transaction::SingleUseOptions, SqlStatement, QueryOptions const &)
ExecuteQuery(Transaction::SingleUseOptions, SqlStatement, std::initializer_list< internal::NonConstructible >)
ExecuteQuery(Transaction, SqlStatement, QueryOptions const &)
ExecuteQuery(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
ExecuteQuery(QueryPartition const &, QueryOptions const &)
ExecuteQuery(QueryPartition const &, std::initializer_list< internal::NonConstructible >)
ProfileQuery(SqlStatement, QueryOptions const &)
ProfileQuery(SqlStatement, std::initializer_list< internal::NonConstructible >)
ProfileQuery(Transaction::SingleUseOptions, SqlStatement, QueryOptions const &)
ProfileQuery(Transaction::SingleUseOptions, SqlStatement, std::initializer_list< internal::NonConstructible >)
ProfileQuery(Transaction, SqlStatement, QueryOptions const &)
ProfileQuery(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
ExecuteDml(Transaction, SqlStatement, QueryOptions const &)
ExecuteDml(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
ProfileDml(Transaction, SqlStatement, QueryOptions const &)
ProfileDml(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
AnalyzeSql(Transaction, SqlStatement, QueryOptions const &)
AnalyzeSql(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
ExecutePartitionedDml(SqlStatement, QueryOptions const &)
ExecutePartitionedDml(SqlStatement, std::initializer_list< internal::NonConstructible >)
PartitionQuery(Transaction, SqlStatement, PartitionOptions const &)
PartitionQuery(Transaction, SqlStatement, std::initializer_list< internal::NonConstructible >)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, std::unique_ptr< TransactionRerunPolicy >, std::unique_ptr< BackoffPolicy >, CommitOptions const &)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, std::unique_ptr< TransactionRerunPolicy >, std::unique_ptr< BackoffPolicy >, std::initializer_list< internal::NonConstructible >)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, CommitOptions const &)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, std::initializer_list< internal::NonConstructible >)
Commit(Mutations, CommitOptions const &)
Commit(Mutations, std::initializer_list< internal::NonConstructible >)
Commit(Transaction, Mutations, CommitOptions const &)
Commit(Transaction, Mutations, std::initializer_list< internal::NonConstructible >)
Read(std::string, KeySet, std::vector< std::string >, Options)
Read(Transaction::SingleUseOptions, std::string, KeySet, std::vector< std::string >, Options)
Read(Transaction, std::string, KeySet, std::vector< std::string >, Options)
Read(ReadPartition const &, Options)
PartitionRead(Transaction, std::string, KeySet, std::vector< std::string >, Options)
ExecuteQuery(SqlStatement, Options)
ExecuteQuery(Transaction::SingleUseOptions, SqlStatement, Options)
ExecuteQuery(Transaction, SqlStatement, Options)
ExecuteQuery(QueryPartition const &, Options)
ProfileQuery(SqlStatement, Options)
ProfileQuery(Transaction::SingleUseOptions, SqlStatement, Options)
ProfileQuery(Transaction, SqlStatement, Options)
PartitionQuery(Transaction, SqlStatement, Options)
ExecuteDml(Transaction, SqlStatement, Options)
ProfileDml(Transaction, SqlStatement, Options)
AnalyzeSql(Transaction, SqlStatement, Options)
ExecuteBatchDml(Transaction, std::vector< SqlStatement >, Options)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, std::unique_ptr< TransactionRerunPolicy >, std::unique_ptr< BackoffPolicy >, Options)
Commit(std::function< StatusOr< Mutations >(Transaction)> const &, Options)
Commit(Mutations, Options)
Commit(Transaction, Mutations, Options)
CommitAtLeastOnce(Transaction::ReadWriteOptions, Mutations, Options)
CommitAtLeastOnce(std::vector< Mutations >, Options)
Rollback(Transaction, Options)
ExecutePartitionedDml(SqlStatement, Options)
ClientOptions
Overview
Constructors
ClientOptions()
ClientOptions(ClientOptions const &)
ClientOptions(ClientOptions &&)
operator Options() const
Operators
operator=(ClientOptions const &)
operator=(ClientOptions &&)
operator Options() const
operator==(ClientOptions const &, ClientOptions const &)
operator!=(ClientOptions const &, ClientOptions const &)
Functions
query_options() const
set_query_options(QueryOptions)
CommitOptions
Overview
Constructors
CommitOptions()
CommitOptions(Options const &)
operator Options() const
Operators
operator Options() const
Functions
set_return_stats(bool)
return_stats() const
set_request_priority(absl::optional< RequestPriority >)
request_priority() const
set_transaction_tag(absl::optional< std::string >)
transaction_tag() const
Connection
Overview
Constructors
BatchWriteParams
Overview
CommitParams
Overview
ExecuteBatchDmlParams
Overview
ExecutePartitionedDmlParams
Overview
PartitionQueryParams
Overview
PartitionReadParams
Overview
ReadParams
Overview
RollbackParams
Overview
SqlParams
Overview
Functions
virtual options()
virtual Read(ReadParams)
virtual PartitionRead(PartitionReadParams)
virtual ExecuteQuery(SqlParams)
virtual ExecuteDml(SqlParams)
virtual ProfileQuery(SqlParams)
virtual ProfileDml(SqlParams)
virtual AnalyzeSql(SqlParams)
virtual ExecutePartitionedDml(ExecutePartitionedDmlParams)
virtual PartitionQuery(PartitionQueryParams)
virtual ExecuteBatchDml(ExecuteBatchDmlParams)
virtual Commit(CommitParams)
virtual Rollback(RollbackParams)
virtual BatchWrite(BatchWriteParams)
CreateInstanceRequestBuilder
Overview
Constructors
CreateInstanceRequestBuilder(CreateInstanceRequestBuilder const &)
CreateInstanceRequestBuilder(CreateInstanceRequestBuilder &&)
CreateInstanceRequestBuilder(Instance const &, std::string)
Operators
operator=(CreateInstanceRequestBuilder const &)
operator=(CreateInstanceRequestBuilder &&)
operator==(CreateInstanceRequestBuilder const &, CreateInstanceRequestBuilder const &)
operator!=(CreateInstanceRequestBuilder const &, CreateInstanceRequestBuilder const &)
Functions
SetDisplayName(std::string) &
SetDisplayName(std::string) &&
SetNodeCount(int) &
SetNodeCount(int) &&
SetProcessingUnits(int) &
SetProcessingUnits(int) &&
SetLabels(std::map< std::string, std::string > const &) &
SetLabels(std::map< std::string, std::string > const &) &&
Build() &
Build() &&
CustomerManagedEncryption
Overview
Constructors
CustomerManagedEncryption(KmsKeyName)
Functions
encryption_key() const
Database
Overview
Constructors
Database(Database const &)
Database(Database &&)
Database(Instance, std::string)
Database(std::string, std::string, std::string)
Operators
operator=(Database const &)
operator=(Database &&)
operator==(Database const &, Database const &)
operator!=(Database const &, Database const &)
operator<<(std::ostream &, Database const &)
Functions
instance() const
database_id() const
FullName() const
DatabaseAdminClient
Overview
Constructors
DatabaseAdminClient(ConnectionOptions const &)
DatabaseAdminClient(std::shared_ptr< DatabaseAdminConnection >)
Functions
CreateDatabase(Database, std::vector< std::string >, EncryptionConfig)
GetDatabase(Database)
GetDatabaseDdl(Database)
UpdateDatabase(Database, std::vector< std::string >)
DropDatabase(Database)
ListDatabases(Instance)
RestoreDatabase(Database, Backup const &, EncryptionConfig)
RestoreDatabase(Database, google::spanner::admin::database::v1::Backup const &, EncryptionConfig)
GetIamPolicy(Database)
SetIamPolicy(Database, google::iam::v1::Policy)
SetIamPolicy(Database const &, IamUpdater const &)
SetIamPolicy(Database const &, IamUpdater const &, std::unique_ptr< TransactionRerunPolicy >, std::unique_ptr< BackoffPolicy >)
TestIamPermissions(Database, std::vector< std::string >)
CreateBackup(Database, std::string, Timestamp, absl::optional< Timestamp >, EncryptionConfig)
CreateBackup(Database, std::string, std::chrono::system_clock::time_point)
GetBackup(Backup const &)
DeleteBackup(google::spanner::admin::database::v1::Backup const &)
DeleteBackup(Backup const &)
ListBackups(Instance, std::string)
UpdateBackupExpireTime(google::spanner::admin::database::v1::Backup const &, Timestamp)
UpdateBackupExpireTime(Backup const &, Timestamp)
UpdateBackupExpireTime(google::spanner::admin::database::v1::Backup const &, std::chrono::system_clock::time_point const &)
UpdateBackupExpireTime(Backup const &, std::chrono::system_clock::time_point const &)
ListBackupOperations(Instance, std::string)
ListDatabaseOperations(Instance, std::string)
DatabaseAdminConnection
Overview
Constructors
CreateBackupParams
Overview
CreateDatabaseParams
Overview
DeleteBackupParams
Overview
DropDatabaseParams
Overview
GetBackupParams
Overview
GetDatabaseDdlParams
Overview
GetDatabaseParams
Overview
GetIamPolicyParams
Overview
ListBackupOperationsParams
Overview
ListBackupsParams
Overview
ListDatabaseOperationsParams
Overview
ListDatabasesParams
Overview
RestoreDatabaseParams
Overview
SetIamPolicyParams
Overview
TestIamPermissionsParams
Overview
UpdateBackupParams
Overview
UpdateDatabaseParams
Overview
Functions
virtual options()
CreateDatabase(CreateDatabaseParams)
GetDatabase(GetDatabaseParams)
GetDatabaseDdl(GetDatabaseDdlParams)
UpdateDatabase(UpdateDatabaseParams)
DropDatabase(DropDatabaseParams)
ListDatabases(ListDatabasesParams)
virtual RestoreDatabase(RestoreDatabaseParams)
GetIamPolicy(GetIamPolicyParams)
SetIamPolicy(SetIamPolicyParams)
TestIamPermissions(TestIamPermissionsParams)
virtual CreateBackup(CreateBackupParams)
virtual GetBackup(GetBackupParams)
virtual DeleteBackup(DeleteBackupParams)
virtual ListBackups(ListBackupsParams)
virtual UpdateBackup(UpdateBackupParams)
virtual ListBackupOperations(ListBackupOperationsParams)
virtual ListDatabaseOperations(ListDatabaseOperationsParams)
Decimal<>
Overview
Constructors
Decimal(Decimal &&)
Decimal(Decimal const &)
Decimal()
Operators
operator=(Decimal &&)
operator=(Decimal const &)
operator==(Decimal const &, Decimal const &)
operator!=(Decimal const &, Decimal const &)
operator<<(std::ostream &, Decimal const &)
Functions
ToString() const &
ToString() &&
DefaultEncryption
Overview
DmlResult
Overview
Constructors
DmlResult()
DmlResult(std::unique_ptr< ResultSourceInterface >)
DmlResult(DmlResult &&)
Operators
operator=(DmlResult &&)
Functions
RowsModified() const
ExcludeReplicas
Overview
Constructors
ExcludeReplicas(std::initializer_list< ReplicaSelection >)
Functions
replica_selections() const
GoogleEncryption
Overview
IncludeReplicas
Overview
Constructors
IncludeReplicas(std::initializer_list< ReplicaSelection >, bool)
Functions
replica_selections() const
auto_failover_disabled() const
Instance
Overview
Constructors
Instance(Instance const &)
Instance(Instance &&)
Instance(Project, std::string)
Instance(std::string, std::string)
Operators
operator=(Instance const &)
operator=(Instance &&)
operator==(Instance const &, Instance const &)
operator!=(Instance const &, Instance const &)
operator<<(std::ostream &, Instance const &)
Functions
project() const
project_id() const
instance_id() const
FullName() const
InstanceAdminClient
Overview
Constructors
InstanceAdminClient(InstanceAdminClient const &)
InstanceAdminClient(InstanceAdminClient &&)
InstanceAdminClient(std::shared_ptr< InstanceAdminConnection >)
InstanceAdminClient()
Operators
operator=(InstanceAdminClient const &)
operator=(InstanceAdminClient &&)
operator==(InstanceAdminClient const &, InstanceAdminClient const &)
operator!=(InstanceAdminClient const &, InstanceAdminClient const &)
Functions
GetInstance(Instance const &)
CreateInstance(google::spanner::admin::instance::v1::CreateInstanceRequest const &)
UpdateInstance(google::spanner::admin::instance::v1::UpdateInstanceRequest const &)
DeleteInstance(Instance const &)
GetInstanceConfig(std::string const &)
ListInstanceConfigs(std::string)
ListInstances(std::string, std::string)
GetIamPolicy(Instance const &)
SetIamPolicy(Instance const &, google::iam::v1::Policy)
SetIamPolicy(Instance const &, IamUpdater const &)
SetIamPolicy(Instance const &, IamUpdater const &, std::unique_ptr< TransactionRerunPolicy >, std::unique_ptr< BackoffPolicy >)
TestIamPermissions(Instance const &, std::vector< std::string >)
InstanceAdminConnection
Overview
Constructors
CreateInstanceParams
Overview
DeleteInstanceParams
Overview
GetIamPolicyParams
Overview
GetInstanceConfigParams
Overview
GetInstanceParams
Overview
ListInstanceConfigsParams
Overview
ListInstancesParams
Overview
SetIamPolicyParams
Overview
TestIamPermissionsParams
Overview
UpdateInstanceParams
Overview
Functions
virtual options()
GetInstance(GetInstanceParams)
CreateInstance(CreateInstanceParams)
UpdateInstance(UpdateInstanceParams)
DeleteInstance(DeleteInstanceParams)
GetInstanceConfig(GetInstanceConfigParams)
ListInstanceConfigs(ListInstanceConfigsParams)
ListInstances(ListInstancesParams)
GetIamPolicy(GetIamPolicyParams)
SetIamPolicy(SetIamPolicyParams)
TestIamPermissions(TestIamPermissionsParams)
Json
Overview
Constructors
Json(Json const &)
Json(Json &&)
operator std::string() const &
operator std::string() &&
Json()
Json(std::string)
Operators
operator=(Json const &)
operator=(Json &&)
operator std::string() const &
operator std::string() &&
JsonB
Overview
Constructors
JsonB(JsonB const &)
JsonB(JsonB &&)
operator std::string() const &
operator std::string() &&
JsonB()
JsonB(std::string)
Operators
operator=(JsonB const &)
operator=(JsonB &&)
operator std::string() const &
operator std::string() &&
KeyBound
Overview
Constructors
KeyBound(KeyBound const &)
KeyBound(KeyBound &&)
Bound
Overview
kClosed
kOpen
KeyBound()
KeyBound(Key, Bound)
Operators
operator=(KeyBound const &)
operator=(KeyBound &&)
operator==(KeyBound const &, KeyBound const &)
operator!=(KeyBound const &, KeyBound const &)
Functions
key() const &
key() &&
bound() const
Enums
Bound
Overview
kClosed
kOpen
KeySet
Overview
Constructors
KeySet()
KeySet(KeySet const &)
KeySet(KeySet &&)
Operators
operator==(KeySet const &, KeySet const &)
operator!=(KeySet const &, KeySet const &)
operator=(KeySet const &)
operator=(KeySet &&)
Functions
static All()
AddKey(Key)
AddRange(KeyBound, KeyBound)
LimitedErrorCountRetryPolicy
Overview
Constructors
LimitedErrorCountRetryPolicy(int)
LimitedErrorCountRetryPolicy(LimitedErrorCountRetryPolicy &&)
LimitedErrorCountRetryPolicy(LimitedErrorCountRetryPolicy const &)
Functions
maximum_failures() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
virtual clone() const
Types
BaseType
LimitedErrorCountTransactionRerunPolicy
Overview
Constructors
LimitedErrorCountTransactionRerunPolicy(int)
LimitedErrorCountTransactionRerunPolicy(LimitedErrorCountTransactionRerunPolicy &&)
LimitedErrorCountTransactionRerunPolicy(LimitedErrorCountTransactionRerunPolicy const &)
Functions
maximum_failures() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
virtual clone() const
Types
BaseType
LimitedTimeRetryPolicy
Overview
Constructors
LimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
LimitedTimeRetryPolicy(LimitedTimeRetryPolicy &&)
LimitedTimeRetryPolicy(LimitedTimeRetryPolicy const &)
Functions
maximum_duration() const
virtual clone() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
Types
BaseType
LimitedTimeTransactionRerunPolicy
Overview
Constructors
LimitedTimeTransactionRerunPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
LimitedTimeTransactionRerunPolicy(LimitedTimeTransactionRerunPolicy &&)
LimitedTimeTransactionRerunPolicy(LimitedTimeTransactionRerunPolicy const &)
Functions
maximum_duration() const
virtual OnFailure(Status const &)
virtual IsExhausted() const
virtual IsPermanentFailure(Status const &) const
virtual clone() const
Types
BaseType
Mutation
Overview
Constructors
Mutation()
Mutation(Mutation &&)
Mutation(Mutation const &)
Operators
operator=(Mutation &&)
operator=(Mutation const &)
operator==(Mutation const &, Mutation const &)
operator!=(Mutation const &, Mutation const &)
Functions
as_proto() &&
as_proto() const &
PrintTo(Mutation const &, std::ostream *)
PgOid
Overview
Constructors
PgOid(PgOid const &)
PgOid(PgOid &&)
operator std::uint64_t() const
PgOid()
PgOid(std::uint64_t)
Operators
operator=(PgOid const &)
operator=(PgOid &&)
operator std::uint64_t() const
operator==(PgOid const &, PgOid const &)
operator!=(PgOid const &, PgOid const &)
ProfileDmlResult
Overview
Constructors
ProfileDmlResult()
ProfileDmlResult(std::unique_ptr< ResultSourceInterface >)
ProfileDmlResult(ProfileDmlResult &&)
Operators
operator=(ProfileDmlResult &&)
Functions
RowsModified() const
ExecutionStats() const
ExecutionPlan() const
ProfileQueryResult
Overview
Constructors
ProfileQueryResult()
ProfileQueryResult(std::unique_ptr< ResultSourceInterface >)
ProfileQueryResult(ProfileQueryResult &&)
Operators
operator=(ProfileQueryResult &&)
Functions
begin()
end()
ReadTimestamp() const
ExecutionStats() const
ExecutionPlan() const
QueryOptions
Overview
Constructors
QueryOptions()
QueryOptions(QueryOptions const &)
QueryOptions(QueryOptions &&)
QueryOptions(Options const &)
operator Options() const
Operators
operator=(QueryOptions const &)
operator=(QueryOptions &&)
operator Options() const
operator==(QueryOptions const &, QueryOptions const &)
operator!=(QueryOptions const &, QueryOptions const &)
Functions
optimizer_version() const
set_optimizer_version(absl::optional< std::string >)
optimizer_statistics_package() const
set_optimizer_statistics_package(absl::optional< std::string >)
request_priority() const
set_request_priority(absl::optional< RequestPriority >)
request_tag() const
set_request_tag(absl::optional< std::string >)
QueryPartition
Overview
Constructors
QueryPartition(QueryPartition const &)
QueryPartition(QueryPartition &&)
QueryPartition()
Operators
operator=(QueryPartition const &)
operator=(QueryPartition &&)
operator==(QueryPartition const &, QueryPartition const &)
operator!=(QueryPartition const &, QueryPartition const &)
Functions
sql_statement() const
ReadPartition
Overview
Constructors
ReadPartition(ReadPartition const &)
ReadPartition(ReadPartition &&)
ReadPartition()
Operators
operator=(ReadPartition const &)
operator=(ReadPartition &&)
operator==(ReadPartition const &, ReadPartition const &)
operator!=(ReadPartition const &, ReadPartition const &)
Functions
TableName() const
ColumnNames() const
ReadOptions() const
ReplicaSelection
Overview
Constructors
ReplicaSelection(std::string, ReplicaType)
ReplicaSelection(std::string)
ReplicaSelection(ReplicaType)
Functions
location() const
type() const
ResultSourceInterface
Overview
Functions
NextRow()
Metadata()
Stats() const
RetryPolicy
Overview
Functions
clone() const
OnFailure(Status const &)
OnFailure(Status const &)
IsExhausted() const
IsExhausted() const
IsPermanentFailure(Status const &) const
IsPermanentFailure(Status const &) const
Row
Overview
Constructors
Row(Row const &)
Row(Row &&)
Row()
Operators
operator=(Row const &)
operator=(Row &&)
operator==(Row const &, Row const &)
operator!=(Row const &, Row const &)
Functions
size() const
columns() const
values() const &
values() &&
get(std::size_t) const
get(std::string const &) const
get(Arg &&) const
get() const &
get() &&
RowStream
Overview
Constructors
RowStream()
RowStream(std::unique_ptr< ResultSourceInterface >)
RowStream(RowStream &&)
Operators
operator=(RowStream &&)
Functions
begin()
end()
RowsModified() const
ReadTimestamp() const
RowStreamIterator
Overview
Constructors
RowStreamIterator()
RowStreamIterator(Source)
Operators
operator*()
operator->()
operator*() const
operator->() const
operator++()
operator++(int)
operator==(RowStreamIterator const &, RowStreamIterator const &)
operator!=(RowStreamIterator const &, RowStreamIterator const &)
Types
iterator_category
value_type
difference_type
pointer
reference
const_pointer
const_reference
Source
SessionPoolOptions
Overview
Constructors
SessionPoolOptions()
Functions
EnforceConstraints(int)
set_min_sessions(int)
min_sessions() const
set_max_sessions_per_channel(int)
max_sessions_per_channel() const
set_max_idle_sessions(int)
max_idle_sessions() const
set_action_on_exhaustion(ActionOnExhaustion)
action_on_exhaustion() const
set_keep_alive_interval(std::chrono::seconds)
keep_alive_interval() const
set_labels(std::map< std::string, std::string >)
labels() const
SqlStatement
Overview
Constructors
SqlStatement()
SqlStatement(std::string)
SqlStatement(std::string, ParamType)
SqlStatement(SqlStatement const &)
SqlStatement(SqlStatement &&)
Operators
operator=(SqlStatement const &)
operator=(SqlStatement &&)
operator==(SqlStatement const &, SqlStatement const &)
operator!=(SqlStatement const &, SqlStatement const &)
operator<<(std::ostream &, SqlStatement const &)
Functions
sql() const
params() const
ParameterNames() const
GetParameter(std::string const &) const
Types
ParamType
Timestamp
Overview
Constructors
Timestamp(Timestamp &&)
Timestamp(Timestamp const &)
Timestamp()
Operators
operator<<(std::ostream &, Timestamp)
operator=(Timestamp &&)
operator=(Timestamp const &)
operator==(Timestamp const &, Timestamp const &)
operator!=(Timestamp const &, Timestamp const &)
operator<(Timestamp const &, Timestamp const &)