{
  "$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-schema.json",
  "title": "InstanceGroupManager",
  "description": "Represents a Managed Instance Group resource.\n\nAn instance group is a collection of VM instances that you can manage as a\nsingle entity. For more information, readInstance groups.\n\nFor zonal Managed Instance Group, use the instanceGroupManagers\nresource.\n\nFor regional Managed Instance Group, use theregionInstanceGroupManagers resource.",
  "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/InstanceGroupManager",
  "type": "object",
  "properties": {
    "kind": {
      "readOnly": true,
      "description": "Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.",
      "type": "string",
      "default": "compute#instanceGroupManager"
    },
    "instanceGroup": {
      "readOnly": true,
      "description": "Output only. The URL of the Instance Group resource.",
      "type": "string"
    },
    "statefulPolicy": {
      "$ref": "#/$defs/StatefulPolicy",
      "description": "Stateful configuration for this Instanced Group Manager"
    },
    "targetSizePolicy": {
      "$ref": "#/$defs/InstanceGroupManagerTargetSizePolicy",
      "description": "The policy that specifies how the MIG creates its VMs to achieve the target\nsize."
    },
    "instanceTemplate": {
      "description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create all new instances\nin the managed instance group. The templates for existing instances in the\ngroup do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.",
      "type": "string"
    },
    "id": {
      "type": "string",
      "format": "uint64",
      "readOnly": true,
      "description": "Output only. A unique identifier for this resource type. The server\ngenerates this identifier."
    },
    "satisfiesPzi": {
      "type": "boolean",
      "readOnly": true,
      "description": "Output only. Reserved for future use."
    },
    "distributionPolicy": {
      "$ref": "#/$defs/DistributionPolicy",
      "description": "Policy specifying the intended distribution of managed instances across\nzones in a regional managed instance group."
    },
    "autoHealingPolicies": {
      "description": "The autohealing policy for this managed instance group. You can specify\nonly one value.",
      "items": {
        "$ref": "#/$defs/InstanceGroupManagerAutoHealingPolicy"
      },
      "type": "array"
    },
    "listManagedInstancesResults": {
      "type": "string",
      "enum": [
        "PAGELESS",
        "PAGINATED"
      ],
      "description": "Pagination behavior of the listManagedInstances API method for\nthis managed instance group."
    },
    "resourcePolicies": {
      "$ref": "#/$defs/InstanceGroupManagerResourcePolicies",
      "description": "Resource policies for this managed instance group."
    },
    "creationTimestamp": {
      "description": "Output only. The creation timestamp for this managed instance group inRFC3339\ntext format.",
      "readOnly": true,
      "type": "string"
    },
    "namedPorts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NamedPort"
      },
      "description": "[Output Only] Named ports configured on the Instance Groups complementary\nto this Instance Group Manager."
    },
    "name": {
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
      "description": "The name of the managed instance group. The name must be 1-63 characters\nlong, and comply withRFC1035.",
      "type": "string"
    },
    "selfLink": {
      "readOnly": true,
      "description": "Output only. The URL for this managed instance group. The server defines\nthis URL.",
      "type": "string"
    },
    "targetSize": {
      "description": "The target number of running instances for this managed instance group.\nYou can reduce this number by using the instanceGroupManager\ndeleteInstances or abandonInstances methods. Resizing the group also\nchanges this number.",
      "type": "integer",
      "format": "int32"
    },
    "baseInstanceName": {
      "description": "The base instance name is a prefix that you want to attach to the names of\nall VMs in a MIG. The maximum character length is 58 and the name must\ncomply with RFC1035 format.\n\nWhen a VM is created in the group, the MIG appends a hyphen and a random\nfour-character string to the base instance name. If you want the MIG to\nassign sequential numbers instead of a random string, then end the base\ninstance name with a hyphen followed by one or more hash symbols. The hash\nsymbols indicate the number of digits. For example, a base instance name of\n\"vm-###\" results in \"vm-001\" as a VM name.\n@pattern\n[a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))",
      "type": "string"
    },
    "instanceFlexibilityPolicy": {
      "$ref": "#/$defs/InstanceGroupManagerInstanceFlexibilityPolicy",
      "description": "Instance flexibility allowing MIG to create VMs from multiple\ntypes of machines.\nInstance flexibility configuration on MIG overrides instance\ntemplate configuration."
    },
    "description": {
      "description": "An optional description of this resource.",
      "type": "string"
    },
    "targetSuspendedSize": {
      "description": "The target number of suspended instances for this managed instance group.\nThis number changes when you: \n   \n   - Suspend instance using the suspendInstances\n   method or resume instances using the resumeInstances\n   method.\n   - Manually change the targetSuspendedSize using the update\n   method.",
      "format": "int32",
      "type": "integer"
    },
    "currentActions": {
      "$ref": "#/$defs/InstanceGroupManagerActionsSummary",
      "description": "Output only. The list of instance actions and the number of instances\nin this managed instance group that are scheduled for each of those\nactions."
    },
    "status": {
      "$ref": "#/$defs/InstanceGroupManagerStatus",
      "description": "Output only. The status of this managed instance group."
    },
    "allInstancesConfig": {
      "$ref": "#/$defs/InstanceGroupManagerAllInstancesConfig",
      "description": "Specifies configuration that overrides the instance template configuration\nfor the group."
    },
    "updatePolicy": {
      "$ref": "#/$defs/InstanceGroupManagerUpdatePolicy",
      "description": "The update policy for this managed instance group."
    },
    "instanceLifecyclePolicy": {
      "$ref": "#/$defs/InstanceGroupManagerInstanceLifecyclePolicy",
      "description": "The repair policy for this managed instance group."
    },
    "standbyPolicy": {
      "$ref": "#/$defs/InstanceGroupManagerStandbyPolicy",
      "description": "Standby policy for stopped and suspended instances."
    },
    "versions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceGroupManagerVersion"
      },
      "description": "Specifies the instance templates used by this managed instance group to\ncreate instances.\n\nEach version is defined by an instanceTemplate and aname. Every version can appear at most once per instance\ngroup. This field overrides the top-level instanceTemplate\nfield. Read more about therelationships\nbetween these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all\nremaining instances. For more information, read aboutcanary\nupdates."
    },
    "region": {
      "description": "Output only. [Output Only] The URL of theregion\nwhere the managed instance group resides (for regional resources).",
      "type": "string",
      "readOnly": true
    },
    "satisfiesPzs": {
      "description": "Output only. Reserved for future use.",
      "type": "boolean",
      "readOnly": true
    },
    "targetStoppedSize": {
      "type": "integer",
      "format": "int32",
      "description": "The target number of stopped instances for this managed instance group.\nThis number changes when you: \n   \n   - Stop instance using the stopInstances\n   method or start instances using the startInstances\n   method.\n   - Manually change the targetStoppedSize using the update\n   method."
    },
    "zone": {
      "type": "string",
      "description": "Output only. The URL of azone\nwhere the managed instance group is located (for zonal resources).",
      "readOnly": true
    },
    "targetPools": {
      "items": {
        "type": "string"
      },
      "description": "The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically\napply to all of the instances in the managed instance group.",
      "type": "array"
    },
    "fingerprint": {
      "format": "byte",
      "description": "Fingerprint of this resource. This field may be used in optimistic locking.\nIt will be ignored when inserting an InstanceGroupManager. An up-to-date\nfingerprint must be provided in order to update the InstanceGroupManager,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an InstanceGroupManager.",
      "type": "string"
    }
  },
  "$defs": {
    "AttachedDisk": {
      "type": "object",
      "description": "An instance-attached disk resource.",
      "properties": {
        "diskEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "Encrypts or decrypts a disk using acustomer-supplied\nencryption key.\n\nIf you are creating a new disk, this field encrypts the new disk using\nan encryption key that you provide. If you are attaching an existing\ndisk that is already encrypted, this field decrypts the disk using\nthe customer-supplied encryption key.\n\nIf you encrypt a disk using a customer-supplied key, you must provide the\nsame key again when you attempt to use this resource at a later time. For\nexample, you must provide the key when you create a snapshot or an image\nfrom the disk or when you attach the disk to a virtual machine instance.\n\nIf you do not provide an encryption key, then the disk will be encrypted\nusing an automatically generated key and you do not need to provide a key\nto use the disk later.\n\nNote:\n\nInstance templates do not storecustomer-supplied\nencryption keys, so you cannot use your own keys to encrypt disks in amanaged instance group.\n\nYou cannot create VMs that have disks with customer-supplied keys using\nthe bulk\ninsert method."
        },
        "forceAttach": {
          "type": "boolean",
          "description": "[Input Only] Whether to force attach the regional disk even if it's\ncurrently attached to another instance. If you try to force attach a zonal\ndisk to an instance, you will receive an error."
        },
        "shieldedInstanceInitialState": {
          "$ref": "#/$defs/InitialStateConfig",
          "description": "Output only. [Output Only] shielded vm initial state stored on disk"
        },
        "savedState": {
          "readOnly": true,
          "description": "Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this\nfield is set to PRESERVED if the LocalSSD data has been saved\nto a persistent location by customer request.  (see the\ndiscard_local_ssd option on Stop/Suspend).\nRead-only in the api.",
          "enum": [
            "DISK_SAVED_STATE_UNSPECIFIED",
            "PRESERVED"
          ],
          "type": "string"
        },
        "mode": {
          "type": "string",
          "description": "The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk\nin READ_WRITE mode.",
          "enum": [
            "READ_ONLY",
            "READ_WRITE"
          ]
        },
        "boot": {
          "description": "Indicates that this is a boot disk. The virtual machine will use the first\npartition of the disk for its root filesystem.",
          "type": "boolean"
        },
        "licenses": {
          "description": "Output only. [Output Only] Any valid publicly visible licenses.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "source": {
          "description": "Specifies a valid partial or full URL to an existing Persistent Disk\nresource. When creating a new instance boot disk, one ofinitializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nIf desired, you can also attach existing non-root persistent disks using\nthis property. This field is only applicable for persistent disks.\n\nNote that for InstanceTemplate, specify the disk name for zonal disk,\nand the URL for regional disk.",
          "type": "string"
        },
        "initializeParams": {
          "$ref": "#/$defs/AttachedDiskInitializeParams",
          "description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both."
        },
        "kind": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.",
          "default": "compute#attachedDisk"
        },
        "deviceName": {
          "type": "string",
          "description": "Specifies a unique device name of your choice that is reflected into the/dev/disk/by-id/google-* tree of a Linux operating system\nrunning within the instance. This name can be used to reference the device\nfor mounting, resizing, and so on, from within the instance.\n\nIf not specified, the server chooses a default device name to apply to this\ndisk, in the form persistent-disk-x, where x is a number\nassigned by Google Compute Engine. This field is only applicable for\npersistent disks."
        },
        "guestOsFeatures": {
          "items": {
            "$ref": "#/$defs/GuestOsFeature"
          },
          "type": "array",
          "description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. Read\nEnabling guest operating system features to see a list of available\noptions."
        },
        "type": {
          "enum": [
            "PERSISTENT",
            "SCRATCH"
          ],
          "description": "Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT.",
          "type": "string"
        },
        "diskSizeGb": {
          "format": "int64",
          "type": "string",
          "description": "The size of the disk in GB."
        },
        "interface": {
          "enum": [
            "NVME",
            "SCSI"
          ],
          "description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME. For most machine types, the\ndefault is SCSI. Local SSDs can use either NVME or SCSI.\nIn certain configurations, persistent disks can use NVMe. For more\ninformation, seeAbout\npersistent disks.",
          "type": "string"
        },
        "architecture": {
          "readOnly": true,
          "description": "Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64\nor X86_64.",
          "type": "string",
          "enum": [
            "ARCHITECTURE_UNSPECIFIED",
            "ARM64",
            "X86_64"
          ]
        },
        "index": {
          "readOnly": true,
          "format": "int32",
          "type": "integer",
          "description": "Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the\nboot disk. If you have many disks attached to an instance, each\ndisk would have a unique index number."
        },
        "autoDelete": {
          "description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance).",
          "type": "boolean"
        }
      }
    },
    "AttachedDiskInitializeParams": {
      "properties": {
        "licenses": {
          "description": "A list of publicly visible licenses. Reserved for Google's use.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "diskSizeGb": {
          "type": "string",
          "format": "int64",
          "description": "Specifies the size of the disk in base-2 GB. The size must be at least\n10 GB. If you specify a sourceImage, which is required for\nboot disks, the default size is the size of the sourceImage.\nIf you do not specify a sourceImage, the default disk size\nis 500 GB."
        },
        "storagePool": {
          "type": "string",
          "description": "The storage pool in which the new disk is created. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n   \n   \n     - https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool\n     - projects/project/zones/zone/storagePools/storagePool \n   - zones/zone/storagePools/storagePool"
        },
        "sourceImage": {
          "description": "The source image to create this disk. When creating a new instance boot\ndisk, one of initializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nTo create a disk with one of the public operating system\nimages, specify the image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:\n\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the\nimage name in the following format:\n\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns\nthe latest version of the image in that family. Replace the image name\nwith family/family-name:\n\nglobal/images/family/my-image-family\n\n\nIf the source image is deleted later, this field will not be set.",
          "type": "string"
        },
        "resourceManagerTags": {
          "description": "Input only. Resource manager tags to be bound to the disk. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when\nempty.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "diskType": {
          "description": "Specifies the disk type used for the boot disk or an additional data\ndisk. For valid disk type values, see \nSupported types for Hyperdisk volumes and\nPersistent Disk type variables.\n\nWhen creating a single instance, you must provide either the full or\npartial URL of the disk type. For example, the following values are\nvalid: \n   \n   \n     - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType\n     - projects/project/zones/zone/diskTypes/diskType\n     - zones/zone/diskTypes/diskType\n\n\n\nWhen creating an instance template, instance flexibility policy, or when\ncreating or updating an all-instances configuration, you specify the\ndisk type without a URL, for example, hyperdisk-balanced.\n\nIf you omit this field for a disk, the default disk type depends on\nthe instance's machine series, as follows.\n   \n   \n    - For first- and second-generation machine series like N1, N2, T2, and\n    M1, the\n       default disk type is Standard Persistent Disk\n       (pd-standard).\n    - For C3, C3D, and M3 the default is Balanced Persistent Disk\n    (pd-balanced). \n   - For other third-generation machine\n    series like A3, H3, Z3, all\n        fourth-generation types like C4, N4, M4, and newer machine series,\n        the default is Hyperdisk Balanced\n        (hyperdisk-balanced).\n\n\n\nThe disk type you specify must be compatible with the instance's machine\nseries. For a list of machine series that support Persistent Disk, see Machine\nseries support for Persistent Disk.\n\nFor a list of machine series that support Hyperdisk, seeMachine\nseries support for Hyperdisk.",
          "type": "string"
        },
        "provisionedIops": {
          "description": "Indicates how many IOPS to provision for the disk. This sets the number\nof I/O operations per second that the disk can handle. Values must be\nbetween 10,000 and 120,000. For more details, see theExtreme persistent\ndisk documentation.",
          "type": "string",
          "format": "int64"
        },
        "labels": {
          "type": "object",
          "description": "Labels to apply to this disk. These can be later modified by thedisks.setLabels method. This field is only applicable for\npersistent disks.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "replicaZones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Required for each regional disk associated with the instance. Specify\nthe URLs of the zones where the disk should be replicated to.\nYou must provide exactly two replica zones, and one zone must be the same\nas the instance zone."
        },
        "resourcePolicies": {
          "description": "Resource policies applied to this disk for automatic snapshot creations.\nSpecified using the full or partial URL. For instance template, specify\nonly the resource policy name.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "architecture": {
          "enum": [
            "ARCHITECTURE_UNSPECIFIED",
            "ARM64",
            "X86_64"
          ],
          "type": "string",
          "description": "The architecture of the attached disk. Valid values are\narm64 or x86_64."
        },
        "provisionedThroughput": {
          "description": "Indicates how much throughput to provision for the disk. This sets the\nnumber of throughput mb per second that the disk can handle. Values must\ngreater than or equal to 1.",
          "type": "string",
          "format": "int64"
        },
        "sourceImageEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "Thecustomer-supplied\nencryption key of the source image. Required if the source image is\nprotected by a customer-supplied encryption key.\n\nInstanceTemplate and InstancePropertiesPatch do not storecustomer-supplied\nencryption keys, so you cannot create disks for instances in a managed instance group if the\nsource images are encrypted with your own keys."
        },
        "onUpdateAction": {
          "enum": [
            "RECREATE_DISK",
            "RECREATE_DISK_IF_SOURCE_CHANGED",
            "USE_EXISTING_DISK"
          ],
          "description": "Specifies which action to take on instance update with this disk. Default\nis to use the existing disk.",
          "type": "string"
        },
        "diskName": {
          "description": "Specifies the disk name. If not specified, the default is to use the name\nof the instance. If a disk with the same name already exists in the given\nregion, the existing disk is attached to the new instance and the\nnew disk is not created.",
          "type": "string"
        },
        "sourceSnapshotEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "Thecustomer-supplied\nencryption key of the source snapshot."
        },
        "description": {
          "type": "string",
          "description": "An optional description. Provide this property when creating the disk."
        },
        "enableConfidentialCompute": {
          "description": "Whether this disk is using confidential compute mode.",
          "type": "boolean"
        },
        "sourceSnapshot": {
          "description": "The source snapshot to create this disk. When creating a new instance\nboot disk, one of initializeParams.sourceSnapshot orinitializeParams.sourceImage or disks.source\nis required.\n\nTo create a disk with a snapshot that you created, specify the\nsnapshot name in the following format:\n\nglobal/snapshots/my-backup\n\n\nIf the source snapshot is deleted later, this field will not be set.\n\nNote: You cannot create VMs in bulk using a snapshot as the source. Use\nan image instead when you create VMs using\nthe bulk\ninsert method.",
          "type": "string"
        }
      },
      "description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis field is persisted and returned for instanceTemplate and not returned\nin the context of instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both.",
      "type": "object"
    },
    "CustomerEncryptionKey": {
      "type": "object",
      "properties": {
        "rawKey": {
          "description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\nSpecifies a 256-bit customer-supplied\nencryption key, encoded in RFC\n4648 base64 to either encrypt or decrypt this resource. You can\nprovide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rawKey\":\n\"SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=\"",
          "type": "string",
          "deprecated": true
        },
        "sha256": {
          "type": "string",
          "description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\n[Output only] TheRFC\n4648 base64 encoded SHA-256 hash of the customer-supplied\nencryption key that protects this resource.",
          "deprecated": true
        },
        "kmsKeyServiceAccount": {
          "type": "string",
          "description": "The service account being used for the encryption request for the given KMS\nkey. If absent, the Compute Engine default service account is used.\nFor example:\n\n\"kmsKeyServiceAccount\": \"name@project_id.iam.gserviceaccount.com/"
        },
        "kmsKeyName": {
          "type": "string",
          "description": "The name of the encryption key that is stored in Google Cloud KMS.\nFor example:\n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n\nThe fully-qualifed key name may be returned for resource GET requests. For \nexample: \n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n/cryptoKeyVersions/1"
        },
        "rsaEncryptedKey": {
          "description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\nSpecifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit\ncustomer-supplied encryption key to either encrypt or decrypt this\nresource. You can provide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rsaEncryptedKey\":\n\"ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH\nz0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD\nD6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==\"\n\nThe key must meet the following requirements before you can provide it to \nCompute Engine: \n   \n   1. The key is wrapped using a RSA public key certificate provided by \n   Google. \n   2. After being wrapped, the key must be encoded in RFC 4648 base64 \n   encoding. \n\nGets the RSA public key certificate provided by Google at: \n\n\nhttps://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem",
          "type": "string",
          "deprecated": true
        }
      }
    },
    "DistributionPolicy": {
      "properties": {
        "targetShape": {
          "enum": [
            "ANY",
            "ANY_SINGLE_ZONE",
            "BALANCED",
            "EVEN"
          ],
          "type": "string",
          "description": "The distribution shape to which the group converges either proactively or\non resize events (depending on the value set inupdatePolicy.instanceRedistributionType)."
        },
        "zones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DistributionPolicyZoneConfiguration"
          },
          "description": "Zones where the regional managed instance group will create and manage\nits instances.\nBy default, a regional MIG doesn't automatically select an AI zone to create\ninstances, even if an AI zone is available in the specified region. To\ncreate instances in an AI zone in the selected region, you must explicitly\nspecify it in the distribution policy together with the other preferred\nzones."
        }
      },
      "type": "object"
    },
    "DistributionPolicyZoneConfiguration": {
      "properties": {
        "zone": {
          "description": "The URL of thezone.\nThe zone must exist in the region where the managed instance group is\nlocated.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "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    }"
    },
    "FileContentBuffer": {
      "properties": {
        "content": {
          "description": "The raw content in the secure keys file.",
          "type": "string",
          "format": "byte"
        },
        "fileType": {
          "type": "string",
          "description": "The file type of source file.",
          "enum": [
            "BIN",
            "UNDEFINED",
            "X509"
          ]
        }
      },
      "type": "object"
    },
    "FixedOrPercent": {
      "description": "Encapsulates numeric value that can be either absolute or relative.",
      "properties": {
        "fixed": {
          "type": "integer",
          "description": "Specifies a fixed number of VM instances. This must be a positive integer.",
          "format": "int32"
        },
        "percent": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies a percentage of instances between 0 to 100%, inclusive. For\nexample, specify 80 for 80%."
        },
        "calculated": {
          "format": "int32",
          "readOnly": true,
          "description": "Output only. Absolute value of VM instances calculated based on the specific mode.\n\n   \n   \n    - If the value is fixed, then the calculated\n     value is equal to the fixed value.\n    - If the value is a percent, then the\n    calculated\n     value is percent/100 * targetSize. For example,\n     the calculated value of a 80% of a managed instance group\n     with 150 instances would be (80/100 * 150) = 120 VM instances. If there\n     is a remainder, the number is rounded.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "GuestOsFeature": {
      "properties": {
        "type": {
          "description": "The ID of a supported feature. To add multiple values, use commas to\nseparate values. Set to one or more of the following values:\n   \n   - VIRTIO_SCSI_MULTIQUEUE\n   - WINDOWS\n   - MULTI_IP_SUBNET\n   - UEFI_COMPATIBLE\n   - GVNIC\n   - SEV_CAPABLE\n   - SUSPEND_RESUME_COMPATIBLE\n   - SEV_LIVE_MIGRATABLE_V2\n   - SEV_SNP_CAPABLE\n   - TDX_CAPABLE\n   - IDPF\n   - SNP_SVSM_CAPABLE\n   - CCA_CAPABLE\n   - SUSPEND_SAFE_FPR\n\n\nFor more information, see\nEnabling guest operating system features.",
          "enum": [
            "BARE_METAL_LINUX_COMPATIBLE",
            "BMSAI_CAPABLE",
            "CCA_CAPABLE",
            "FEATURE_TYPE_UNSPECIFIED",
            "GVNIC",
            "IDPF",
            "MULTI_IP_SUBNET",
            "SECURE_BOOT",
            "SEV_CAPABLE",
            "SEV_LIVE_MIGRATABLE",
            "SEV_LIVE_MIGRATABLE_V2",
            "SEV_SNP_CAPABLE",
            "SNP_SVSM_CAPABLE",
            "SUSPEND_SAFE_FPR",
            "TDX_CAPABLE",
            "UEFI_COMPATIBLE",
            "VIRTIO_SCSI_MULTIQUEUE",
            "WINDOWS"
          ],
          "type": "string"
        }
      },
      "description": "Guest OS features.",
      "type": "object"
    },
    "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."
    },
    "InitialStateConfig": {
      "description": "Initial State for shielded instance,\nthese are public keys which are safe to store in public",
      "type": "object",
      "properties": {
        "keks": {
          "description": "The Key Exchange Key (KEK).",
          "items": {
            "$ref": "#/$defs/FileContentBuffer"
          },
          "type": "array"
        },
        "dbxs": {
          "items": {
            "$ref": "#/$defs/FileContentBuffer"
          },
          "description": "The forbidden key database (dbx).",
          "type": "array"
        },
        "dbs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FileContentBuffer"
          },
          "description": "The Key Database (db)."
        },
        "pk": {
          "$ref": "#/$defs/FileContentBuffer",
          "description": "The Platform Key (PK)."
        }
      }
    },
    "InstanceGroupManagerActionsSummary": {
      "type": "object",
      "properties": {
        "none": {
          "format": "int32",
          "readOnly": true,
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group that\nare running and have no scheduled actions."
        },
        "creatingWithoutRetries": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. The number of instances that the managed instance group\nwill attempt to create. The group attempts to create each instance\nonly once. If the group fails to create any of these instances, it\ndecreases the group's targetSize value accordingly.",
          "format": "int32"
        },
        "creating": {
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be created or are currently being created. If the group\nfails to create any of these instances, it tries again until it creates\nthe instance successfully.\n\nIf you have disabled creation retries, this field will not be populated;\ninstead, the creatingWithoutRetries field will be populated.",
          "readOnly": true,
          "format": "int32"
        },
        "abandoning": {
          "description": "Output only. The total number of instances in the managed instance group\nthat are scheduled to be abandoned. Abandoning an instance removes it\nfrom the managed instance group without deleting it.",
          "type": "integer",
          "readOnly": true,
          "format": "int32"
        },
        "starting": {
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be started or are currently being started.",
          "format": "int32",
          "readOnly": true,
          "type": "integer"
        },
        "verifying": {
          "readOnly": true,
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group that\nare being verified. See the managedInstances[].currentAction\nproperty in the listManagedInstances method documentation.",
          "format": "int32"
        },
        "resuming": {
          "format": "int32",
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be resumed or are currently being resumed.",
          "type": "integer",
          "readOnly": true
        },
        "deleting": {
          "format": "int32",
          "type": "integer",
          "readOnly": true,
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be deleted or are currently being deleted."
        },
        "restarting": {
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be restarted or are currently being restarted.",
          "type": "integer"
        },
        "suspending": {
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be suspended or are currently being suspended.",
          "format": "int32",
          "readOnly": true,
          "type": "integer"
        },
        "refreshing": {
          "format": "int32",
          "description": "Output only. The number of instances in the managed instance group that\nare being reconfigured with properties that do not require a restart\nor a recreate action. For example, setting or removing target\npools for the instance.",
          "readOnly": true,
          "type": "integer"
        },
        "recreating": {
          "readOnly": true,
          "format": "int32",
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be recreated or are currently being being recreated.\nRecreating an instance deletes the existing root persistent disk\nand creates a new disk from the image that is defined in the\ninstance template."
        },
        "stopping": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number of instances in the managed instance group that\nare scheduled to be stopped or are currently being stopped."
        }
      }
    },
    "InstanceGroupManagerAllInstancesConfig": {
      "properties": {
        "properties": {
          "$ref": "#/$defs/InstancePropertiesPatch",
          "description": "Properties to set on all instances in the group.\n\nYou can add or modify properties using theinstanceGroupManagers.patch orregionInstanceGroupManagers.patch. After settingallInstancesConfig on the group, you must update the group's\ninstances to apply the configuration. To apply the configuration, set the\ngroup's updatePolicy.type field to use proactive updates or\nuse the applyUpdatesToInstances method."
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerAutoHealingPolicy": {
      "properties": {
        "initialDelaySec": {
          "type": "integer",
          "description": "The initial delay is the number of seconds that a new VM takes to\ninitialize and run its startup script. During a VM's initial delay\nperiod, the MIG ignores unsuccessful health checks because the VM might\nbe in the startup process. This prevents the MIG from prematurely\nrecreating a VM. If the health check receives a healthy response during\nthe initial delay, it indicates that the startup process is complete and\nthe VM is ready. The value of initial delay must be between 0 and 3600\nseconds. The default value is 0.",
          "format": "int32"
        },
        "healthCheck": {
          "type": "string",
          "description": "The URL for the health check that signals autohealing."
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerInstanceFlexibilityPolicy": {
      "properties": {
        "instanceSelections": {
          "description": "Named instance selections configuring properties that the group will use\nwhen creating new VMs.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection"
          }
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection": {
      "type": "object",
      "properties": {
        "machineTypes": {
          "type": "array",
          "description": "Full machine-type names, e.g. \"n1-standard-16\".",
          "items": {
            "type": "string"
          }
        },
        "disks": {
          "items": {
            "$ref": "#/$defs/AttachedDisk"
          },
          "description": "List of disks to be attached to the instances created from this\nselection.",
          "type": "array"
        },
        "minCpuPlatform": {
          "description": "Name of the minimum CPU platform to be used by this instance selection.\ne.g. 'Intel Ice Lake'.",
          "type": "string"
        },
        "rank": {
          "type": "integer",
          "format": "int32",
          "description": "Preference of this instance selection. Lower number means higher\npreference. MIG will first try to create a VM based on the machine-type\nwith lowest rank and fallback to next rank based on availability.\nMachine types and instance selections with the same rank have the same\npreference."
        }
      }
    },
    "InstanceGroupManagerInstanceLifecyclePolicy": {
      "properties": {
        "forceUpdateOnRepair": {
          "enum": [
            "NO",
            "YES"
          ],
          "description": "A bit indicating whether to forcefully apply the group's latest\nconfiguration when repairing a VM. Valid options are:\n\n   \n   \n     -  NO (default): If configuration updates are available, they are not\n     forcefully applied during repair. Instead, configuration updates are\n     applied according to the group's update policy.\n   \n     -  YES: If configuration updates are available, they are applied\n     during repair.",
          "type": "string"
        },
        "onRepair": {
          "$ref": "#/$defs/InstanceGroupManagerInstanceLifecyclePolicyOnRepair",
          "description": "Configuration for VM repairs in the MIG."
        },
        "onFailedHealthCheck": {
          "type": "string",
          "description": "The action that a MIG performs on an unhealthy VM. A VM is marked as\nunhealthy when the application running on that VM fails a health check.\nValid values are:\n   \n   - DEFAULT_ACTION (default): MIG uses the same action\n   configured for instanceLifecyclePolicy.defaultActionOnFailure field.\n   - REPAIR: MIG automatically repairs an unhealthy VM by\n   recreating it.\n   - DO_NOTHING: MIG doesn't repair an unhealthy VM.\n   For more information, see \n   About repairing VMs in a MIG.",
          "enum": [
            "DEFAULT_ACTION",
            "DO_NOTHING",
            "REPAIR"
          ]
        },
        "defaultActionOnFailure": {
          "type": "string",
          "description": "The action that a MIG performs on a failed VM. If the value of the\nonFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also\napplies to the VMs on which your application fails a health check.\nValid values are \n   \n   - REPAIR (default): MIG automatically repairs a failed VM\n   by recreating it. For more information, see About\n   repairing VMs in a MIG.\n   - DO_NOTHING: MIG does not repair a failed VM.",
          "enum": [
            "DO_NOTHING",
            "REPAIR"
          ]
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerInstanceLifecyclePolicyOnRepair": {
      "description": "Configuration for VM repairs in the MIG.",
      "type": "object",
      "properties": {
        "allowChangingZone": {
          "description": "Specifies whether the MIG can change a VM's zone during a repair.\nValid values are:\n   \n   - NO (default): MIG cannot change a VM's zone during a\n   repair.\n   - YES: MIG can select a different zone for the VM during\n   a repair.",
          "enum": [
            "NO",
            "YES"
          ],
          "type": "string"
        }
      }
    },
    "InstanceGroupManagerResourcePolicies": {
      "properties": {
        "workloadPolicy": {
          "description": "The URL of the workload policy that is specified for this managed\ninstance group.\nIt can be a full or partial URL. For example, the following are\nall valid URLs to a workload policy: \n   \n   \n      - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy\n      - projects/project/regions/region/resourcePolicies/resourcePolicy\n      - regions/region/resourcePolicies/resourcePolicy",
          "type": "string"
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerStandbyPolicy": {
      "properties": {
        "initialDelaySec": {
          "format": "int32",
          "description": "Specifies the number of seconds that the MIG should wait to suspend or\nstop a VM after that VM was created. The initial delay gives the\ninitialization script the time to prepare your VM for a quick scale out.\nThe value of initial delay must be between 0 and 3600 seconds. The\ndefault value is 0.",
          "type": "integer"
        },
        "mode": {
          "type": "string",
          "description": "Defines how a MIG resumes or starts VMs from a standby pool when the\ngroup scales out. The default mode is `MANUAL`.",
          "enum": [
            "MANUAL",
            "SCALE_OUT_POOL"
          ]
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerStatus": {
      "type": "object",
      "properties": {
        "appliedAcceleratorTopologies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InstanceGroupManagerStatusAcceleratorTopology"
          },
          "readOnly": true,
          "description": "Output only. The accelerator topology applied to this MIG.\nCurrently only one accelerator topology is supported."
        },
        "allInstancesConfig": {
          "$ref": "#/$defs/InstanceGroupManagerStatusAllInstancesConfig",
          "description": "Output only. Status of all-instances configuration on the group."
        },
        "isStable": {
          "description": "Output only. A bit indicating whether the managed instance group is in a\nstable state. A stable state means that: none of the instances in the\nmanaged instance group is currently undergoing any type of change (for\nexample, creation, restart, or deletion); no future changes are scheduled\nfor instances in the managed instance group; and the managed instance\ngroup itself is not being modified.",
          "type": "boolean",
          "readOnly": true
        },
        "stateful": {
          "$ref": "#/$defs/InstanceGroupManagerStatusStateful",
          "description": "Output only. Stateful status of the given Instance Group Manager."
        },
        "versionTarget": {
          "$ref": "#/$defs/InstanceGroupManagerStatusVersionTarget",
          "description": "Output only. A status of consistency of Instances' versions with their\ntarget version specified by version field on Instance Group\nManager."
        },
        "currentInstanceStatuses": {
          "$ref": "#/$defs/InstanceGroupManagerStatusInstanceStatusSummary",
          "description": "Output only. The list of instance statuses and the number of instances\nin this managed instance group that have the status. Currently only shown\nfor TPU MIGs"
        },
        "autoscaler": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The URL of theAutoscaler\nthat targets this instance group manager."
        },
        "bulkInstanceOperation": {
          "$ref": "#/$defs/InstanceGroupManagerStatusBulkInstanceOperation",
          "description": "Output only. The status of bulk instance operation."
        }
      }
    },
    "InstanceGroupManagerStatusAcceleratorTopology": {
      "type": "object",
      "properties": {
        "acceleratorTopology": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Topology in the format of: \"16x16\", \"4x4x4\", etc.\nThe value is the same as configured in the WorkloadPolicy."
        },
        "state": {
          "type": "string",
          "description": "Output only. The state of the accelerator topology.",
          "readOnly": true,
          "enum": [
            "ACTIVATING",
            "ACTIVE",
            "DEACTIVATING",
            "FAILED",
            "INCOMPLETE",
            "REACTIVATING"
          ]
        },
        "stateDetails": {
          "$ref": "#/$defs/InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails",
          "description": "Output only. The result of the latest accelerator topology state\ncheck."
        }
      }
    },
    "InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails": {
      "properties": {
        "timestamp": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. Timestamp is shown only if there is an error. The field\nhas // RFC3339 //\ntext format."
        },
        "error": {
          "description": "Output only. Encountered errors.",
          "properties": {
            "errors": {
              "description": "[Output Only] The array of errors encountered while processing this\noperation.",
              "type": "array",
              "items": {
                "type": "object",
                "description": "Represents a single error encountered during the processing of an\noperation.",
                "properties": {
                  "location": {
                    "description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.",
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "description": "[Output Only] The error type identifier for this error."
                  },
                  "errorDetails": {
                    "type": "array",
                    "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.",
                    "items": {
                      "description": "Container for structured error details providing additional context\nspecific to the encountered error code.",
                      "type": "object",
                      "properties": {
                        "help": {
                          "$ref": "#/$defs/Help",
                          "description": "Links and information to help the user resolve the error."
                        },
                        "localizedMessage": {
                          "$ref": "#/$defs/LocalizedMessage",
                          "description": "A localized human-readable error message intended for end users."
                        },
                        "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."
                        }
                      }
                    }
                  },
                  "message": {
                    "description": "[Output Only] An optional, human-readable error message.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "type": "object",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "InstanceGroupManagerStatusAllInstancesConfig": {
      "type": "object",
      "properties": {
        "currentRevision": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Current all-instances configuration revision.\nThis value is in RFC3339 text format."
        },
        "effective": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. A bit indicating whether this configuration has\nbeen applied to all managed instances in the group."
        }
      }
    },
    "InstanceGroupManagerStatusBulkInstanceOperation": {
      "description": "Bulk instance operation is the creation of VMs in a MIG when the\ntargetSizePolicy.mode is set to BULK.",
      "type": "object",
      "properties": {
        "lastProgressCheck": {
          "$ref": "#/$defs/InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck",
          "description": "Output only. Information from the last progress check of bulk instance\noperation."
        },
        "inProgress": {
          "description": "Output only. Informs whether bulk instance operation is in progress.",
          "readOnly": true,
          "type": "boolean"
        }
      }
    },
    "InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "string",
          "description": "Output only. Timestamp of the last progress check of bulk instance\noperation. Timestamp is in RFC3339 text format.",
          "format": "google-datetime",
          "readOnly": true
        },
        "error": {
          "description": "Output only. Errors encountered during bulk instance operation.",
          "properties": {
            "errors": {
              "description": "[Output Only] The array of errors encountered while processing this\noperation.",
              "items": {
                "type": "object",
                "properties": {
                  "errorDetails": {
                    "items": {
                      "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."
                        },
                        "help": {
                          "$ref": "#/$defs/Help",
                          "description": "Links and information to help the user resolve the error."
                        },
                        "localizedMessage": {
                          "$ref": "#/$defs/LocalizedMessage",
                          "description": "A localized human-readable error message intended for end users."
                        }
                      },
                      "type": "object",
                      "description": "Container for structured error details providing additional context\nspecific to the encountered error code."
                    },
                    "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.",
                    "type": "array"
                  },
                  "message": {
                    "description": "[Output Only] An optional, human-readable error message.",
                    "type": "string"
                  },
                  "code": {
                    "description": "[Output Only] The error type identifier for this error.",
                    "type": "string"
                  },
                  "location": {
                    "type": "string",
                    "description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional."
                  }
                },
                "description": "Represents a single error encountered during the processing of an\noperation."
              },
              "type": "array"
            }
          },
          "readOnly": true,
          "type": "object"
        }
      }
    },
    "InstanceGroupManagerStatusInstanceStatusSummary": {
      "description": "The list of instance statuses and the number of instances in this managed\ninstance group that have the status. For more information about how to\ninterpret each status check the instance lifecycle documentation.\nCurrently only shown for TPU MIGs.",
      "type": "object",
      "properties": {
        "staging": {
          "format": "int32",
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have STAGING status.",
          "readOnly": true
        },
        "repairing": {
          "description": "Output only. The number of instances in the managed instance group\nthat have REPAIRING status.",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "pending": {
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have PENDING status, that is FlexStart instances that are waiting\nfor resources. Instances that do not exist because of the other reasons\nare counted as 'non_existent'.",
          "readOnly": true,
          "format": "int32"
        },
        "suspended": {
          "description": "Output only. The number of instances in the managed instance group\nthat have SUSPENDED status.",
          "format": "int32",
          "readOnly": true,
          "type": "integer"
        },
        "provisioning": {
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have PROVISIONING status.",
          "readOnly": true,
          "format": "int32"
        },
        "pendingStop": {
          "format": "int32",
          "type": "integer",
          "readOnly": true,
          "description": "Output only. The number of instances in the managed instance group\nthat have PENDING_STOP status."
        },
        "nonExistent": {
          "format": "int32",
          "readOnly": true,
          "description": "Output only. The number of instances that have not been created yet or\nhave been deleted. Includes only instances that would be shown in the\nlistManagedInstances method and not all instances that have been\ndeleted in the lifetime of the MIG.\nDoes not include FlexStart instances that are waiting for the resources\navailability, they are considered as 'pending'.",
          "type": "integer"
        },
        "stopping": {
          "readOnly": true,
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have STOPPING status.",
          "format": "int32"
        },
        "deprovisioning": {
          "format": "int32",
          "readOnly": true,
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have DEPROVISIONING status."
        },
        "suspending": {
          "format": "int32",
          "readOnly": true,
          "type": "integer",
          "description": "Output only. The number of instances in the managed instance group\nthat have SUSPENDING status."
        },
        "terminated": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. The number of instances in the managed instance group\nthat have TERMINATED status.",
          "format": "int32"
        },
        "running": {
          "description": "Output only. The number of instances in the managed instance group\nthat have RUNNING status.",
          "format": "int32",
          "type": "integer",
          "readOnly": true
        },
        "stopped": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number of instances in the managed instance group\nthat have STOPPED status."
        }
      }
    },
    "InstanceGroupManagerStatusStateful": {
      "type": "object",
      "properties": {
        "perInstanceConfigs": {
          "$ref": "#/$defs/InstanceGroupManagerStatusStatefulPerInstanceConfigs",
          "description": "Output only. Status of per-instance configurations on the instances."
        },
        "hasStatefulConfig": {
          "type": "boolean",
          "description": "Output only. A bit indicating whether the managed instance group\nhas stateful configuration, that is, if you have configured any items\nin a stateful policy or in per-instance configs.\nThe group might report that it has no stateful configuration even when\nthere is still some preserved state on a managed instance, for example,\nif you have deleted all PICs but not yet applied those deletions.",
          "readOnly": true
        }
      }
    },
    "InstanceGroupManagerStatusStatefulPerInstanceConfigs": {
      "type": "object",
      "properties": {
        "allEffective": {
          "description": "Output only. A bit indicating if all of the group's per-instance configurations\n(listed in the output of a listPerInstanceConfigs API call) have\nstatus EFFECTIVE or there are no per-instance-configs.",
          "readOnly": true,
          "type": "boolean"
        }
      }
    },
    "InstanceGroupManagerStatusVersionTarget": {
      "type": "object",
      "properties": {
        "isReached": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. A bit indicating whether version target has been reached\nin this managed instance group, i.e. all instances are in their target\nversion. Instances' target version are specified byversion field on Instance Group Manager."
        }
      }
    },
    "InstanceGroupManagerTargetSizePolicy": {
      "type": "object",
      "properties": {
        "mode": {
          "enum": [
            "BULK",
            "INDIVIDUAL",
            "UNSPECIFIED_MODE"
          ],
          "description": "The mode of target size policy based on which the MIG creates its VMs\nindividually or all at once.",
          "type": "string"
        }
      }
    },
    "InstanceGroupManagerUpdatePolicy": {
      "type": "object",
      "properties": {
        "maxUnavailable": {
          "$ref": "#/$defs/FixedOrPercent",
          "description": "The maximum number of instances that can be unavailable during the update\nprocess. An instance is considered available if all of the following\nconditions are satisfied:\n\n   \n   \n     - The instance's status is\n     RUNNING. \n   - If there is a health\n     check on the instance group, the instance's health check status\n     must be HEALTHY at least once. If there is no health check\n     on the group, then the instance only needs to have a status of\n     RUNNING to be considered available.\n\n\nThis value can be either a fixed number or, if the group has 10 or more\ninstances, a percentage. If you set a percentage, the number of instances\nis rounded if necessary. The default value formaxUnavailable is a fixed value equal to the number of zones\nin which the managed instance group operates.\n\nAt least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxUnavailable."
        },
        "maxSurge": {
          "$ref": "#/$defs/FixedOrPercent",
          "description": "The maximum number of instances that can be created above the specifiedtargetSize during the update process. This value can be\neither a fixed number or, if the group has 10 or more instances, a\npercentage. If you set a percentage, the number of instances is rounded\nif necessary.  The default value for maxSurge is a fixed\nvalue equal to the number of zones in which the managed instance group\noperates.\n\nAt least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxSurge."
        },
        "replacementMethod": {
          "enum": [
            "RECREATE",
            "SUBSTITUTE"
          ],
          "description": "What action should be used to replace instances.\nSee minimal_action.REPLACE",
          "type": "string"
        },
        "mostDisruptiveAllowedAction": {
          "type": "string",
          "description": "Most disruptive action that is allowed to be taken on an instance.\nYou can specify either NONE to forbid any actions,REFRESH to avoid restarting the VM and to limit disruption\nas much as possible. RESTART to allow actions that can be\napplied without instance replacing or REPLACE to allow all\npossible actions. If the Updater determines that the minimal update\naction needed is more disruptive than most disruptive allowed action you\nspecify it will not perform the update at all.",
          "enum": [
            "NONE",
            "REFRESH",
            "REPLACE",
            "RESTART"
          ]
        },
        "type": {
          "enum": [
            "OPPORTUNISTIC",
            "PROACTIVE"
          ],
          "description": "The type\nof update process. You can specify either PROACTIVE so\nthat the MIG automatically updates VMs to the latest configurations orOPPORTUNISTIC so that you can select the VMs that you want\nto update.",
          "type": "string"
        },
        "instanceRedistributionType": {
          "type": "string",
          "enum": [
            "NONE",
            "PROACTIVE"
          ],
          "description": "The \ninstance redistribution policy for regional managed instance groups.\nValid values are: \n   \n   - PROACTIVE (default): The group attempts to maintain an\n   even distribution of VM instances across zones in the region.\n   - NONE: For non-autoscaled groups, proactive\n   redistribution is disabled."
        },
        "minimalAction": {
          "description": "Minimal action to be taken on an instance. Use this option to minimize\ndisruption as much as possible or to apply a more disruptive action than\nis necessary.\n   \n   - To limit disruption as much as possible, set the minimal action toREFRESH. If your update requires a more disruptive action,\n   Compute Engine performs the necessary action to execute the update.\n   - To apply a more disruptive action than is strictly necessary, set the\n   minimal action to RESTART or REPLACE. For\n   example, Compute Engine does not need to restart a VM to change its\n   metadata. But if your application reads instance metadata only when a VM\n   is restarted, you can set the minimal action to RESTART in\n   order to pick up metadata changes.",
          "enum": [
            "NONE",
            "REFRESH",
            "REPLACE",
            "RESTART"
          ],
          "type": "string"
        }
      }
    },
    "InstanceGroupManagerVersion": {
      "type": "object",
      "properties": {
        "targetSize": {
          "$ref": "#/$defs/FixedOrPercent",
          "description": "Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created\nfrom the template will be equal to:\n   \n   \n     - If expressed as a fixed number, the minimum of either\n      targetSize.fixed or\n      instanceGroupManager.targetSize is used.\n     - if expressed as a percent, the targetSize\n     would be (targetSize.percent/100 *\n     InstanceGroupManager.targetSize) If there is a remainder, the\n     number is rounded.\n    \n If unset, this version will update any remaining instances not\nupdated by another version. ReadStarting\na canary update for more information."
        },
        "name": {
          "type": "string",
          "description": "Name of the version. Unique among all versions in the scope of this\nmanaged instance group."
        },
        "instanceTemplate": {
          "type": "string",
          "description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create new instances in\nthe managed instance group until the `targetSize` for this version is\nreached. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,\nexisting instances are updated until the `targetSize` for this version is\nreached."
        }
      }
    },
    "InstancePropertiesPatch": {
      "type": "object",
      "description": "Represents the change that you want to make to the instance properties.",
      "properties": {
        "metadata": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "The metadata key-value pairs that you want to patch onto the instance. For\nmore information, see Project and\ninstance metadata."
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "The label key-value pairs that you want to patch onto the instance."
        },
        "exposeHostTopology": {
          "description": "This optional flag exposes the hashed physical host ID.",
          "type": "boolean"
        }
      }
    },
    "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"
        }
      }
    },
    "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>."
    },
    "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."
        }
      }
    },
    "StatefulPolicy": {
      "properties": {
        "preservedState": {
          "$ref": "#/$defs/StatefulPolicyPreservedState"
        }
      },
      "type": "object"
    },
    "StatefulPolicyPreservedState": {
      "properties": {
        "disks": {
          "description": "Disks created on the instances that will be preserved on instance\ndelete, update, etc. This map is keyed with the device names of\nthe disks.",
          "additionalProperties": {
            "$ref": "#/$defs/StatefulPolicyPreservedStateDiskDevice"
          },
          "type": "object"
        },
        "internalIPs": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/StatefulPolicyPreservedStateNetworkIp"
          },
          "description": "Internal network IPs assigned to the instances that will be preserved on\ninstance delete, update, etc. This map is keyed with the network\ninterface name."
        },
        "externalIPs": {
          "type": "object",
          "description": "External network IPs assigned to the instances that will be preserved on\ninstance delete, update, etc. This map is keyed with the network\ninterface name.",
          "additionalProperties": {
            "$ref": "#/$defs/StatefulPolicyPreservedStateNetworkIp"
          }
        }
      },
      "type": "object",
      "description": "Configuration of preserved resources."
    },
    "StatefulPolicyPreservedStateDiskDevice": {
      "type": "object",
      "properties": {
        "autoDelete": {
          "type": "string",
          "description": "These stateful disks will never be deleted during autohealing,\nupdate or VM instance recreate operations.\nThis flag is used to configure if the disk should be deleted after it\nis no longer used by the group, e.g. when the given instance or\nthe whole group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted.",
          "enum": [
            "NEVER",
            "ON_PERMANENT_INSTANCE_DELETION"
          ]
        }
      }
    },
    "StatefulPolicyPreservedStateNetworkIp": {
      "properties": {
        "autoDelete": {
          "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.",
          "type": "string",
          "enum": [
            "NEVER",
            "ON_PERMANENT_INSTANCE_DELETION"
          ]
        }
      },
      "type": "object"
    }
  }
}