{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-node-group-aggregated-list-schema.json",
  "title": "NodeGroupAggregatedList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-node-groups-api-openapi.yml#/components/schemas/NodeGroupAggregatedList",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "items": {
      "type": "object",
      "description": "A list of NodeGroupsScopedList resources.",
      "additionalProperties": {
        "$ref": "#/$defs/NodeGroupsScopedList",
        "description": "[Output Only] Name of the scope containing this set of node groups."
      }
    },
    "kind": {
      "readOnly": true,
      "description": "Output only. [Output Only] Type of resource.Alwayscompute#nodeGroupAggregatedList for aggregated lists of node\ngroups.",
      "default": "compute#nodeGroupAggregatedList",
      "type": "string"
    },
    "warning": {
      "properties": {
        "message": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "code": {
          "enum": [
            "CLEANUP_FAILED",
            "DEPRECATED_RESOURCE_USED",
            "DEPRECATED_TYPE_USED",
            "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
            "EXPERIMENTAL_TYPE_USED",
            "EXTERNAL_API_WARNING",
            "FIELD_VALUE_OVERRIDEN",
            "INJECTED_KERNELS_DEPRECATED",
            "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
            "LARGE_DEPLOYMENT_WARNING",
            "LIST_OVERHEAD_QUOTA_EXCEED",
            "MISSING_TYPE_DEPENDENCY",
            "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
            "NEXT_HOP_CANNOT_IP_FORWARD",
            "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
            "NEXT_HOP_INSTANCE_NOT_FOUND",
            "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
            "NEXT_HOP_NOT_RUNNING",
            "NOT_CRITICAL_ERROR",
            "NO_RESULTS_ON_PAGE",
            "PARTIAL_SUCCESS",
            "QUOTA_INFO_UNAVAILABLE",
            "REQUIRED_TOS_AGREEMENT",
            "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
            "RESOURCE_NOT_DELETED",
            "SCHEMA_VALIDATION_IGNORED",
            "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
            "UNDECLARED_PROPERTIES",
            "UNREACHABLE"
          ],
          "type": "string",
          "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response."
        },
        "data": {
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding)."
              },
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              }
            }
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "[Output Only] Informational warning message."
    },
    "unreachables": {
      "items": {
        "type": "string"
      },
      "description": "Output only. [Output Only] Unreachable resources.",
      "type": "array",
      "readOnly": true
    },
    "nextPageToken": {
      "type": "string",
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results."
    },
    "selfLink": {
      "readOnly": true,
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "type": "string"
    }
  },
  "$defs": {
    "Duration": {
      "type": "object",
      "description": "A Duration represents a fixed-length span of time represented\nas a count of seconds and fractions of seconds at nanosecond\nresolution. It is independent of any calendar and concepts like \"day\"\nor \"month\". Range is approximately 10,000 years.",
      "properties": {
        "seconds": {
          "description": "Span of time at a resolution of a second. Must be from 0\nto 315,576,000,000 inclusive. Note: these bounds are computed from:\n60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years",
          "type": "string",
          "format": "int64"
        },
        "nanos": {
          "format": "int32",
          "type": "integer",
          "description": "Span of time that's a fraction of a second at nanosecond resolution.\nDurations less than one second are represented with a 0\n`seconds` field and a positive `nanos` field. Must be from 0\nto 999,999,999 inclusive."
        }
      }
    },
    "NodeGroup": {
      "description": "Represents a sole-tenant Node Group resource.\n\nA sole-tenant node is a physical server that is dedicated to\nhosting VM instances only for your specific project. Use sole-tenant nodes to\nkeep your instances physically separated from instances in other projects, or\nto group your instances together on the same host hardware. For more\ninformation, readSole-tenant nodes.",
      "type": "object",
      "properties": {
        "maintenanceWindow": {
          "$ref": "#/$defs/NodeGroupMaintenanceWindow"
        },
        "autoscalingPolicy": {
          "$ref": "#/$defs/NodeGroupAutoscalingPolicy",
          "description": "Specifies how autoscaling should behave."
        },
        "fingerprint": {
          "format": "byte",
          "type": "string"
        },
        "kind": {
          "readOnly": true,
          "default": "compute#nodeGroup",
          "type": "string",
          "description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group."
        },
        "creationTimestamp": {
          "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
          "type": "string",
          "readOnly": true
        },
        "maintenancePolicy": {
          "enum": [
            "DEFAULT",
            "MAINTENANCE_POLICY_UNSPECIFIED",
            "MIGRATE_WITHIN_NODE_GROUP",
            "RESTART_IN_PLACE"
          ],
          "description": "Specifies how to handle instances when a node in the group undergoes\nmaintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP.\nThe default value is DEFAULT. For more information, see\nMaintenance policies.",
          "type": "string"
        },
        "nodeTemplate": {
          "description": "URL of the node template to create the node group from.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource."
        },
        "name": {
          "type": "string",
          "description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\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 be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash."
        },
        "selfLink": {
          "readOnly": true,
          "description": "Output only. [Output Only] Server-defined URL for the resource.",
          "type": "string"
        },
        "status": {
          "type": "string",
          "readOnly": true,
          "enum": [
            "CREATING",
            "DELETING",
            "INVALID",
            "READY"
          ]
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
          "format": "uint64"
        },
        "zone": {
          "readOnly": true,
          "description": "Output only. [Output Only] The name of the zone where the node group resides,\nsuch as us-central1-a.",
          "type": "string"
        },
        "maintenanceInterval": {
          "description": "Specifies the frequency of planned maintenance events. The accepted values\nare: `AS_NEEDED` and `RECURRENT`.",
          "type": "string",
          "enum": [
            "AS_NEEDED",
            "RECURRENT"
          ]
        },
        "shareSettings": {
          "$ref": "#/$defs/ShareSettings",
          "description": "Share-settings for the node group"
        },
        "locationHint": {
          "description": "An opaque location hint used to place the Node close to other\nresources.\nThis field is for use by internal tools that use the public API.\nThe location hint here on the NodeGroup overrides any location_hint\npresent in the NodeTemplate.",
          "type": "string"
        },
        "size": {
          "description": "Output only. [Output Only] The total number of nodes in the node group.",
          "type": "integer",
          "readOnly": true,
          "format": "int32"
        }
      }
    },
    "NodeGroupAutoscalingPolicy": {
      "type": "object",
      "properties": {
        "minNodes": {
          "type": "integer",
          "description": "The minimum number of nodes that the group should have.",
          "format": "int32"
        },
        "mode": {
          "enum": [
            "MODE_UNSPECIFIED",
            "OFF",
            "ON",
            "ONLY_SCALE_OUT"
          ],
          "description": "The autoscaling mode. Set to one of: ON, OFF,\nor ONLY_SCALE_OUT. For more information, see \nAutoscaler modes.",
          "type": "string"
        },
        "maxNodes": {
          "description": "The maximum number of nodes that the group should have. Must be set if\nautoscaling is enabled. Maximum value allowed is 100.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "NodeGroupMaintenanceWindow": {
      "type": "object",
      "description": "Time window specified for daily maintenance operations. GCE's internal\nmaintenance will be performed within this window.",
      "properties": {
        "startTime": {
          "type": "string",
          "description": "Start time of the window. This must be in UTC format that resolves to one\nof 00:00, 04:00, 08:00,12:00, 16:00, or 20:00. For\nexample, both 13:00-5 and 08:00 are valid."
        },
        "maintenanceDuration": {
          "$ref": "#/$defs/Duration",
          "description": "Output only. [Output only] A predetermined duration for the window, automatically\nchosen to be the smallest possible in the given scenario."
        }
      }
    },
    "NodeGroupsScopedList": {
      "properties": {
        "nodeGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NodeGroup"
          },
          "description": "[Output Only] A list of node groups contained in this scope."
        },
        "warning": {
          "description": "[Output Only] An informational warning that appears when the nodeGroup\nlist is empty.",
          "properties": {
            "message": {
              "description": "[Output Only] A human-readable description of the warning code.",
              "type": "string"
            },
            "data": {
              "items": {
                "properties": {
                  "key": {
                    "type": "string",
                    "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding)."
                  },
                  "value": {
                    "type": "string",
                    "description": "[Output Only] A warning data value corresponding to the key."
                  }
                },
                "type": "object"
              },
              "type": "array",
              "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]"
            },
            "code": {
              "enum": [
                "CLEANUP_FAILED",
                "DEPRECATED_RESOURCE_USED",
                "DEPRECATED_TYPE_USED",
                "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
                "EXPERIMENTAL_TYPE_USED",
                "EXTERNAL_API_WARNING",
                "FIELD_VALUE_OVERRIDEN",
                "INJECTED_KERNELS_DEPRECATED",
                "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
                "LARGE_DEPLOYMENT_WARNING",
                "LIST_OVERHEAD_QUOTA_EXCEED",
                "MISSING_TYPE_DEPENDENCY",
                "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
                "NEXT_HOP_CANNOT_IP_FORWARD",
                "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
                "NEXT_HOP_INSTANCE_NOT_FOUND",
                "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
                "NEXT_HOP_NOT_RUNNING",
                "NOT_CRITICAL_ERROR",
                "NO_RESULTS_ON_PAGE",
                "PARTIAL_SUCCESS",
                "QUOTA_INFO_UNAVAILABLE",
                "REQUIRED_TOS_AGREEMENT",
                "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
                "RESOURCE_NOT_DELETED",
                "SCHEMA_VALIDATION_IGNORED",
                "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
                "UNDECLARED_PROPERTIES",
                "UNREACHABLE"
              ],
              "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "ShareSettings": {
      "properties": {
        "shareType": {
          "enum": [
            "LOCAL",
            "ORGANIZATION",
            "SHARE_TYPE_UNSPECIFIED",
            "SPECIFIC_PROJECTS"
          ],
          "type": "string",
          "description": "Type of sharing for this shared-reservation"
        },
        "projectMap": {
          "description": "A map of project id and project config. This is only valid when\nshare_type's value is SPECIFIC_PROJECTS.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ShareSettingsProjectConfig"
          }
        }
      },
      "description": "The share setting for reservations and sole tenancy node groups.",
      "type": "object"
    },
    "ShareSettingsProjectConfig": {
      "properties": {
        "projectId": {
          "description": "The project ID, should be same as the key of this project config in the\nparent map.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Config for each project in the share settings."
    }
  }
}