googleapis/google/api
Google APIs bba2c8b208 docs: improve MethodSettings selector examples
fix: un-deprecate Endpoint.aliases field

feat: add FieldInfo.referenced_types for generics

docs: fix formatting in http.proto comments

docs: update ResourceDescriptor.plural docs with AIP-122 nested collections guidance

docs: reformat comments in context proto
PiperOrigin-RevId: 652883826
2024-07-16 09:59:52 -07:00
..
apikeys chore(php): promote ApiKeys as stable 2024-06-24 14:16:23 -07:00
cloudquotas feat: promote to GA 2024-06-24 13:01:44 -07:00
expr chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
servicecontrol chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
servicemanagement chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
serviceusage chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
annotations.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
auth.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
backend.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
billing.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
BUILD.bazel feat: public google.api.FieldInfo type and extension 2023-10-02 09:08:25 -07:00
client.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
config_change.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
consumer.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
context.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
control.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
distribution.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
documentation.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
endpoint.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
error_reason.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
field_behavior.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
field_info.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
http.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
httpbody.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
label.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
launch_stage.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
log.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
logging.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
metric.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
monitored_resource.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
monitoring.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
policy.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
quota.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
README.md chore: update README files 2023-10-11 10:16:35 -07:00
resource.proto docs: improve MethodSettings selector examples 2024-07-16 09:59:52 -07:00
routing.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
service.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
serviceconfig.yaml feat: public google.api.FieldInfo type and extension 2023-10-02 09:08:25 -07:00
source_info.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
system_parameter.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
usage.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00
visibility.proto chore: update copyright year for auto-generated protos 2024-05-07 13:56:05 -07:00

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 authentication providers, allowing you to describe what your services expect and accept from clients.