DiskImageTargetDetails

The target details of the image resource that will be created by the import job.

JSON representation
{
  "imageName": string,
  "targetProject": string,
  "description": string,
  "familyName": string,
  "labels": {
    string: string,
    ...
  },
  "additionalLicenses": [
    string
  ],
  "singleRegionStorage": boolean,
  "encryption": {
    object (Encryption)
  },

  // Union field os_adaptation_config can be only one of the following:
  "osAdaptationParameters": {
    object (ImageImportOsAdaptationParameters)
  },
  "dataDiskImageImport": {
    object (DataDiskImageImport)
  }
  // End of list of possible types for union field os_adaptation_config.
}
Fields
imageName

string

Required. The name of the image to be created.

targetProject

string

Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

description

string

Optional. An optional description of the image.

familyName

string

Optional. The name of the image family to which the new image belongs.

labels

map (key: string, value: string)

Optional. A map of labels to associate with the image.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

additionalLicenses[]

string

Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME

singleRegionStorage

boolean

Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.

encryption

object (Encryption)

Immutable. The encryption to apply to the image.

Union field os_adaptation_config.

os_adaptation_config can be only one of the following:

osAdaptationParameters

object (ImageImportOsAdaptationParameters)

Optional. Use to set the parameters relevant for the OS adaptation process.

dataDiskImageImport

object (DataDiskImageImport)

Optional. Use to skip OS adaptation process.

DataDiskImageImport

This type has no fields.

Mentions that the image import is not using OS adaptation process.