REST Resource: projects.locations.imageImports

Resource: ImageImport

ImageImport describes the configuration of the image import to run.

JSON representation
{
  "name": string,
  "createTime": string,
  "recentImageImportJobs": [
    {
      object (ImageImportJob)
    }
  ],
  "encryption": {
    object (Encryption)
  },

  // Union field source can be only one of the following:
  "cloudStorageUri": string
  // End of list of possible types for union field source.

  // Union field target_defaults can be only one of the following:
  "diskImageTargetDefaults": {
    object (DiskImageTargetDetails)
  }
  // End of list of possible types for union field target_defaults.
}
Fields
name

string

Output only. The resource path of the ImageImport.

createTime

string (Timestamp format)

Output only. The time the image import was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

recentImageImportJobs[]

object (ImageImportJob)

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

encryption

object (Encryption)

Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.

Union field source.

source can be only one of the following:

cloudStorageUri

string

Immutable. The path to the Cloud Storage file from which the image should be imported.

Union field target_defaults. The configuration of the resources that will be created in GCP as a result of the ImageImport. target_defaults can be only one of the following:
diskImageTargetDefaults

object (DiskImageTargetDetails)

Immutable. Target details for importing a disk image, will be used by ImageImportJob.

Methods

create

Creates a new ImageImport in a given project.

delete

Deletes a single ImageImport.

get

Gets details of a single ImageImport.

list

Lists ImageImports in a given project.