NodeGroup

Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, readSole-tenant nodes.

ComputeGoogle CloudInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
maintenanceWindow object
autoscalingPolicy object Specifies how autoscaling should behave.
fingerprint string
kind string Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
creationTimestamp string Output only. [Output Only] Creation timestamp inRFC3339 text format.
maintenancePolicy string Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more informat
nodeTemplate string URL of the node template to create the node group from.
description string An optional description of this resource. Provide this property when you create the resource.
name string The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 chara
selfLink string Output only. [Output Only] Server-defined URL for the resource.
status string
id string Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
zone string Output only. [Output Only] The name of the zone where the node group resides, such as us-central1-a.
maintenanceInterval string Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
shareSettings object Share-settings for the node group
locationHint string An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location
size integer Output only. [Output Only] The total number of nodes in the node group.
View JSON Schema on GitHub

JSON Schema

google-cloud-compute-engine-node-group-schema.json Raw ↑
{
  "$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-schema.json",
  "title": "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.",
  "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/NodeGroup",
  "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"
    }
  },
  "$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."
        }
      }
    },
    "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."
        }
      }
    },
    "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."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-node-group"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.