MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cpp-samples

github.com/GoogleCloudPlatform/cpp-samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
134 symbols 249 edges 43 files 15 documented · 11% updated 56d ago★ 1785 open issues

Browse by type

Functions 123 Types & classes 11
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

C++ Samples

A small collection of samples that demonstrate how to call Google Cloud services from C++.

style cloud build

The samples in this repo cover only a small fraction of the total APIs that you can call from C++. See the googleapis repo to see the full list of APIs callable from C++.

These samples will only build and run on Linux.

There is a growing collection of C++ client libraries for Google Cloud services. These include Cloud Bigtable, Cloud Pub/Sub, Cloud Spanner, and Google Cloud Storage. These libraries include examples of how to use most functions. The examples in this repository typically involve using a combination of services, or a more specific use-case.

Contributing changes

Licensing

Core symbols most depended-on inside this repo

Shape

Function 102
Method 21
Class 11

Languages

C++94%
C5%
Python1%

Modules by API surface

getting-started/gke/index_gcs.cc18 symbols
speech/api/streaming_transcribe_singlethread.cc14 symbols
populate-bucket/populate_bucket.cc12 symbols
getting-started/update/update_gcs_index.cc8 symbols
getting-started/index_gcs_prefix.cc8 symbols
iot/mqtt-ciotc/mqtt_ciotc.c7 symbols
gcs-fast-transfers/download.cc6 symbols
bigquery/read/arrow/arrow_read.cc5 symbols
speech/api/streaming_transcribe_coroutines.cc4 symbols
pubsub-open-telemetry/publisher_helper.cc4 symbols
getting-started/gcs_indexing.cc4 symbols
batch/parallel/application/src/finsim.cc4 symbols

For agents

$ claude mcp add cpp-samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page