{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-pubsub/json-schema/google-cloud-pubsub-reservation-schema.json",
  "title": "Reservation",
  "description": "Metadata about a reservation resource.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-pubsub-pubsublite-admin-api-openapi.yml#/components/schemas/Reservation",
  "type": "object",
  "properties": {
    "throughputCapacity": {
      "format": "int64",
      "description": "The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.",
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}"
    }
  }
}