{
  "$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-group-manager-resize-requests-list-response-schema.json",
  "title": "InstanceGroupManagerResizeRequestsListResponse",
  "description": "[Output Only] A list of resize requests.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-instance-group-manager-resize-requests-api-openapi.yml#/components/schemas/InstanceGroupManagerResizeRequestsListResponse",
  "type": "object",
  "properties": {
    "selfLink": {
      "readOnly": true,
      "description": "Output only. Server-defined URL for this resource.",
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "Output only. Unique identifier for the resource; defined by the server.",
      "readOnly": true
    },
    "kind": {
      "readOnly": true,
      "description": "Output only. Type of the resource. Alwayscompute#instanceGroupManagerResizeRequestList for\na list of resize requests.",
      "default": "compute#instanceGroupManagerResizeRequestList",
      "type": "string"
    },
    "items": {
      "description": "A list of resize request resources.",
      "items": {
        "$ref": "#/$defs/InstanceGroupManagerResizeRequest"
      },
      "type": "array"
    },
    "warning": {
      "readOnly": true,
      "description": "Output only. Informational warning message.",
      "properties": {
        "message": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "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": {
            "type": "object",
            "properties": {
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              },
              "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"
              }
            }
          }
        },
        "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"
    },
    "nextPageToken": {
      "description": "Output only. This token allows you to get the next page of results for list requests.\nIf the number of results is larger than maxResults, use thenextPageToken as a value for the query parameterpageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.",
      "readOnly": true,
      "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."
        }
      }
    },
    "ErrorInfo": {
      "properties": {
        "domain": {
          "type": "string",
          "description": "The logical grouping to which the \"reason\" belongs. The error domain\nis typically the registered service name of the tool or product that\ngenerates the error. Example: \"pubsub.googleapis.com\". If the error is\ngenerated by some common infrastructure, the error domain must be a\nglobally unique value that identifies the infrastructure. For Google API\ninfrastructure, the error domain is \"googleapis.com\"."
        },
        "reason": {
          "type": "string",
          "description": "The reason of the error. This is a constant value that identifies the\nproximate cause of the error. Error reasons are unique within a particular\ndomain of errors. This should be at most 63 characters and match a\nregular expression of `A-Z+[A-Z0-9]`, which represents\nUPPER_SNAKE_CASE."
        },
        "metadatas": {
          "description": "Additional structured details about this error.\n\nKeys must match a regular expression of `a-z+` but should\nideally be lowerCamelCase. Also, they must be limited to 64 characters in\nlength. When identifying the current value of an exceeded limit, the units\nshould be contained in the key, not the value.  For example, rather than\n`{\"instanceLimit\": \"100/request\"}`, should be returned as,\n`{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of\ninstances that can be created in a single (batch) request.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "description": "Describes the cause of the error with structured details.\n\nExample of an error when contacting the \"pubsub.googleapis.com\" API when it\nis not enabled:\n\n    { \"reason\": \"API_DISABLED\"\n      \"domain\": \"googleapis.com\"\n      \"metadata\": {\n        \"resource\": \"projects/123\",\n        \"service\": \"pubsub.googleapis.com\"\n      }\n    }\n\nThis response indicates that the pubsub.googleapis.com API is not enabled.\n\nExample of an error that is returned when attempting to create a Spanner\ninstance in a region that is out of stock:\n\n    { \"reason\": \"STOCKOUT\"\n      \"domain\": \"spanner.googleapis.com\",\n      \"metadata\": {\n        \"availableRegions\": \"us-central1,us-east2\"\n      }\n    }"
    },
    "Help": {
      "properties": {
        "links": {
          "items": {
            "$ref": "#/$defs/HelpLink"
          },
          "type": "array",
          "description": "URL(s) pointing to additional information on handling the current error."
        }
      },
      "type": "object",
      "description": "Provides links to documentation or for performing an out of band action.\n\nFor example, if a quota check failed with an error indicating the calling\nproject hasn't enabled the accessed service, this can contain a URL pointing\ndirectly to the right place in the developer console to flip the bit."
    },
    "HelpLink": {
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL of the link."
        },
        "description": {
          "description": "Describes what the link offers.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Describes a URL link."
    },
    "InstanceGroupManagerResizeRequest": {
      "type": "object",
      "description": "InstanceGroupManagerResizeRequest represents a request to create\na number of VMs: either immediately or by queuing the request for the\nspecified time. This resize request is nested under InstanceGroupManager\nand the VMs created by this request are added to the owning\nInstanceGroupManager.",
      "properties": {
        "requestedRunDuration": {
          "$ref": "#/$defs/Duration",
          "description": "Requested run duration for instances that will be created by this request.\nAt the end of the run duration instance will be deleted."
        },
        "instances": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PerInstanceConfig"
          },
          "description": "The names of instances to be created by this resize request. The number of\nnames specified determines the number of instances to create. The group's\ntarget size will be increased by this number. This field cannot be used\ntogether with 'resize_by'."
        },
        "selfLink": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The URL for this resize request. The server defines this URL."
        },
        "name": {
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "type": "string",
          "description": "The name of this resize request. The name must be 1-63 characters\nlong, and comply withRFC1035."
        },
        "region": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The URL of a region\nwhere the resize request is located. Populated only for regional resize\nrequests."
        },
        "selfLinkWithId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Server-defined URL for this resource with the resource id."
        },
        "state": {
          "description": "Output only. Current state of the request.",
          "readOnly": true,
          "type": "string",
          "enum": [
            "ACCEPTED",
            "CANCELLED",
            "CREATING",
            "FAILED",
            "STATE_UNSPECIFIED",
            "SUCCEEDED"
          ]
        },
        "id": {
          "type": "string",
          "format": "uint64",
          "description": "Output only. A unique identifier for this resource type. The server generates this\nidentifier.",
          "readOnly": true
        },
        "zone": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The URL of a zone\nwhere the resize request is located. Populated only for zonal resize\nrequests."
        },
        "status": {
          "$ref": "#/$defs/InstanceGroupManagerResizeRequestStatus",
          "description": "Output only. Status of the request."
        },
        "resizeBy": {
          "type": "integer",
          "description": "The number of instances to be created by this resize request. The group's\ntarget size will be increased by this number. This field cannot be used\ntogether with 'instances'.",
          "format": "int32"
        },
        "creationTimestamp": {
          "readOnly": true,
          "description": "Output only. The creation timestamp for this resize request inRFC3339\ntext format.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "An optional description of this resource."
        },
        "kind": {
          "default": "compute#instanceGroupManagerResizeRequest",
          "readOnly": true,
          "description": "Output only. The resource type, which is alwayscompute#instanceGroupManagerResizeRequest for resize requests.",
          "type": "string"
        }
      }
    },
    "InstanceGroupManagerResizeRequestStatus": {
      "properties": {
        "error": {
          "type": "object",
          "readOnly": true,
          "properties": {
            "errors": {
              "items": {
                "properties": {
                  "location": {
                    "description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.",
                    "type": "string"
                  },
                  "message": {
                    "type": "string",
                    "description": "[Output Only] An optional, human-readable error message."
                  },
                  "errorDetails": {
                    "type": "array",
                    "items": {
                      "description": "Container for structured error details providing additional context\nspecific to the encountered error code.",
                      "type": "object",
                      "properties": {
                        "errorInfo": {
                          "$ref": "#/$defs/ErrorInfo",
                          "description": "Error information containing structured domain, reason, and metadata."
                        },
                        "quotaInfo": {
                          "$ref": "#/$defs/QuotaExceededInfo",
                          "description": "Details about quota limits and metrics when a quota is exceeded."
                        },
                        "localizedMessage": {
                          "$ref": "#/$defs/LocalizedMessage",
                          "description": "A localized human-readable error message intended for end users."
                        },
                        "help": {
                          "$ref": "#/$defs/Help",
                          "description": "Links and information to help the user resolve the error."
                        }
                      }
                    },
                    "description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED."
                  },
                  "code": {
                    "type": "string",
                    "description": "[Output Only] The error type identifier for this error."
                  }
                },
                "description": "Represents a single error encountered during the processing of an\noperation.",
                "type": "object"
              },
              "description": "[Output Only] The array of errors encountered while processing this\noperation.",
              "type": "array"
            }
          },
          "description": "Output only. Fatal errors encountered during the queueing or provisioning phases of\nthe ResizeRequest that caused the transition to the FAILED state.\nContrary to the last_attempt errors, this field is final and errors are\nnever removed from here, as the ResizeRequest is not going to retry."
        },
        "lastAttempt": {
          "$ref": "#/$defs/InstanceGroupManagerResizeRequestStatusLastAttempt",
          "description": "Output only. Information about the last attempt to fulfill the request. The value is\ntemporary since the ResizeRequest can retry, as long as it's still active\nand the last attempt value can either be cleared or replaced with a\ndifferent error. Since ResizeRequest retries infrequently, the value may\nbe stale and no longer show an active problem. The value is cleared when\nResizeRequest transitions to the final state (becomes inactive). If the\nfinal state is FAILED the error describing it will be stored in the\n\"error\" field only."
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerResizeRequestStatusLastAttempt": {
      "type": "object",
      "properties": {
        "error": {
          "readOnly": true,
          "type": "object",
          "properties": {
            "errors": {
              "type": "array",
              "items": {
                "properties": {
                  "location": {
                    "type": "string",
                    "description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional."
                  },
                  "message": {
                    "type": "string",
                    "description": "[Output Only] An optional, human-readable error message."
                  },
                  "errorDetails": {
                    "type": "array",
                    "items": {
                      "description": "Container for structured error details providing additional context\nspecific to the encountered error code.",
                      "type": "object",
                      "properties": {
                        "quotaInfo": {
                          "$ref": "#/$defs/QuotaExceededInfo",
                          "description": "Details about quota limits and metrics when a quota is exceeded."
                        },
                        "help": {
                          "$ref": "#/$defs/Help",
                          "description": "Links and information to help the user resolve the error."
                        },
                        "errorInfo": {
                          "$ref": "#/$defs/ErrorInfo",
                          "description": "Error information containing structured domain, reason, and metadata."
                        },
                        "localizedMessage": {
                          "$ref": "#/$defs/LocalizedMessage",
                          "description": "A localized human-readable error message intended for end users."
                        }
                      }
                    },
                    "description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED."
                  },
                  "code": {
                    "description": "[Output Only] The error type identifier for this error.",
                    "type": "string"
                  }
                },
                "description": "Represents a single error encountered during the processing of an\noperation.",
                "type": "object"
              },
              "description": "[Output Only] The array of errors encountered while processing this\noperation."
            }
          },
          "description": "Output only. Errors that prevented the ResizeRequest to be fulfilled."
        }
      }
    },
    "LocalizedMessage": {
      "description": "Provides a localized error message that is safe to return to the user\nwhich can be attached to an RPC error.",
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "The localized error message in the above locale."
        },
        "locale": {
          "description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"",
          "type": "string"
        }
      }
    },
    "PerInstanceConfig": {
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of a per-instance configuration and its corresponding instance.\nServes as a merge key during UpdatePerInstanceConfigs\noperations, that is, if a per-instance configuration with the same name\nexists then it will be updated, otherwise a new one will be created for the\nVM instance with the same name. An attempt to create a per-instance\nconfiguration for a VM instance that either doesn't exist or is not part\nof the group will result in an error."
        },
        "preservedState": {
          "$ref": "#/$defs/PreservedState",
          "description": "The intended preserved state for the given instance. Does not contain\npreserved state generated from a stateful policy."
        },
        "fingerprint": {
          "type": "string",
          "description": "Fingerprint of this per-instance config. This field can be used in\noptimistic locking. It is ignored when inserting a per-instance\nconfig. An up-to-date fingerprint must be provided in order to update an\nexisting per-instance configuration or the field needs to be unset.",
          "format": "byte"
        },
        "status": {
          "type": "string",
          "description": "The status of applying this per-instance configuration on the corresponding\nmanaged instance.",
          "enum": [
            "APPLYING",
            "DELETING",
            "EFFECTIVE",
            "NONE",
            "UNAPPLIED",
            "UNAPPLIED_DELETION"
          ]
        }
      },
      "type": "object"
    },
    "PreservedState": {
      "properties": {
        "disks": {
          "additionalProperties": {
            "$ref": "#/$defs/PreservedStatePreservedDisk"
          },
          "type": "object",
          "description": "Preserved disks defined for this instance.\nThis map is keyed with the device names of the disks."
        },
        "internalIPs": {
          "description": "Preserved internal IPs defined for this instance.\nThis map is keyed with the name of the network interface.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/PreservedStatePreservedNetworkIp"
          }
        },
        "externalIPs": {
          "description": "Preserved external IPs defined for this instance.\nThis map is keyed with the name of the network interface.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/PreservedStatePreservedNetworkIp"
          }
        },
        "metadata": {
          "description": "Preserved metadata defined for this instance.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object",
      "description": "Preserved state for a given instance."
    },
    "PreservedStatePreservedDisk": {
      "type": "object",
      "properties": {
        "mode": {
          "description": "The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the\ndisk in READ_WRITE mode.",
          "type": "string",
          "enum": [
            "READ_ONLY",
            "READ_WRITE"
          ]
        },
        "autoDelete": {
          "description": "These stateful disks will never be deleted during autohealing,\nupdate, instance recreate operations. This flag is used to configure\nif the disk should be deleted after it is no longer used by the group,\ne.g. when the given instance or the whole MIG is deleted.\nNote: disks attached in READ_ONLY mode cannot be\nauto-deleted.",
          "enum": [
            "NEVER",
            "ON_PERMANENT_INSTANCE_DELETION"
          ],
          "type": "string"
        },
        "source": {
          "type": "string",
          "description": "The URL of the disk resource that is stateful and should be attached\nto the VM instance."
        }
      }
    },
    "PreservedStatePreservedNetworkIp": {
      "type": "object",
      "properties": {
        "autoDelete": {
          "enum": [
            "NEVER",
            "ON_PERMANENT_INSTANCE_DELETION"
          ],
          "type": "string",
          "description": "These stateful IPs will never be released during autohealing,\nupdate or VM instance recreate operations.\nThis flag is used to configure if the IP reservation should be deleted\nafter it is no longer used by the group, e.g. when the given instance\nor the whole group is deleted."
        },
        "ipAddress": {
          "$ref": "#/$defs/PreservedStatePreservedNetworkIpIpAddress",
          "description": "Ip address representation"
        }
      }
    },
    "PreservedStatePreservedNetworkIpIpAddress": {
      "type": "object",
      "properties": {
        "address": {
          "description": "The URL of the reservation for this IP address.",
          "type": "string"
        },
        "literal": {
          "type": "string",
          "description": "An IPv4 internal network address to assign to the instance for this\nnetwork interface."
        }
      }
    },
    "QuotaExceededInfo": {
      "description": "Additional details for quota exceeded error for resource quota.",
      "type": "object",
      "properties": {
        "metricName": {
          "description": "The Compute Engine quota metric name.",
          "type": "string"
        },
        "futureLimit": {
          "description": "Future quota limit being rolled out. The limit's unit depends on the quota\n type or metric.",
          "format": "double",
          "type": "number"
        },
        "dimensions": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The map holding related quota dimensions.",
          "type": "object"
        },
        "limit": {
          "description": "Current effective quota limit. The limit's unit depends on the quota type\nor metric.",
          "format": "double",
          "type": "number"
        },
        "limitName": {
          "type": "string",
          "description": "The name of the quota limit."
        },
        "rolloutStatus": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "ROLLOUT_STATUS_UNSPECIFIED"
          ],
          "description": "Rollout status of the future quota limit."
        }
      }
    }
  }
}