{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-machine-image-list-schema.json",
  "title": "MachineImageList",
  "description": "A list of machine images.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-machine-images-api-openapi.yml#/components/schemas/MachineImageList",
  "properties": {
    "warning": {
      "description": "[Output Only] Informational warning message.",
      "properties": {
        "code": {
          "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.",
          "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"
          ],
          "type": "string"
        },
        "message": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "data": {
          "items": {
            "properties": {
              "value": {
                "type": "string",
                "description": "[Output Only] A warning data value corresponding to the key."
              },
              "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"
              }
            },
            "type": "object"
          },
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "type": "array"
        }
      },
      "type": "object"
    },
    "kind": {
      "description": "Output only. [Output Only] The resource type, which is alwayscompute#machineImagesListResponse for machine image lists.",
      "type": "string",
      "readOnly": true,
      "default": "compute#machineImageList"
    },
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "items": {
      "description": "A list of MachineImage resources.",
      "items": {
        "$ref": "#/$defs/MachineImage"
      },
      "type": "array"
    },
    "nextPageToken": {
      "type": "string",
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results."
    },
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "type": "string",
      "readOnly": true
    }
  },
  "type": "object",
  "$defs": {
    "AcceleratorConfig": {
      "type": "object",
      "properties": {
        "acceleratorCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of the guest accelerator cards exposed to this instance."
        },
        "acceleratorType": {
          "description": "Full or partial URL of the accelerator type resource to attach to this\ninstance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100\nIf you are creating an instance template, specify only the\naccelerator name.\nSee GPUs on Compute Engine\nfor a full list of accelerator types.",
          "type": "string"
        }
      },
      "description": "A specification of the type and number of accelerator cards attached to the\ninstance."
    },
    "AccessConfig": {
      "properties": {
        "externalIpv6PrefixLength": {
          "description": "Applies to ipv6AccessConfigs only. The prefix length of the\nexternal IPv6 range.",
          "type": "integer",
          "format": "int32"
        },
        "securityPolicy": {
          "type": "string",
          "description": "The resource URL for the security policy associated with this access\nconfig."
        },
        "type": {
          "type": "string",
          "description": "The type of configuration. In accessConfigs (IPv4), the\ndefault and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.",
          "enum": [
            "DIRECT_IPV6",
            "ONE_TO_ONE_NAT"
          ]
        },
        "natIP": {
          "description": "Applies to accessConfigs (IPv4) only. Anexternal IP\naddress associated with this instance. Specify an unused static\nexternal IP address available to the project or leave this field undefined\nto use an IP from a shared ephemeral IP address pool. If you specify a\nstatic external IP address, it must live in the same region as the zone of\nthe instance.",
          "type": "string"
        },
        "name": {
          "description": "The name of this access configuration. In accessConfigs\n(IPv4), the default and recommended name is External NAT, but\nyou can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the\nrecommend name is External IPv6.",
          "type": "string"
        },
        "networkTier": {
          "type": "string",
          "description": "This signifies the networking tier used for configuring this access\nconfiguration and can only take the following values: PREMIUM,STANDARD.\n\nIf an AccessConfig is specified without a valid external IP address, an\nephemeral IP will be created with this networkTier.\n\nIf an AccessConfig with a valid external IP address is specified, it must\nmatch that of the networkTier associated with the Address resource owning\nthat IP.",
          "enum": [
            "FIXED_STANDARD",
            "PREMIUM",
            "STANDARD",
            "STANDARD_OVERRIDES_FIXED_STANDARD"
          ]
        },
        "externalIpv6": {
          "description": "Applies to ipv6AccessConfigs only.\nThe first IPv6 address of the external IPv6 range associated\nwith this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To\nuse a static external IP address, it must be unused and in the same region\nas the instance's zone. If not specified, Google Cloud will automatically\nassign an external IPv6 address from the instance's subnetwork.",
          "type": "string"
        },
        "publicPtrDomainName": {
          "description": "The DNS domain name for the public PTR record.\n\nYou can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for\nfirst IP in associated external IPv6 range.",
          "type": "string"
        },
        "kind": {
          "readOnly": true,
          "default": "compute#accessConfig",
          "type": "string",
          "description": "Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs."
        },
        "setPublicPtr": {
          "type": "boolean",
          "description": "Specifies whether a public DNS 'PTR' record should be created to map the\nexternal IP address of the instance to a DNS domain name.\n\nThis field is not used in ipv6AccessConfig. A default PTR\nrecord will be created if the VM has external IPv6 range associated."
        }
      },
      "description": "An access configuration attached to an instance's network interface.\nOnly one access config per instance is supported.",
      "type": "object"
    },
    "AdvancedMachineFeatures": {
      "description": "Specifies options for controlling advanced machine features.\nOptions that would traditionally be configured in a BIOS belong\nhere. Features that require operating system support may have\ncorresponding entries in the GuestOsFeatures of anImage (e.g., whether or not the OS in theImage supports nested virtualization being enabled or\ndisabled).",
      "type": "object",
      "properties": {
        "threadsPerCore": {
          "description": "The number of threads per physical core. To disable simultaneous\nmultithreading (SMT) set this to 1. If unset, the maximum number\nof threads supported per core by the underlying processor is\nassumed.",
          "type": "integer",
          "format": "int32"
        },
        "visibleCoreCount": {
          "format": "int32",
          "type": "integer",
          "description": "The number of physical cores to expose to an instance. Multiply by\nthe number of threads per core to compute the total number of virtual\nCPUs to expose to the instance. If unset, the number of cores is\ninferred from the instance's nominal CPU count and the underlying\nplatform's SMT width."
        },
        "performanceMonitoringUnit": {
          "description": "Type of Performance Monitoring Unit requested on instance.",
          "enum": [
            "ARCHITECTURAL",
            "ENHANCED",
            "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED",
            "STANDARD"
          ],
          "type": "string"
        },
        "enableNestedVirtualization": {
          "description": "Whether to enable nested virtualization or not (default is false).",
          "type": "boolean"
        },
        "enableUefiNetworking": {
          "type": "boolean",
          "description": "Whether to enable UEFI networking for instance creation."
        },
        "turboMode": {
          "type": "string",
          "description": "Turbo frequency mode to use for the instance.\nSupported modes include:\n* ALL_CORE_MAX\n\nUsing empty string or not setting this field will use the platform-specific\ndefault turbo mode."
        }
      }
    },
    "AliasIpRange": {
      "type": "object",
      "description": "An alias IP range attached to an instance's network interface.",
      "properties": {
        "ipCidrRange": {
          "description": "The IP alias ranges to allocate for this interface. This IP CIDR range\nmust belong to the specified subnetwork and cannot contain IP addresses\nreserved by system or used by other network interfaces. This range may be\na single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).",
          "type": "string"
        },
        "subnetworkRangeName": {
          "type": "string",
          "description": "The name of a subnetwork secondary IP range from which to allocate an IP\nalias range. If not specified, the primary range of the subnetwork is used."
        }
      }
    },
    "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"
    },
    "ConfidentialInstanceConfig": {
      "type": "object",
      "description": "A set of Confidential Instance options.",
      "properties": {
        "confidentialInstanceType": {
          "type": "string",
          "description": "Defines the type of technology used by the confidential instance.",
          "enum": [
            "BMSAI",
            "CCA",
            "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
            "SEV",
            "SEV_SNP",
            "TDX"
          ]
        },
        "enableConfidentialCompute": {
          "type": "boolean",
          "description": "Defines whether the instance should have confidential compute enabled.\nWhen enabled, the technology used defaults to \nAMD SEV unless confidentialInstanceType is specified."
        }
      }
    },
    "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
        }
      }
    },
    "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."
        }
      }
    },
    "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"
    },
    "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"
    },
    "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)."
        }
      }
    },
    "InstanceProperties": {
      "properties": {
        "advancedMachineFeatures": {
          "$ref": "#/$defs/AdvancedMachineFeatures",
          "description": "Controls for advanced machine-related behavior features.\nNote that for MachineImage, this is not supported yet."
        },
        "resourceManagerTags": {
          "description": "Input only. Resource manager tags to be bound to the instance. 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 &\nPATCH) when empty.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "metadata": {
          "$ref": "#/$defs/Metadata",
          "description": "The metadata key/value pairs to assign to instances that are created from\nthese properties. These pairs can consist of custom metadata or predefined\nkeys. SeeProject and\ninstance metadata for more information."
        },
        "resourcePolicies": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Resource policies (names, not URLs) applied to instances created from\nthese properties.\nNote that for MachineImage, this is not supported yet."
        },
        "disks": {
          "items": {
            "$ref": "#/$defs/AttachedDisk"
          },
          "description": "An array of disks that are associated with the instances that are created\nfrom these properties.",
          "type": "array"
        },
        "networkInterfaces": {
          "type": "array",
          "description": "An array of network access configurations for this interface.",
          "items": {
            "$ref": "#/$defs/NetworkInterface"
          }
        },
        "description": {
          "description": "An optional text description for the instances that are created from these\nproperties.",
          "type": "string"
        },
        "reservationAffinity": {
          "$ref": "#/$defs/ReservationAffinity",
          "description": "Specifies the reservations that instances can consume from.\nNote that for MachineImage, this is not supported yet."
        },
        "workloadIdentityConfig": {
          "$ref": "#/$defs/WorkloadIdentityConfig"
        },
        "labels": {
          "description": "Labels to apply to instances that are created from these properties.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "scheduling": {
          "$ref": "#/$defs/Scheduling",
          "description": "Specifies the scheduling options for the instances that are created from\nthese properties."
        },
        "tags": {
          "$ref": "#/$defs/Tags",
          "description": "A list of tags to apply to the instances that are created from these\nproperties. The tags identify valid sources or targets for network\nfirewalls. The setTags method can modify this list of tags. Each tag within\nthe list must comply with RFC1035."
        },
        "networkPerformanceConfig": {
          "$ref": "#/$defs/NetworkPerformanceConfig",
          "description": "Note that for MachineImage, this is not supported yet."
        },
        "serviceAccounts": {
          "type": "array",
          "description": "A list of service accounts with specified scopes. Access tokens for these\nservice accounts are available to the instances that are created from\nthese properties. Use metadata queries to obtain the access tokens for\nthese instances.",
          "items": {
            "$ref": "#/$defs/ServiceAccount"
          }
        },
        "localSsdEncryptionMode": {
          "description": "Specifies which method should be used for encrypting the\nLocal SSDs attached to the VM.",
          "enum": [
            "EPHEMERAL_KEY_ENCRYPTION",
            "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED",
            "STANDARD_ENCRYPTION"
          ],
          "type": "string"
        },
        "privateIpv6GoogleAccess": {
          "description": "The private IPv6 google access type for VMs.\nIf not specified, use  INHERIT_FROM_SUBNETWORK as default.\nNote that for MachineImage, this is not supported yet.",
          "enum": [
            "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
            "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE",
            "INHERIT_FROM_SUBNETWORK"
          ],
          "type": "string"
        },
        "shieldedInstanceConfig": {
          "$ref": "#/$defs/ShieldedInstanceConfig",
          "description": "Note that for MachineImage, this is not supported yet."
        },
        "canIpForward": {
          "description": "Enables instances created based on these properties to send packets with\nsource IP addresses other than their own and receive packets with\ndestination IP addresses other than their own. If these instances will be\nused as an IP gateway or it will be set as the next-hop in a Route\nresource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding\ndocumentation for more information.",
          "type": "boolean"
        },
        "keyRevocationActionType": {
          "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and\n\"NONE\". The default value is \"NONE\" if it is not specified.",
          "type": "string",
          "enum": [
            "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
            "NONE",
            "STOP"
          ]
        },
        "confidentialInstanceConfig": {
          "$ref": "#/$defs/ConfidentialInstanceConfig",
          "description": "Specifies the Confidential Instance options.\nNote that for MachineImage, this is not supported yet."
        },
        "machineType": {
          "description": "The machine type to use for instances that are created from these\nproperties.\nThis field only accepts a machine type name, for example `n2-standard-4`.\nIf you use the machine type full or partial URL, for example\n`projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`,\nthe request will result in an `INTERNAL_ERROR`.",
          "type": "string"
        },
        "guestAccelerators": {
          "description": "A list of guest accelerator cards' type and count to use for instances\ncreated from these properties.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AcceleratorConfig"
          }
        },
        "minCpuPlatform": {
          "type": "string",
          "description": "Minimum cpu/platform to be used by instances. The instance may be\nscheduled on the specified or newer cpu/platform. Applicable values are the\nfriendly names of CPU platforms, such asminCpuPlatform: \"Intel Haswell\" orminCpuPlatform: \"Intel Sandy Bridge\". For more\ninformation, read Specifying a\nMinimum CPU Platform."
        }
      },
      "type": "object"
    },
    "MachineImage": {
      "properties": {
        "params": {
          "$ref": "#/$defs/MachineImageParams",
          "description": "Input only. [Input Only] Additional parameters that are passed in the request, but are\nnot persisted in the resource."
        },
        "sourceInstanceProperties": {
          "$ref": "#/$defs/SourceInstanceProperties",
          "description": "Output only. [Output Only] DEPRECATED: Please use instance_properties\ninstead for source instance related properties. New properties will not be\nadded to this field."
        },
        "satisfiesPzi": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Reserved for future use."
        },
        "satisfiesPzs": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. [Output Only] Reserved for future use."
        },
        "labels": {
          "description": "Labels to apply to this machine image. These can be later modified by\nthe setLabels method.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "description": {
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
          "type": "string"
        },
        "machineImageEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "Encrypts the machine image using acustomer-supplied\nencryption key.\n\nAfter you encrypt a machine image using a customer-supplied key, you must\nprovide the same key if you use the machine image later. For example, you\nmust provide the encryption key when you create an instance from the\nencrypted machine image in a future request.\n\nCustomer-supplied encryption keys do not protect access to metadata of the\nmachine image.\n\nIf you do not provide an encryption key when creating the machine image,\nthen the machine image will be encrypted using an automatically generated\nkey and you do not need to provide a key to use the machine image later."
        },
        "status": {
          "readOnly": true,
          "type": "string",
          "enum": [
            "CREATING",
            "DELETING",
            "INVALID",
            "READY",
            "UPLOADING"
          ],
          "description": "Output only. [Output Only] The status of the machine image. One of the following values:INVALID, CREATING, READY,DELETING, and UPLOADING."
        },
        "guestFlush": {
          "description": "[Input Only] Whether to attempt an application consistent machine image by\ninforming the OS to prepare for the snapshot process.",
          "type": "boolean"
        },
        "name": {
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "type": "string",
          "description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash."
        },
        "storageLocations": {
          "type": "array",
          "description": "The regional or multi-regional Cloud Storage bucket location where themachine image is\nstored.",
          "items": {
            "type": "string"
          }
        },
        "sourceDiskEncryptionKeys": {
          "type": "array",
          "description": "[Input Only] Thecustomer-supplied\nencryption key of the disks attached to the source instance. Required\nif the source disk is protected by a customer-supplied encryption key.",
          "items": {
            "$ref": "#/$defs/SourceDiskEncryptionKey"
          }
        },
        "labelFingerprint": {
          "type": "string",
          "format": "byte",
          "description": "A fingerprint for the labels being applied to this machine image, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the\nmachine image."
        },
        "savedDisks": {
          "items": {
            "$ref": "#/$defs/SavedDisk"
          },
          "description": "Output only. An array of Machine Image specific properties for disks attached to the\nsource instance",
          "readOnly": true,
          "type": "array"
        },
        "instanceProperties": {
          "$ref": "#/$defs/InstanceProperties",
          "description": "[Output Only] Properties of source instance"
        },
        "kind": {
          "description": "Output only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image.",
          "default": "compute#machineImage",
          "type": "string",
          "readOnly": true
        },
        "sourceInstance": {
          "type": "string",
          "description": "The source instance used to create the machine image. You can provide this\nas a partial or full URL to the resource. For example, the following are\nvalid values: \n   \n   \n     - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n   - projects/project/zones/zone/instances/instance"
        },
        "creationTimestamp": {
          "description": "Output only. [Output Only] The creation timestamp for this machine image inRFC3339\ntext format.",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "format": "uint64",
          "description": "Output only. [Output Only] A unique identifier for this machine image. The server\ndefines this identifier.",
          "readOnly": true
        },
        "selfLink": {
          "description": "Output only. [Output Only] The URL for this machine image. The server defines this URL.",
          "type": "string",
          "readOnly": true
        },
        "totalStorageBytes": {
          "description": "Output only. [Output Only] Total size of the storage used by the machine image.",
          "format": "int64",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object",
      "description": "Represents a machine image resource.\n\nA machine image is a Compute Engine resource that stores all the\nconfiguration, metadata, permissions, and data from one or more disks\nrequired to create a Virtual machine (VM) instance. For more information, seeMachine images."
    },
    "MachineImageParams": {
      "description": "Machine Image parameters",
      "properties": {
        "resourceManagerTags": {
          "description": "Input only. Resource manager tags to be bound to the machine image. 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 &\nPATCH) when empty.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "Metadata": {
      "description": "A metadata key/value entry.",
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "description": "Array of key/value pairs. The total size of all keys and values must be\nless than 512 KB.",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "pattern": "[a-zA-Z0-9-_]{1,128}",
                "description": "Key for the metadata entry. Keys must conform to the following\nregexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.\nThis is reflected as part of a URL in the metadata server. Additionally, to\navoid ambiguity, keys must not conflict with any other metadata keys\nfor the project."
              },
              "value": {
                "type": "string",
                "description": "Value for the metadata entry. These are free-form strings, and only\nhave meaning as interpreted by the image running in the instance. The\nonly restriction placed on values is that their size must be less than\nor equal to 262144 bytes (256 KiB)."
              }
            },
            "description": "Metadata"
          }
        },
        "kind": {
          "description": "Output only. [Output Only] Type of the resource. Always compute#metadata\nfor metadata.",
          "type": "string",
          "readOnly": true,
          "default": "compute#metadata"
        },
        "fingerprint": {
          "description": "Specifies a fingerprint for this request, which is essentially a hash of\nthe metadata's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update metadata. You must always provide an\nup-to-date fingerprint hash in order to update or change metadata,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve the resource.",
          "type": "string",
          "format": "byte"
        }
      }
    },
    "NetworkInterface": {
      "properties": {
        "networkAttachment": {
          "type": "string",
          "description": "The URL of the network attachment that this interface should connect\nto in the following format:\nprojects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}."
        },
        "aliasIpRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AliasIpRange"
          },
          "description": "An array of alias IP ranges for this network interface.\nYou can only specify this field for network interfaces in VPC networks."
        },
        "vlan": {
          "description": "VLAN tag of a dynamic network interface, must be  an integer in the range\nfrom 2 to 255 inclusively.",
          "type": "integer",
          "format": "int32"
        },
        "ipv6Address": {
          "description": "An IPv6 internal network address for this network interface. To\nuse a static internal IP address, it must be unused and in the same region\nas the instance's zone. If not specified, Google Cloud will automatically\nassign an internal IPv6 address from the instance's subnetwork.",
          "type": "string"
        },
        "subnetwork": {
          "type": "string",
          "description": "The URL of the Subnetwork resource for this instance. If the network\nresource is inlegacy\nmode, do not specify this field. If the network is in auto subnet\nmode, specifying the subnetwork is optional. If the network is in custom\nsubnet mode, specifying the subnetwork is required. If you specify this\nfield, you can specify the subnetwork as a full or partial URL. For\nexample, the following are all valid URLs:\n   \n   \n      - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork \n   - regions/region/subnetworks/subnetwork"
        },
        "fingerprint": {
          "description": "Fingerprint hash of contents stored in this network interface.\nThis field will be ignored when inserting an Instance or\nadding a NetworkInterface. An up-to-date\nfingerprint must be provided in order to update theNetworkInterface. The request will fail with error400 Bad Request if the fingerprint is not provided, or412 Precondition Failed if the fingerprint is out of date.",
          "type": "string",
          "format": "byte"
        },
        "name": {
          "description": "[Output Only] The name of the network interface, which is generated by the\nserver. For a VM, the network interface uses the nicN naming\nformat. Where N is a value between 0 and7. The default interface value is nic0.",
          "type": "string"
        },
        "enableVpcScopedDns": {
          "description": "Optional. If true, DNS resolution will be enabled over this interface. Only valid\nwith network_attachment.",
          "type": "boolean"
        },
        "nicType": {
          "enum": [
            "GVNIC",
            "IDPF",
            "IRDMA",
            "MRDMA",
            "UNSPECIFIED_NIC_TYPE",
            "VIRTIO_NET"
          ],
          "description": "The type of vNIC to be used on this interface. This may be gVNIC or\nVirtioNet.",
          "type": "string"
        },
        "ipv6AccessType": {
          "enum": [
            "EXTERNAL",
            "INTERNAL"
          ],
          "description": "Output only. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be\naccessed from the Internet. This field is always inherited from its\nsubnetwork.\n\nValid only if stackType is IPV4_IPV6.",
          "readOnly": true,
          "type": "string"
        },
        "ipv6AccessConfigs": {
          "description": "An array of IPv6 access configurations for this interface. Currently, only\none IPv6 access config, DIRECT_IPV6, is supported. If there\nis no ipv6AccessConfig specified, then this instance will\nhave no external IPv6 Internet access.",
          "items": {
            "$ref": "#/$defs/AccessConfig"
          },
          "type": "array"
        },
        "kind": {
          "default": "compute#networkInterface",
          "type": "string",
          "description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkInterface for network interfaces.",
          "readOnly": true
        },
        "accessConfigs": {
          "description": "An array of configurations for this interface. Currently, only one access\nconfig, ONE_TO_ONE_NAT, is supported. If there are noaccessConfigs specified, then this instance will have\nno external internet access.",
          "items": {
            "$ref": "#/$defs/AccessConfig"
          },
          "type": "array"
        },
        "internalIpv6PrefixLength": {
          "description": "The prefix length of the primary internal IPv6 range.",
          "type": "integer",
          "format": "int32"
        },
        "networkIP": {
          "description": "An IPv4 internal IP address to assign to the instance for this network\ninterface. If not specified by the user, an unused internal IP is\nassigned by the system.",
          "type": "string"
        },
        "stackType": {
          "type": "string",
          "description": "The stack type for this network interface. To assign only IPv4 addresses,\nuse IPV4_ONLY. To assign both IPv4 and IPv6 addresses, useIPV4_IPV6. If not specified, IPV4_ONLY is used.\n\nThis field can be both set at instance creation and update network\ninterface operations.",
          "enum": [
            "IPV4_IPV6",
            "IPV4_ONLY",
            "IPV6_ONLY"
          ]
        },
        "network": {
          "description": "URL of the VPC network resource for this instance. When creating an\ninstance, if neither the network nor the subnetwork is specified, the\ndefault network global/networks/default is used. If the\nselected project doesn't have the default network, you must specify a\nnetwork or subnet. If the network is not specified but the subnetwork is\nspecified, the network is inferred.\n\nIf you specify this property, you can specify the network as\na full or partial URL. For example, the following are all valid URLs:\n   \n   \n      - https://www.googleapis.com/compute/v1/projects/project/global/networks/network\n      - projects/project/global/networks/network\n      - global/networks/default",
          "type": "string"
        },
        "serviceClassId": {
          "description": "Optional. Producer Service's Service class Id for the region of this network\ninterface. Can only be used with network_attachment. It is not possible to\nuse on its own however, network_attachment can be used without\nservice_class_id.",
          "type": "string"
        },
        "aliasIpv6Ranges": {
          "items": {
            "$ref": "#/$defs/AliasIpRange"
          },
          "description": "An array of alias IPv6 ranges for this network interface.\nYou can only specify this field for network interfaces in VPC networks.",
          "type": "array"
        },
        "igmpQuery": {
          "type": "string",
          "description": "Indicate whether igmp query is enabled on the network interface\nor not. If enabled, also indicates the version of IGMP supported.",
          "enum": [
            "IGMP_QUERY_DISABLED",
            "IGMP_QUERY_V2"
          ]
        },
        "parentNicName": {
          "description": "Name of the parent network interface of a dynamic network interface.",
          "type": "string"
        },
        "queueCount": {
          "type": "integer",
          "format": "int32",
          "description": "The networking queue count that's specified by users for the network\ninterface. Both Rx and Tx queues will be set to this number. It'll be empty\nif not specified by the users."
        }
      },
      "type": "object",
      "description": "A network interface resource attached to an instance."
    },
    "NetworkPerformanceConfig": {
      "properties": {
        "totalEgressBandwidthTier": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "TIER_1"
          ]
        }
      },
      "type": "object"
    },
    "ReservationAffinity": {
      "properties": {
        "consumeReservationType": {
          "description": "Specifies the type of reservation from which this instance can consume\nresources: ANY_RESERVATION (default),SPECIFIC_RESERVATION, or NO_RESERVATION. See\nConsuming reserved instances for examples.",
          "enum": [
            "ANY_RESERVATION",
            "NO_RESERVATION",
            "SPECIFIC_RESERVATION",
            "UNSPECIFIED"
          ],
          "type": "string"
        },
        "key": {
          "type": "string",
          "description": "Corresponds to the label key of a reservation resource. To target aSPECIFIC_RESERVATION by name, specifygoogleapis.com/reservation-name as the key and specify\nthe name of your reservation as its value."
        },
        "values": {
          "items": {
            "type": "string"
          },
          "description": "Corresponds to the label values of a reservation resource. This can be\neither a name to a reservation in the same project or\n\"projects/different-project/reservations/some-reservation-name\" to target a\nshared reservation in the same zone but in a different project.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "Specifies the reservations that this instance can consume from."
    },
    "SavedAttachedDisk": {
      "description": "DEPRECATED: Please use compute#savedDisk instead.\nAn instance-attached disk resource.",
      "properties": {
        "kind": {
          "description": "Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.",
          "default": "compute#savedAttachedDisk",
          "type": "string",
          "readOnly": true
        },
        "diskSizeGb": {
          "description": "The size of the disk in base-2 GB.",
          "format": "int64",
          "type": "string"
        },
        "index": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. Specifies zero-based index of the disk that is attached to the source\ninstance.",
          "format": "int32"
        },
        "autoDelete": {
          "type": "boolean",
          "description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance)."
        },
        "licenses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. [Output Only] Any valid publicly visible licenses.",
          "readOnly": true
        },
        "boot": {
          "type": "boolean",
          "description": "Indicates that this is a boot disk. The virtual machine will use the first\npartition of the disk for its root filesystem."
        },
        "storageBytesStatus": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] An indicator whether storageBytes is in a\nstable state or it is being adjusted as a result of shared storage\nreallocation. This status can either be UPDATING, meaning\nthe size of the snapshot is being updated, or UP_TO_DATE,\nmeaning the size of the snapshot is up-to-date.",
          "enum": [
            "UPDATING",
            "UP_TO_DATE"
          ]
        },
        "deviceName": {
          "description": "Specifies the name of the disk attached to the source instance.",
          "type": "string"
        },
        "diskType": {
          "type": "string",
          "description": "Output only. [Output Only] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or\npd-ssd",
          "readOnly": true
        },
        "type": {
          "description": "Specifies the type of the attached disk, either SCRATCH orPERSISTENT.",
          "enum": [
            "PERSISTENT",
            "SCRATCH"
          ],
          "type": "string"
        },
        "source": {
          "description": "Specifies a URL of the disk attached to the source instance.",
          "type": "string"
        },
        "storageBytes": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] A size of the storage used by the disk's snapshot by this\nmachine image.",
          "format": "int64"
        },
        "mode": {
          "enum": [
            "READ_ONLY",
            "READ_WRITE"
          ],
          "description": "The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.",
          "type": "string"
        },
        "interface": {
          "type": "string",
          "enum": [
            "NVME",
            "SCSI"
          ],
          "description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME."
        },
        "guestOsFeatures": {
          "items": {
            "$ref": "#/$defs/GuestOsFeature"
          },
          "description": "A list of features to enable on the guest operating system. Applicable only\nfor bootable images. Read\nEnabling guest operating system features to see a list of available\noptions.",
          "type": "array"
        },
        "diskEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "The encryption key for the disk."
        }
      },
      "type": "object"
    },
    "SavedDisk": {
      "description": "An instance-attached disk resource.",
      "type": "object",
      "properties": {
        "storageBytes": {
          "type": "string",
          "format": "int64",
          "readOnly": true,
          "description": "Output only. [Output Only] Size of the individual disk snapshot used by this machine\nimage."
        },
        "architecture": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The architecture of the attached disk.",
          "enum": [
            "ARCHITECTURE_UNSPECIFIED",
            "ARM64",
            "X86_64"
          ]
        },
        "storageBytesStatus": {
          "enum": [
            "UPDATING",
            "UP_TO_DATE"
          ],
          "description": "Output only. [Output Only] An indicator whether storageBytes is in a\nstable state or it is being adjusted as a result of shared storage\nreallocation. This status can either be UPDATING, meaning\nthe size of the snapshot is being updated, or UP_TO_DATE,\nmeaning the size of the snapshot is up-to-date.",
          "readOnly": true,
          "type": "string"
        },
        "kind": {
          "default": "compute#savedDisk",
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] Type of the resource. Always compute#savedDisk\nfor attached disks."
        },
        "sourceDisk": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Specifies a URL of the disk attached to the source instance."
        }
      }
    },
    "Scheduling": {
      "properties": {
        "terminationTime": {
          "type": "string",
          "description": "Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance\ntermination action will be performed at the termination time."
        },
        "preemptible": {
          "type": "boolean",
          "description": "Defines whether the instance is preemptible. This can only be set during\ninstance creation or while the instance isstopped and\ntherefore, in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states."
        },
        "localSsdRecoveryTimeout": {
          "$ref": "#/$defs/Duration",
          "description": "Specifies the maximum amount of time a Local Ssd Vm should wait while\nrecovery of the Local Ssd state is attempted. Its value should be in\nbetween 0 and 168 hours with hour granularity and the default value being 1\nhour."
        },
        "skipGuestOsShutdown": {
          "description": "Defines whether GCE ACPI G2 Soft\nOff signal should be skipped during shutdown operation of VM.\n\nDefault is false, meaning there will be 120 seconds between GCE ACPI G2 Soft\nOff and ACPI G3 Mechanical\nOff for Standard VMs and 30 seconds for Spot VMs.",
          "type": "boolean"
        },
        "availabilityDomain": {
          "type": "integer",
          "description": "Specifies the availability domain to place the instance in. The value\nmust be a number between 1 and the number of availability domains\nspecified in the spread placement policy attached to the instance.",
          "format": "int32"
        },
        "maxRunDuration": {
          "$ref": "#/$defs/Duration",
          "description": "Specifies the max run duration for the given instance. If specified,\nthe instance termination action will be performed at the end of the run\nduration."
        },
        "provisioningModel": {
          "type": "string",
          "description": "Specifies the provisioning model of the instance.",
          "enum": [
            "FLEX_START",
            "RESERVATION_BOUND",
            "SPOT",
            "STANDARD"
          ]
        },
        "automaticRestart": {
          "description": "Specifies whether the instance should be automatically restarted if it is\nterminated by Compute Engine (not terminated by a user). You can only set\nthe automatic restart option for standard instances.Preemptible instances\ncannot be automatically restarted.\n\nBy default, this is set to true so an instance is\nautomatically restarted if it is terminated by Compute Engine.",
          "type": "boolean"
        },
        "hostErrorTimeoutSeconds": {
          "format": "int32",
          "description": "Specify the time in seconds for host error detection, the value must be\nwithin the range of [90, 330] with the increment of 30, if unset, the\ndefault behavior of host error recovery will be used.",
          "type": "integer"
        },
        "nodeAffinities": {
          "type": "array",
          "description": "A set of node affinity and anti-affinity configurations. Refer toConfiguring node\naffinity for more information.\nOverrides reservationAffinity.",
          "items": {
            "$ref": "#/$defs/SchedulingNodeAffinity"
          }
        },
        "gracefulShutdown": {
          "$ref": "#/$defs/SchedulingGracefulShutdown"
        },
        "exposeHostTopology": {
          "type": "boolean",
          "description": "This optional flag exposes the hashed physical host ID in the\nResourceStatus resource of the VM."
        },
        "onInstanceStopAction": {
          "$ref": "#/$defs/SchedulingOnInstanceStopAction"
        },
        "preemptionNoticeDuration": {
          "$ref": "#/$defs/Duration",
          "description": "Specifies the Metadata Service preemption notice duration before the GCE ACPI G2\nSoft Off signal is triggered for Spot VMs only. If not specified,\nthere will be no wait before the G2 Soft Off signal is triggered."
        },
        "minNodeCpus": {
          "description": "The minimum number of virtual CPUs this instance will consume when running\non a sole-tenant node.",
          "type": "integer",
          "format": "int32"
        },
        "locationHint": {
          "description": "An opaque location hint used to place the instance close to other\nresources.\nThis field is for use by internal tools that use the public API.",
          "type": "string"
        },
        "instanceTerminationAction": {
          "enum": [
            "DELETE",
            "INSTANCE_TERMINATION_ACTION_UNSPECIFIED",
            "STOP"
          ],
          "type": "string",
          "description": "Specifies the termination action for the instance."
        },
        "onHostMaintenance": {
          "enum": [
            "MIGRATE",
            "TERMINATE"
          ],
          "description": "Defines the maintenance behavior for this instance. For standard instances,\nthe default behavior is MIGRATE. Forpreemptible instances,\nthe default and only possible behavior is TERMINATE. For more\ninformation, see\n Set\n VM host maintenance policy.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Sets the scheduling options for an Instance."
    },
    "SchedulingGracefulShutdown": {
      "description": "The configuration for gracefully shutting down the instance.",
      "type": "object",
      "properties": {
        "enabled": {
          "description": "Opts-in for graceful shutdown.",
          "type": "boolean"
        },
        "maxDuration": {
          "$ref": "#/$defs/Duration",
          "description": "The time allotted for the instance to gracefully shut down. If the\ngraceful shutdown isn't complete after this time, then the instance\ntransitions to the STOPPING state."
        }
      }
    },
    "SchedulingNodeAffinity": {
      "description": "Node Affinity: the configuration of desired nodes onto which this Instance\n could be scheduled.",
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Corresponds to the label values of Node resource."
        },
        "operator": {
          "description": "Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity.",
          "type": "string",
          "enum": [
            "IN",
            "NOT_IN",
            "OPERATOR_UNSPECIFIED"
          ]
        },
        "key": {
          "type": "string",
          "description": "Corresponds to the label key of Node resource."
        }
      },
      "type": "object"
    },
    "SchedulingOnInstanceStopAction": {
      "properties": {
        "discardLocalSsd": {
          "description": "If true, the contents of any attached Local SSD disks will be discarded\nelse, the Local SSD data will be preserved when the instance is stopped\nat the end of the run duration/termination time.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Defines the behaviour for instances with the instance_termination_actionSTOP."
    },
    "ServiceAccount": {
      "type": "object",
      "properties": {
        "email": {
          "description": "Email address of the service account.",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The list of scopes to be made available for this service account."
        }
      },
      "description": "A service account."
    },
    "ShieldedInstanceConfig": {
      "type": "object",
      "properties": {
        "enableVtpm": {
          "description": "Defines whether the instance has the vTPM enabled.Enabled by\ndefault.",
          "type": "boolean"
        },
        "enableSecureBoot": {
          "description": "Defines whether the instance has Secure Boot enabled.Disabled by\ndefault.",
          "type": "boolean"
        },
        "enableIntegrityMonitoring": {
          "description": "Defines whether the instance has integrity monitoring enabled.Enabled by\ndefault.",
          "type": "boolean"
        }
      },
      "description": "A set of Shielded Instance options."
    },
    "SourceDiskEncryptionKey": {
      "properties": {
        "diskEncryptionKey": {
          "$ref": "#/$defs/CustomerEncryptionKey",
          "description": "Thecustomer-supplied\nencryption key of the source disk. Required if the source disk is\nprotected by a customer-supplied encryption key."
        },
        "sourceDisk": {
          "type": "string",
          "description": "URL of the disk attached to the source instance. This can be a full or\nvalid partial URL. For example, the following are valid values:\n   \n   \n     - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n   - projects/project/zones/zone/disks/disk \n   - zones/zone/disks/disk"
        }
      },
      "type": "object"
    },
    "SourceInstanceProperties": {
      "description": "DEPRECATED: Please use compute#instanceProperties instead.\nNew properties will not be added to this field.",
      "properties": {
        "serviceAccounts": {
          "items": {
            "$ref": "#/$defs/ServiceAccount"
          },
          "type": "array",
          "description": "A list of service accounts with specified scopes. Access tokens for these\nservice accounts are available to the instances that are created from this\nmachine image. Use metadata queries to obtain the access tokens for these\ninstances."
        },
        "metadata": {
          "$ref": "#/$defs/Metadata",
          "description": "The metadata key/value pairs to assign to instances that are created from\nthis machine image. These pairs can consist of custom metadata or\npredefined keys. SeeProject and\ninstance metadata for more information."
        },
        "machineType": {
          "description": "The machine type to use for instances that are created from this machine\nimage.",
          "type": "string"
        },
        "minCpuPlatform": {
          "description": "Minimum cpu/platform to be used by instances created from this machine\nimage. The instance may be scheduled on the specified or newer\ncpu/platform. Applicable values are the friendly names of CPU platforms,\nsuch as minCpuPlatform: \"Intel Haswell\" orminCpuPlatform: \"Intel Sandy Bridge\". For more\ninformation, read Specifying a\nMinimum CPU Platform.",
          "type": "string"
        },
        "postKeyRevocationActionType": {
          "enum": [
            "NOOP",
            "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
            "SHUTDOWN"
          ],
          "description": "PostKeyRevocationActionType of the instance.",
          "type": "string"
        },
        "networkInterfaces": {
          "type": "array",
          "description": "An array of network access configurations for this interface.",
          "items": {
            "$ref": "#/$defs/NetworkInterface"
          }
        },
        "scheduling": {
          "$ref": "#/$defs/Scheduling",
          "description": "Specifies the scheduling options for the instances that are created from\nthis machine image."
        },
        "guestAccelerators": {
          "items": {
            "$ref": "#/$defs/AcceleratorConfig"
          },
          "description": "A list of guest accelerator cards' type and count to use for instances\ncreated from this machine image.",
          "type": "array"
        },
        "labels": {
          "description": "Labels to apply to instances that are created from this machine image.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "type": "string",
          "description": "An optional text description for the instances that are created from this\nmachine image."
        },
        "disks": {
          "type": "array",
          "description": "An array of disks that are associated with the instances that are created\nfrom this machine image.",
          "items": {
            "$ref": "#/$defs/SavedAttachedDisk"
          }
        },
        "keyRevocationActionType": {
          "enum": [
            "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
            "NONE",
            "STOP"
          ],
          "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and\n\"NONE\". The default value is \"NONE\" if it is not specified.",
          "type": "string"
        },
        "tags": {
          "$ref": "#/$defs/Tags",
          "description": "A list of tags to apply to the instances that are created from this machine\nimage. The tags identify valid sources or targets for network firewalls.\nThe setTags method can modify this list of tags. Each tag within the list\nmust comply withRFC1035."
        },
        "canIpForward": {
          "type": "boolean",
          "description": "Enables instances created based on this machine image to send packets with\nsource IP addresses other than their own and receive packets with\ndestination IP addresses other than their own. If these instances will be\nused as an IP gateway or it will be set as the next-hop in a Route\nresource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding\ndocumentation for more information."
        },
        "deletionProtection": {
          "description": "Whether the instance created from this machine image should be protected\nagainst deletion.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Tags": {
      "type": "object",
      "description": "A set of instance tags.",
      "properties": {
        "fingerprint": {
          "description": "Specifies a fingerprint for this request, which is essentially a hash of\nthe tags' contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update tags. You must always provide an\nup-to-date fingerprint hash in order to update or change tags.\n\nTo see the latest fingerprint, make get() request to the\ninstance.",
          "format": "byte",
          "type": "string"
        },
        "items": {
          "description": "An array of tags. Each tag must be 1-63 characters long, and comply\nwith RFC1035.",
          "items": {
            "type": "string"
          },
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "type": "array"
        }
      }
    },
    "WorkloadIdentityConfig": {
      "properties": {
        "identity": {
          "type": "string"
        },
        "identityCertificateEnabled": {
          "type": "boolean"
        }
      },
      "type": "object"
    }
  }
}