{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-transfer-service/json-schema/google-cloud-transfer-service-agent-pool-schema.json",
  "title": "AgentPool",
  "description": "Represents an agent pool.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-transfer-service-projects-api-openapi.yml#/components/schemas/AgentPool",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "Specifies the client-specified AgentPool description."
    },
    "name": {
      "description": "Required. Specifies a unique string that identifies the agent pool. Format: `projects/{project_id}/agentPools/{agent_pool_id}`",
      "type": "string"
    },
    "state": {
      "enum": [
        "STATE_UNSPECIFIED",
        "CREATING",
        "CREATED",
        "DELETING"
      ],
      "description": "Output only. Specifies the state of the AgentPool.",
      "readOnly": true,
      "type": "string"
    },
    "bandwidthLimit": {
      "$ref": "#/$defs/BandwidthLimit",
      "description": "Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'."
    }
  },
  "type": "object",
  "$defs": {
    "BandwidthLimit": {
      "type": "object",
      "properties": {
        "limitMbps": {
          "format": "int64",
          "description": "Bandwidth rate in megabytes per second, distributed across all the agents in the pool.",
          "type": "string"
        }
      },
      "description": "Specifies a bandwidth limit for an agent pool."
    }
  }
}