• Home
Name Date Size #Lines LOC

..--

apikeys/04-Jul-2025-962845

cloudquotas/04-Jul-2025-1,136988

expr/04-Jul-2025-2,4342,025

servicecontrol/04-Jul-2025-2,6652,264

servicemanagement/04-Jul-2025-1,6331,414

serviceusage/04-Jul-2025-2,7332,389

Android.bpD04-Jul-20252.6 KiB108101

BUILD.bazelD04-Jul-202518.7 KiB886763

README.mdD04-Jul-20251.3 KiB3726

annotations.protoD04-Jul-20251 KiB3226

auth.protoD04-Jul-20259 KiB238215

backend.protoD04-Jul-20256.8 KiB186168

billing.protoD04-Jul-20253 KiB7871

client.protoD04-Jul-202514.4 KiB428362

config_change.protoD04-Jul-20253.1 KiB8571

consumer.protoD04-Jul-20252.7 KiB8370

context.protoD04-Jul-20253 KiB9181

control.protoD04-Jul-20251.4 KiB4235

distribution.protoD04-Jul-20258.5 KiB214187

documentation.protoD04-Jul-20256.8 KiB169153

endpoint.protoD04-Jul-20253 KiB7466

error_reason.protoD04-Jul-202522.1 KiB590555

field_behavior.protoD04-Jul-20254.2 KiB10590

field_info.protoD04-Jul-20253.1 KiB8068

http.protoD04-Jul-202514.8 KiB380362

httpbody.protoD04-Jul-20252.6 KiB8274

label.protoD04-Jul-20251.4 KiB4939

launch_stage.protoD04-Jul-20253 KiB7361

log.protoD04-Jul-20252 KiB5546

logging.protoD04-Jul-20253.1 KiB8274

metric.protoD04-Jul-202510.4 KiB269237

monitored_resource.protoD04-Jul-20255.8 KiB131116

monitoring.protoD04-Jul-20254.4 KiB108100

policy.protoD04-Jul-20253.2 KiB8674

quota.protoD04-Jul-20257 KiB185167

resource.protoD04-Jul-20258.5 KiB239217

routing.protoD04-Jul-202514.6 KiB462453

service.protoD04-Jul-20256.6 KiB192161

serviceconfig.yamlD04-Jul-2025767 2925

source_info.protoD04-Jul-20251.1 KiB3226

system_parameter.protoD04-Jul-20253.4 KiB9787

usage.protoD04-Jul-20253.7 KiB9787

visibility.protoD04-Jul-20253.7 KiB114100

README.md

1## API Protos
2
3This folder contains the schema of the configuration model for Google's
4internal API serving platform, which handles routing, quotas, monitoring,
5logging, and the like.
6
7Google refers to this configuration colloquially as the "service config",
8and the `service.proto` file in this directory is the entry point for
9understanding these.
10
11## Using these protos
12
13To be honest, we probably open sourced way too much of this (basically by
14accident). There are a couple files in here you are most likely to be
15interested in: `http.proto`, `documentation.proto`, `auth.proto`, and
16`annotations.proto`.
17
18### HTTP and REST
19
20The `http.proto` file contains the `Http` message (which then is wrapped
21in an annotation in `annotations.proto`), which provides a specification
22for REST endpoints and verbs (`GET`, `POST`, etc.) on RPC methods.
23We recommend use of this annotation for describing the relationship
24between RPCs and REST endpoints.
25
26### Documentation
27
28The `documentation.proto` file contains a `Documentation` message which
29provides a mechanism to fully describe an API, allowing a tool to build
30structured documentation artifacts.
31
32### Authentication
33
34The `auth.proto` file contains descriptions of both authentication rules
35and authentication providers, allowing you to describe what your services
36expect and accept from clients.
37