{
  "$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-groups-get-operational-status-response-schema.json",
  "title": "InterconnectAttachmentGroupsGetOperationalStatusResponse",
  "description": "Response for the InterconnectAttachmentGroupsGetOperationalStatusResponse.",
  "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/InterconnectAttachmentGroupsGetOperationalStatusResponse",
  "properties": {
    "result": {
      "$ref": "#/$defs/InterconnectAttachmentGroupsOperationalStatus"
    },
    "etag": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "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"
        }
      }
    },
    "InterconnectAttachmentGroupsOperationalStatus": {
      "properties": {
        "groupStatus": {
          "enum": [
            "DEGRADED",
            "FULLY_DOWN",
            "FULLY_UP",
            "UNSPECIFIED"
          ],
          "description": "Output only. Summarizes the status of the group.",
          "readOnly": true,
          "type": "string"
        },
        "configured": {
          "$ref": "#/$defs/InterconnectAttachmentGroupConfigured"
        },
        "attachmentStatuses": {
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentGroupsOperationalStatusAttachmentStatus"
          },
          "type": "array",
          "readOnly": true
        },
        "operational": {
          "$ref": "#/$defs/InterconnectAttachmentGroupConfigured",
          "description": "Output only. The operational state of the group, including only active Attachments."
        },
        "intent": {
          "$ref": "#/$defs/InterconnectAttachmentGroupIntent"
        }
      },
      "type": "object"
    },
    "InterconnectAttachmentGroupsOperationalStatusAttachmentStatus": {
      "description": "The status of one Attachment in the group. List order is arbitrary.",
      "properties": {
        "isActive": {
          "description": "Output only. Whether this Attachment is participating in the redundant configuration.\nThis will be ACTIVE if and only if the status below is CONNECTION_UP.\nAny INACTIVE Attachments are excluded from the analysis that generates\noperational.availabilitySLA.",
          "type": "string",
          "readOnly": true,
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "UNSPECIFIED"
          ]
        },
        "attachment": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The URL of the Attachment being described."
        },
        "adminEnabled": {
          "description": "Output only. Whether this Attachment is enabled. This becomes false when the customer\ndrains their Attachment.",
          "type": "boolean",
          "readOnly": true
        },
        "status": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Whether this Attachment is active, and if so, whether BGP is up.",
          "enum": [
            "ATTACHMENT_STATUS_UNKNOWN",
            "CONNECTION_DISABLED",
            "CONNECTION_DOWN",
            "CONNECTION_UP",
            "DEFUNCT",
            "IPSEC_CONFIGURATION_NEEDED_STATUS",
            "IPSEC_READY_TO_RESUME_FLOW_STATUS",
            "IPV4_DOWN_IPV6_UP",
            "IPV4_UP_IPV6_DOWN",
            "PARTNER_REQUEST_RECEIVED",
            "PENDING_CUSTOMER",
            "PENDING_PARTNER",
            "PROVISIONED",
            "ROUTER_CONFIGURATION_BROKEN",
            "UNPROVISIONED"
          ]
        }
      },
      "type": "object"
    }
  }
}