No description
Find a file
Google APIs 29da218f02 feat: Launch Map Management v2 API GA channel
Users of Cloud Styling can now programmatically manage their Cloud Styling Resources like Maps, Styles, and Datasets.

PiperOrigin-RevId: 963642371
2026-08-12 13:54:20 -07:00
.bcr fix: Fix .bcr/publish-to-bcr.sh after recent change 2026-03-25 12:37:42 -07:00
.cloudbuild Synchronize new proto/yaml changes. 2025-09-04 00:43:48 -07:00
.github chore: delete diregapic regen workflows 2026-07-28 18:29:07 -07:00
.kokoro chore: Update references from gsutil to gcloud storage 2026-03-31 15:14:20 -07:00
backstory chore(python): Update namespace for //backstory to prepare for release 2026-06-01 07:55:40 -07:00
gapic/metadata feat: add api_version field to service mapping 2025-10-28 11:21:32 -07:00
google feat: Launch Map Management v2 API GA channel 2026-08-12 13:54:20 -07:00
grafeas chore: update protobuf to 33.2 and rules_python to 1.6.0 2026-08-06 10:09:48 -07:00
preview/google feat(preview): update Compute v1 to revision 20260722 2026-08-03 06:50:14 -07:00
.bazelignore build: include .bazelignore in this repository 2025-07-29 12:08:14 -07:00
.bazeliskrc feat: upgrade protobuf from v25.7 to v31.0 2026-03-10 13:26:56 -07:00
.bazelrc fix(deps): Update the Java code generator (gapic-generator-java) to v2.75.0 2026-08-05 12:05:03 -07:00
.gitignore chore: Ignore .vscode folder (#906) 2024-06-26 10:37:01 -04:00
BUILD.bazel chore: preserve current bazel glob behavior as bazel 8 changes the default value of allow_empty from True to False 2025-03-20 12:34:42 -07:00
CODE_OF_CONDUCT.md chore: add a Code of Conduct (#645) 2021-03-25 15:00:12 -07:00
CONTRIBUTING.md Revert "Synchronize new proto/yaml changes." (#554) 2019-05-29 14:23:10 -07:00
generator-versions.json feat: add internal tag to generated $serviceScopes property 2026-08-05 20:02:13 -07:00
LICENSE Revert "Synchronize new proto/yaml changes." (#554) 2019-05-29 14:23:10 -07:00
load_json.bzl build: specify gapic generator versions in a JSON file 2025-06-16 18:08:18 -07:00
Makefile Revert "Synchronize new proto/yaml changes." (#554) 2019-05-29 14:23:10 -07:00
PACKAGES.md chore: fix typo in PACKAGES.md (#715) 2022-04-26 14:48:03 -04:00
README.md fix: Replace invalid example bazel command in README (#804) 2023-12-14 16:42:25 -08:00
repository_rules.bzl chore: update protobuf to 33.2 and rules_python to 1.6.0 2026-08-06 10:09:48 -07:00
SECURITY.md chore: add SECURITY.md (#648) 2021-05-11 11:14:45 -07:00
WORKSPACE chore: update protobuf to 33.2 and rules_python to 1.6.0 2026-08-06 10:09:48 -07:00

Google APIs

This repository contains the original interface definitions of public Google APIs that support both REST and gRPC protocols. Reading the original interface definitions can provide a better understanding of Google APIs and help you to utilize them more efficiently. You can also use these definitions with open source tools to generate client libraries, documentation, and other artifacts.

Building

Bazel

The recommended way to build the API client libraries is through Bazel >= 4.2.2.

First, install bazel.

To build all libraries:

bazel build //...

To test all libraries:

bazel test //...

To build one library in all languages:

bazel build //google/example/library/v1/...

To build the Java package for one library:

bazel build //google/example/library/v1:google-cloud-example-library-v1-java

Bazel packages exist in all the libraries for Java, Go, Python, Ruby, Node.js, PHP and C#.

Overview

Google APIs are typically deployed as API services that are hosted under different DNS names. One API service may implement multiple APIs and multiple versions of the same API.

Google APIs use Protocol Buffers version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for both REST and RPC versions of the API, which can be accessed over different wire protocols.

There are several ways of accessing Google APIs:

  1. JSON over HTTP: You can access all Google APIs directly using JSON over HTTP, using Google API client library or third-party API client libraries.

  2. Protocol Buffers over gRPC: You can access Google APIs published in this repository through GRPC, which is a high-performance binary RPC protocol over HTTP/2. It offers many useful features, including request/response multiplex and full-duplex streaming.

  3. Google Cloud Client Libraries: You can use these libraries to access Google Cloud APIs. They are based on gRPC for better performance and provide idiomatic client surface for better developer experience.

Discussions

This repo contains copies of Google API definitions and related files. For discussions or to raise issues about Google API client libraries, GRPC or Google Cloud Client Libraries please refer to the repos associated with each area.

Repository Structure

This repository uses a directory hierarchy that reflects the Google API product structure. In general, every API has its own root directory, and each major version of the API has its own subdirectory. The proto package names exactly match the directory: this makes it easy to locate the proto definitions and ensures that the generated client libraries have idiomatic namespaces in most programming languages. Alongside the API directories live the configuration files for the GAPIC toolkit.

NOTE: The major version of an API is used to indicate breaking change to the API.

Generate gRPC Source Code

To generate gRPC source code for Google APIs in this repository, you first need to install both Protocol Buffers and gRPC on your local machine, then you can run make LANGUAGE=xxx all to generate the source code. You need to integrate the generated source code into your application build system.

NOTE: The Makefile is only intended to generate source code for the entire repository. It is not for generating linkable client library for a specific API. Please see other repositories under https://github.com/googleapis for generating linkable client libraries.

Go gRPC Source Code

It is difficult to generate Go gRPC source code from this repository, since Go has different directory structure. Please use this repository instead.