Service Infrastructure is Google's foundational platform for creating, managing, and consuming APIs and services. It is used by Google APIs, Google Cloud APIs, and Cloud Endpoints. Service Infrastructure provides a wide range of features to service consumers and service producers, including authentication, authorization, auditing, rate limiting, billing, logging, and monitoring.
Creating APIs and services
To create a service using Service Infrastructure, you need to create a service configuration to define your service settings and behaviors, such as service name and API surface. You then upload your service configuration to the Service Management API to create your service and register it with Google Cloud.
At runtime, your service makes API calls to the Service Control API to use admission control and telemetry reporting provided by Service Infrastructure, such as validating API keys and reporting API metrics.
Managing APIs and services
If you are a service producer, you can use the Service Consumer Management API and the Service Networking API to manage consumers of your service, including creating tenant projects for your consumers, setting up network peering between tenant projects and consumer projects, and managing the quota limits of your consumers.
Consuming APIs and services
If you are a service consumer, you can use the Service Usage to list, enable, and disable APIs and services in your Cloud projects, and apply quota restrictions to services used by your Cloud projects or within your organization. You can manage both Google-provided services and services created using Cloud Endpoints.
For more information, see the Service Usage documentation.