robot-contrib ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
..
README.md 06e5c21a83 fix ya.make 2 лет назад
annotations.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
auth.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
backend.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
billing.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
client.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
config_change.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
consumer.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
context.proto 47df745328 Update contrib/libs/googleapis-common-protos to 1.65.0 4 месяцев назад
control.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
distribution.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
documentation.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
endpoint.proto 47df745328 Update contrib/libs/googleapis-common-protos to 1.65.0 4 месяцев назад
error_reason.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
field_behavior.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
field_info.proto 47df745328 Update contrib/libs/googleapis-common-protos to 1.65.0 4 месяцев назад
http.proto 47df745328 Update contrib/libs/googleapis-common-protos to 1.65.0 4 месяцев назад
httpbody.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
label.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
launch_stage.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
log.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
logging.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
metric.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
monitored_resource.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
monitoring.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
policy.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
quota.proto ff78bafb46 Update contrib/libs/googleapis-common-protos to 1.66.0 2 месяцев назад
resource.proto 47df745328 Update contrib/libs/googleapis-common-protos to 1.65.0 4 месяцев назад
routing.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
service.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
source_info.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
system_parameter.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
usage.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад
visibility.proto 33496e3c82 Update contrib/libs/googleapis-common-protos to 1.63.1 7 месяцев назад

README.md

API Protos

This folder contains the schema of the configuration model for Google's internal API serving platform, which handles routing, quotas, monitoring, logging, and the like.

Google refers to this configuration colloquially as the "service config", and the service.proto file in this directory is the entry point for understanding these.

Using these protos

To be honest, we probably open sourced way too much of this (basically by accident). There are a couple files in here you are most likely to be interested in: http.proto, documentation.proto, auth.proto, and annotations.proto.

HTTP and REST

The http.proto file contains the Http message (which then is wrapped in an annotation in annotations.proto), which provides a specification for REST endpoints and verbs (GET, POST, etc.) on RPC methods. We recommend use of this annotation for describing the relationship between RPCs and REST endpoints.

Documentation

The documentation.proto file contains a Documentation message which provides a mechanism to fully describe an API, allowing a tool to build structured documentation artifacts.

Authentication

The auth.proto file contains descriptions of both authentication rules and authenticaion providers, allowing you to describe what your services expect and accept from clients.

api-compiler

Google provides a tool called api-compiler, which is a tool that accepts a protocol buffer descriptor and a YAML file specifying some of the options described in service.proto, and outputs a much more thorough Service descriptor based on the information it infers from the protos themselves.