{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-interconnect-attachment-group-schema.json",
  "title": "InterconnectAttachmentGroup",
  "description": "An interconnect attachment group resource allows customers to create,\nanalyze, and expand highly available deployments.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-interconnect-attachment-groups-api-openapi.yml#/components/schemas/InterconnectAttachmentGroup",
  "properties": {
    "kind": {
      "description": "Output only. [Output Only] Type of the resource. Always\ncompute#interconnectAttachmentGroup.",
      "readOnly": true,
      "type": "string",
      "default": "compute#interconnectAttachmentGroup"
    },
    "etag": {
      "type": "string",
      "description": "Opaque system-generated token that uniquely identifies the configuration.\nIf provided when patching a configuration in update mode, the provided\ntoken must match the current token or the update is rejected. This provides\na reliable means of doing read-modify-write (optimistic locking) as\ndescribed byAIP 154."
    },
    "attachments": {
      "description": "Attachments in the AttachmentGroup. Keys are arbitrary user-specified\nstrings. Users are encouraged, but not required, to use their preferred\nformat for resource links as keys.\nNote that there are add-members and remove-members methods in gcloud.\nThe size of this map is limited by an \"Attachments per group\" quota.",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/InterconnectAttachmentGroupAttachment"
      }
    },
    "configured": {
      "$ref": "#/$defs/InterconnectAttachmentGroupConfigured"
    },
    "creationTimestamp": {
      "readOnly": true,
      "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
      "type": "string"
    },
    "intent": {
      "$ref": "#/$defs/InterconnectAttachmentGroupIntent"
    },
    "id": {
      "format": "uint64",
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier."
    },
    "name": {
      "type": "string",
      "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
    },
    "description": {
      "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
      "type": "string"
    },
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined URL for the resource.",
      "readOnly": true,
      "type": "string"
    },
    "logicalStructure": {
      "$ref": "#/$defs/InterconnectAttachmentGroupLogicalStructure"
    },
    "interconnectGroup": {
      "description": "The URL of an InterconnectGroup that groups these Attachments'\nInterconnects. Customers do not need to set this unless directed by\nGoogle Support.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "InterconnectAttachmentGroupAttachment": {
      "description": "An Attachment in this AttachmentGroup.",
      "type": "object",
      "properties": {
        "attachment": {
          "type": "string"
        }
      }
    },
    "InterconnectAttachmentGroupConfigured": {
      "properties": {
        "availabilitySla": {
          "$ref": "#/$defs/InterconnectAttachmentGroupConfiguredAvailabilitySLA"
        }
      },
      "description": "[Output Only] The redundancy this group is configured to support. The way a\nuser queries what SLA their Attachment gets is by looking at this field of\nthe Attachment's AttachmentGroup.",
      "type": "object"
    },
    "InterconnectAttachmentGroupConfiguredAvailabilitySLA": {
      "description": "[Output Only] Which SLA this group is configured to support, and why this\ngroup does or does not meet that SLA's requirements.",
      "properties": {
        "effectiveSla": {
          "enum": [
            "EFFECTIVE_SLA_UNSPECIFIED",
            "NO_SLA",
            "PRODUCTION_CRITICAL",
            "PRODUCTION_NON_CRITICAL"
          ],
          "type": "string",
          "readOnly": true
        },
        "intendedSlaBlockers": {
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers"
          }
        }
      },
      "type": "object"
    },
    "InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers": {
      "properties": {
        "zones": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "readOnly": true,
          "description": "Output only. [Output Only] Zones used to explain this blocker in more detail.\nFormat is \"zone1\" and/or \"zone2\". This will be set for some blockers\n(like  MISSING_ZONE) but does not apply to others."
        },
        "blockerType": {
          "enum": [
            "BLOCKER_TYPE_UNSPECIFIED",
            "INCOMPATIBLE_METROS",
            "INCOMPATIBLE_REGIONS",
            "MISSING_GLOBAL_ROUTING",
            "NO_ATTACHMENTS",
            "NO_ATTACHMENTS_IN_METRO_AND_ZONE",
            "OTHER"
          ],
          "type": "string",
          "readOnly": true
        },
        "metros": {
          "items": {
            "type": "string"
          },
          "description": "Output only. [Output Only] Metros used to explain this blocker in more detail.\nThese are three-letter lowercase strings like \"iad\". This will be set\nfor some blockers (like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does\nnot apply to others.",
          "type": "array",
          "readOnly": true
        },
        "attachments": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. [Output Only] URLs of any particular Attachments to explain this\nblocker in more detail.",
          "readOnly": true
        },
        "explanation": {
          "description": "Output only. [Output Only] A human-readable explanation of this requirement and\nwhy it's not met. This is set for every type of requirement.",
          "type": "string",
          "readOnly": true
        },
        "regions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "readOnly": true,
          "description": "Output only. [Output Only] Regions used to explain this blocker in more\ndetail. These are region names formatted like \"us-central1\". This\nwill be set for some blockers (like INCOMPATIBLE_REGIONS) but does\nnot apply to others."
        },
        "documentationLink": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The url of Google Cloud public documentation explaining\nthis requirement. This is set for every type of requirement."
        }
      },
      "description": "[Output Only] Reasons why configuration.availabilitySLA.sla differs from\nintent.availabilitySLA. This list is empty if and only if those are the\nsame.",
      "type": "object"
    },
    "InterconnectAttachmentGroupIntent": {
      "type": "object",
      "description": "The user's intent for this AttachmentGroup. This is the only required field\nbesides the name that must be specified on group creation.",
      "properties": {
        "availabilitySla": {
          "enum": [
            "AVAILABILITY_SLA_UNSPECIFIED",
            "NO_SLA",
            "PRODUCTION_CRITICAL",
            "PRODUCTION_NON_CRITICAL"
          ],
          "type": "string"
        }
      }
    },
    "InterconnectAttachmentGroupLogicalStructure": {
      "properties": {
        "regions": {
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupLogicalStructureRegion"
          },
          "type": "array"
        }
      },
      "description": "[Output Only] An analysis of the logical layout of Attachments in this\ngroup. Every Attachment in the group is shown once in this structure.",
      "type": "object"
    },
    "InterconnectAttachmentGroupLogicalStructureRegion": {
      "properties": {
        "region": {
          "readOnly": true,
          "description": "Output only. [Output Only] The name of a region, like \"us-central1\".",
          "type": "string"
        },
        "metros": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupLogicalStructureRegionMetro"
          }
        }
      },
      "type": "object",
      "description": "[Output Only] The regions Attachments in this group are in."
    },
    "InterconnectAttachmentGroupLogicalStructureRegionMetro": {
      "properties": {
        "metro": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The name of the metro, as a three-letter lowercase\nstring like \"iad\". This is the first component of the location of an\nInterconnect."
        },
        "facilities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupLogicalStructureRegionMetroFacility"
          },
          "readOnly": true
        }
      },
      "type": "object",
      "description": "[Output Only] The metros of Attachments in this group in this region."
    },
    "InterconnectAttachmentGroupLogicalStructureRegionMetroFacility": {
      "properties": {
        "facility": {
          "type": "string",
          "description": "Output only. [Output Only] The name of a facility, like \"iad-1234\".",
          "readOnly": true
        },
        "zones": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone"
          }
        }
      },
      "description": "[Output Only] The facilities used for this group's Attachments'\nInterconnects.",
      "type": "object"
    },
    "InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone": {
      "properties": {
        "attachments": {
          "description": "Output only. [Output Only] URLs of Attachments in the given zone, to the given\nregion, on Interconnects in the given facility and metro. Every\nAttachment in the AG has such an entry.",
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "zone": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The name of a zone, either \"zone1\" or \"zone2\"."
        }
      },
      "type": "object",
      "description": "[Output Only] The zones that Attachments in this group are present\nin, in the given facilities.  This is inherited from their\nInterconnects."
    }
  }
}