{
  "$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-managers-apply-updates-request-schema.json",
  "title": "InstanceGroupManagersApplyUpdatesRequest",
  "description": "InstanceGroupManagers.applyUpdatesToInstances",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-instance-group-managers-api-openapi.yml#/components/schemas/InstanceGroupManagersApplyUpdatesRequest",
  "properties": {
    "instances": {
      "items": {
        "type": "string"
      },
      "description": "The list of URLs of one or more instances for which you want to apply\nupdates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].",
      "type": "array"
    },
    "minimalAction": {
      "type": "string",
      "enum": [
        "NONE",
        "REFRESH",
        "REPLACE",
        "RESTART"
      ],
      "description": "The minimal action that you want to perform on each instance during the\nupdate:\n   \n   \n     - REPLACE: At minimum, delete the instance and create it\n     again. \n   - RESTART: Stop the instance and start it\n     again. \n   - REFRESH: Do not stop the instance and limit\n     disruption as much as possible. \n   - NONE: Do not\n     disrupt the instance at all.\n\n\nBy default, the minimum action is NONE. If your update\nrequires a more disruptive action than you set with this flag, the\nnecessary action is performed to execute the update."
    },
    "allInstances": {
      "description": "Flag to update all instances instead of specified list of \"instances\".\nIf the flag is set to true then the instances may not be specified\nin the request.",
      "type": "boolean"
    },
    "mostDisruptiveAllowedAction": {
      "type": "string",
      "description": "The most disruptive action that you want to perform on each instance during\nthe update:\n   \n   \n     - REPLACE: Delete the instance and create it again.\n     - RESTART: Stop the instance and start it again.\n     - REFRESH: Do not stop the instance and limit disruption\n     as much as possible. \n   - NONE: Do not disrupt the\n     instance at all.\n\n\nBy default, the most disruptive allowed action is REPLACE. If\nyour update requires a more disruptive action than you set with this flag,\nthe update request will fail.",
      "enum": [
        "NONE",
        "REFRESH",
        "REPLACE",
        "RESTART"
      ]
    }
  },
  "type": "object"
}