{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-host-schema.json",
  "title": "Host",
  "description": "Represents a host resource.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-hosts-api-openapi.yml#/components/schemas/Host",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The state of the host.",
      "enum": [
        "ACTIVE",
        "CREATING",
        "DELETING",
        "STATE_UNSPECIFIED",
        "UNAVAILABLE"
      ]
    },
    "status": {
      "$ref": "#/$defs/HostStatus",
      "description": "Output only. The status of the host"
    },
    "creationTimestamp": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The creation timestamp, formatted asRFC3339 text."
    },
    "id": {
      "format": "uint64",
      "readOnly": true,
      "type": "string",
      "description": "Output only. The unique identifier for this resource. This identifier is\ndefined by the server."
    },
    "kind": {
      "type": "string",
      "default": "compute#host",
      "readOnly": true,
      "description": "Output only. The type of resource. Alwayscompute#host for hosts."
    },
    "aliasLinks": {
      "type": "array",
      "description": "Output only. All aliases for this resource.\ne.g.\nprojects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "description": {
      "description": "An optional description of this resource.",
      "type": "string"
    },
    "zone": {
      "type": "string",
      "description": "Output only. The zone in which the host resides.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The name of the host."
    },
    "selfLinkWithId": {
      "description": "Output only. The self link with id of the host.",
      "type": "string",
      "readOnly": true
    },
    "selfLink": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The self link of the host."
    }
  },
  "$defs": {
    "HostPhysicalTopology": {
      "properties": {
        "host": {
          "description": "The unique identifier of the capacity host within the capacity sub-block.",
          "type": "string"
        },
        "subBlock": {
          "type": "string",
          "description": "The unique identifier of the capacity sub-block within the capacity\nblock."
        },
        "cluster": {
          "type": "string",
          "description": "The cluster name of the reservation sub-block."
        },
        "block": {
          "type": "string",
          "description": "The unique identifier of the capacity block within the cluster."
        }
      },
      "type": "object"
    },
    "HostStatus": {
      "type": "object",
      "properties": {
        "physicalTopology": {
          "$ref": "#/$defs/HostPhysicalTopology",
          "description": "Output only. The physical topology of the reservation sub-block, if\npresent"
        },
        "runningInstances": {
          "items": {
            "type": "string"
          },
          "description": "Output only. The URIs of the instances currently running on this host.",
          "type": "array",
          "readOnly": true
        }
      }
    }
  }
}