{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-platform/json-schema/google-cloud-platform-google-cloud-essentialcontacts-v1-compute-contacts-response-schema.json",
  "title": "GoogleCloudEssentialcontactsV1ComputeContactsResponse",
  "description": "Response message for the ComputeContacts method.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-platform-essentialcontacts-folders-api-openapi.yml#/components/schemas/GoogleCloudEssentialcontactsV1ComputeContactsResponse",
  "type": "object",
  "properties": {
    "contacts": {
      "type": "array",
      "description": "All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.",
      "items": {
        "$ref": "#/$defs/GoogleCloudEssentialcontactsV1Contact"
      }
    },
    "nextPageToken": {
      "type": "string",
      "description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token` and the rest of the parameters the same as the original request."
    }
  },
  "$defs": {
    "GoogleCloudEssentialcontactsV1Contact": {
      "type": "object",
      "description": "A contact that will receive notifications from Google Cloud.",
      "properties": {
        "email": {
          "description": "Required. The email address to send notifications to. The email address does not need to be a Google Account.",
          "type": "string"
        },
        "validationState": {
          "type": "string",
          "description": "Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.",
          "readOnly": true,
          "enum": [
            "VALIDATION_STATE_UNSPECIFIED",
            "VALID",
            "INVALID"
          ]
        },
        "name": {
          "description": "Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}",
          "readOnly": true,
          "type": "string"
        },
        "languageTag": {
          "type": "string",
          "description": "Required. The preferred language for notifications, as a ISO 639-1 language code. See [Supported languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) for a list of supported languages."
        },
        "validateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.",
          "format": "google-datetime"
        },
        "notificationCategorySubscriptions": {
          "description": "Required. The categories of notifications that the contact will receive communications for.",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "NOTIFICATION_CATEGORY_UNSPECIFIED",
              "ALL",
              "SUSPENSION",
              "SECURITY",
              "TECHNICAL",
              "BILLING",
              "LEGAL",
              "PRODUCT_UPDATES",
              "TECHNICAL_INCIDENTS"
            ]
          }
        }
      }
    }
  }
}