{
  "$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-template-aggregated-list-schema.json",
  "title": "NodeTemplateAggregatedList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-node-templates-api-openapi.yml#/components/schemas/NodeTemplateAggregatedList",
  "properties": {
    "warning": {
      "properties": {
        "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  }]",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "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).",
                "type": "string"
              },
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              }
            }
          }
        },
        "message": {
          "type": "string",
          "description": "[Output Only] A human-readable description of the warning code."
        },
        "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."
        }
      },
      "description": "[Output Only] Informational warning message.",
      "type": "object"
    },
    "items": {
      "additionalProperties": {
        "$ref": "#/$defs/NodeTemplatesScopedList",
        "description": "[Output Only] Name of the scope containing this set of node templates."
      },
      "type": "object",
      "description": "A list of NodeTemplatesScopedList resources."
    },
    "unreachables": {
      "description": "Output only. [Output Only] Unreachable resources.",
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "string"
      }
    },
    "nextPageToken": {
      "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.",
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "type": "string",
      "readOnly": true
    },
    "kind": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Type of resource.Alwayscompute#nodeTemplateAggregatedList for aggregated lists of\nnode templates.",
      "default": "compute#nodeTemplateAggregatedList"
    }
  },
  "type": "object",
  "$defs": {
    "AcceleratorConfig": {
      "type": "object",
      "properties": {
        "acceleratorCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of the guest accelerator cards exposed to this instance."
        },
        "acceleratorType": {
          "description": "Full or partial URL of the accelerator type resource to attach to this\ninstance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100\nIf you are creating an instance template, specify only the\naccelerator name.\nSee GPUs on Compute Engine\nfor a full list of accelerator types.",
          "type": "string"
        }
      },
      "description": "A specification of the type and number of accelerator cards attached to the\ninstance."
    },
    "LocalDisk": {
      "type": "object",
      "properties": {
        "diskSizeGb": {
          "description": "Specifies the size of the disk in base-2 GB.",
          "format": "int32",
          "type": "integer"
        },
        "diskType": {
          "type": "string",
          "description": "Specifies the desired disk type on the node. This disk type must be a\nlocal storage type (e.g.: local-ssd).\nNote that for nodeTemplates, this should be the name of the disk type and\nnot its URL."
        },
        "diskCount": {
          "type": "integer",
          "description": "Specifies the number of such disks.",
          "format": "int32"
        }
      }
    },
    "NodeTemplate": {
      "properties": {
        "selfLink": {
          "readOnly": true,
          "description": "Output only. [Output Only] Server-defined URL for the resource.",
          "type": "string"
        },
        "nodeTypeFlexibility": {
          "$ref": "#/$defs/NodeTemplateNodeTypeFlexibility",
          "description": "Do not use. Instead, use the node_type property."
        },
        "serverBinding": {
          "$ref": "#/$defs/ServerBinding",
          "description": "Sets the binding properties for the physical server. Valid values include:\n   \n   - *[Default]* RESTART_NODE_ON_ANY_SERVER:\n   Restarts VMs on any available\n   physical server\n   - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same\n   physical server whenever possible\n\n\n\nSee Sole-tenant\nnode options for more information."
        },
        "statusMessage": {
          "type": "string",
          "description": "Output only. [Output Only] An optional, human-readable explanation of the status.",
          "readOnly": true
        },
        "status": {
          "enum": [
            "CREATING",
            "DELETING",
            "INVALID",
            "READY"
          ],
          "readOnly": true,
          "description": "Output only. [Output Only] The status of the node template. One of the following values:CREATING, READY, and DELETING.",
          "type": "string"
        },
        "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\ncannot be a dash."
        },
        "nodeAffinityLabels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels to use for node affinity, which will be used in instance scheduling.",
          "type": "object"
        },
        "disks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalDisk"
          }
        },
        "cpuOvercommitType": {
          "type": "string",
          "description": "CPU overcommit.",
          "enum": [
            "CPU_OVERCOMMIT_TYPE_UNSPECIFIED",
            "ENABLED",
            "NONE"
          ]
        },
        "id": {
          "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
          "type": "string",
          "format": "uint64",
          "readOnly": true
        },
        "region": {
          "description": "Output only. [Output Only] The name of the region where the node template resides,\nsuch as us-central1.",
          "readOnly": true,
          "type": "string"
        },
        "accelerators": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AcceleratorConfig"
          }
        },
        "kind": {
          "type": "string",
          "readOnly": true,
          "default": "compute#nodeTemplate",
          "description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates."
        },
        "nodeType": {
          "description": "The node type to use for nodes group that are created from this template.",
          "type": "string"
        },
        "creationTimestamp": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format."
        },
        "description": {
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
          "type": "string"
        }
      },
      "description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For\nmore information, readCreating node groups\nand instances.",
      "type": "object"
    },
    "NodeTemplateNodeTypeFlexibility": {
      "type": "object",
      "properties": {
        "localSsd": {
          "type": "string"
        },
        "memory": {
          "type": "string"
        },
        "cpus": {
          "type": "string"
        }
      }
    },
    "NodeTemplatesScopedList": {
      "properties": {
        "warning": {
          "type": "object",
          "description": "[Output Only] An informational warning that appears when the node templates\nlist is empty.",
          "properties": {
            "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"
            },
            "message": {
              "type": "string",
              "description": "[Output Only] A human-readable description of the warning code."
            },
            "data": {
              "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  }]",
              "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"
              }
            }
          }
        },
        "nodeTemplates": {
          "description": "[Output Only] A list of node templates contained in this scope.",
          "items": {
            "$ref": "#/$defs/NodeTemplate"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ServerBinding": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "RESTART_NODE_ON_ANY_SERVER",
            "RESTART_NODE_ON_MINIMAL_SERVERS",
            "SERVER_BINDING_TYPE_UNSPECIFIED"
          ]
        }
      }
    }
  }
}