{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-instance-groups-list-instances-schema.json",
  "title": "InstanceGroupsListInstances",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-instance-groups-api-openapi.yml#/components/schemas/InstanceGroupsListInstances",
  "type": "object",
  "properties": {
    "id": {
      "description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.",
      "readOnly": true,
      "type": "string"
    },
    "nextPageToken": {
      "readOnly": true,
      "description": "Output only. [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"
    },
    "selfLink": {
      "readOnly": true,
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "type": "string"
    },
    "warning": {
      "readOnly": true,
      "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": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "data": {
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "description": "[Output Only] A warning data value corresponding to the key."
              },
              "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)."
              }
            }
          },
          "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"
        }
      },
      "description": "Output only. [Output Only] Informational warning message.",
      "type": "object"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceWithNamedPorts"
      },
      "description": "A list of InstanceWithNamedPorts resources."
    },
    "kind": {
      "readOnly": true,
      "default": "compute#instanceGroupsListInstances",
      "description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupsListInstances for the list of instances\nin the specified instance group.",
      "type": "string"
    }
  },
  "$defs": {
    "InstanceWithNamedPorts": {
      "type": "object",
      "properties": {
        "instance": {
          "type": "string",
          "description": "Output only. [Output Only] The URL of the instance.",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "enum": [
            "DEPROVISIONING",
            "PENDING",
            "PENDING_STOP",
            "PROVISIONING",
            "REPAIRING",
            "RUNNING",
            "STAGING",
            "STOPPED",
            "STOPPING",
            "SUSPENDED",
            "SUSPENDING",
            "TERMINATED"
          ],
          "readOnly": true,
          "description": "Output only. [Output Only] The status of the instance."
        },
        "namedPorts": {
          "description": "Output only. [Output Only] The named ports that belong to this instance group.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/NamedPort"
          },
          "readOnly": true
        }
      }
    },
    "NamedPort": {
      "properties": {
        "name": {
          "description": "The name for this named port.\nThe name must be 1-63 characters long, and comply withRFC1035.",
          "type": "string"
        },
        "port": {
          "type": "integer",
          "description": "The port number, which can be a value between 1 and 65535.",
          "format": "int32"
        }
      },
      "type": "object",
      "description": "The named port. For example: <\"http\", 80>."
    }
  }
}