• Home
Name Date Size #Lines LOC

..--

apikeys/06-Sep-2024-962845

cloudquotas/06-Sep-2024-1,136988

expr/06-Sep-2024-2,4342,025

servicecontrol/06-Sep-2024-2,6652,264

servicemanagement/06-Sep-2024-1,6331,414

serviceusage/06-Sep-2024-2,7332,389

Android.bpD06-Sep-20242.2 KiB9286

BUILD.bazelD06-Sep-202418.7 KiB886763

README.mdD06-Sep-20241.3 KiB3726

annotations.protoD06-Sep-20241 KiB3226

auth.protoD06-Sep-20249 KiB238215

backend.protoD06-Sep-20246.8 KiB186168

billing.protoD06-Sep-20243 KiB7871

client.protoD06-Sep-202414.4 KiB428362

config_change.protoD06-Sep-20243.1 KiB8571

consumer.protoD06-Sep-20242.7 KiB8370

context.protoD06-Sep-20243 KiB9181

control.protoD06-Sep-20241.4 KiB4235

distribution.protoD06-Sep-20248.5 KiB214187

documentation.protoD06-Sep-20246.8 KiB169153

endpoint.protoD06-Sep-20243 KiB7466

error_reason.protoD06-Sep-202422.1 KiB590555

field_behavior.protoD06-Sep-20244.2 KiB10590

field_info.protoD06-Sep-20243.1 KiB8068

http.protoD06-Sep-202414.8 KiB380362

httpbody.protoD06-Sep-20242.6 KiB8274

label.protoD06-Sep-20241.4 KiB4939

launch_stage.protoD06-Sep-20243 KiB7361

log.protoD06-Sep-20242 KiB5546

logging.protoD06-Sep-20243.1 KiB8274

metric.protoD06-Sep-202410.4 KiB269237

monitored_resource.protoD06-Sep-20245.8 KiB131116

monitoring.protoD06-Sep-20244.4 KiB108100

policy.protoD06-Sep-20243.2 KiB8674

quota.protoD06-Sep-20247 KiB185167

resource.protoD06-Sep-20248.5 KiB239217

routing.protoD06-Sep-202414.6 KiB462453

service.protoD06-Sep-20246.6 KiB192161

serviceconfig.yamlD06-Sep-2024767 2925

source_info.protoD06-Sep-20241.1 KiB3226

system_parameter.protoD06-Sep-20243.4 KiB9787

usage.protoD06-Sep-20243.7 KiB9787

visibility.protoD06-Sep-20243.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