Documentation
¶
Overview ¶
Package serviceusage tracks which APIs a project has enabled.
It is deploy-tooling plumbing, not something an app calls at runtime: a `terraform apply` or a `gcloud services enable` turns an API on before using it, and a stub that always answers "enabled" makes a config that toggles a service look like it changed nothing. Tracking real state lets that config round-trip — enable, read back enabled, disable, read back disabled.
Index ¶
Constants ¶
View Source
const MaxBodyBytes = 4 << 20
MaxBodyBytes caps a JSON request body; the port is shared.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the Service Usage REST API over the shared store.
Click to show internal directories.
Click to hide internal directories.