Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ImageImport.
ImageImport describes the configuration of the image import to run.
Generated from protobuf message google.cloud.vmmigration.v1.ImageImport
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cloud_storage_uri
string
Immutable. The path to the Cloud Storage file from which the image should be imported.
↳ disk_image_target_defaults
DiskImageTargetDetails
Immutable. Target details for importing a disk image, will be used by ImageImportJob.
↳ machine_image_target_defaults
MachineImageTargetDetails
Immutable. Target details for importing a machine image, will be used by ImageImportJob.
↳ name
string
Output only. The resource path of the ImageImport.
↳ create_time
↳ recent_image_import_jobs
array< ImageImportJob
>
Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
↳ encryption
Encryption
Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
getCloudStorageUri
Immutable. The path to the Cloud Storage file from which the image should be imported.
string
hasCloudStorageUri
setCloudStorageUri
Immutable. The path to the Cloud Storage file from which the image should be imported.
var
string
$this
getDiskImageTargetDefaults
Immutable. Target details for importing a disk image, will be used by ImageImportJob.
hasDiskImageTargetDefaults
setDiskImageTargetDefaults
Immutable. Target details for importing a disk image, will be used by ImageImportJob.
$this
getMachineImageTargetDefaults
Immutable. Target details for importing a machine image, will be used by ImageImportJob.
hasMachineImageTargetDefaults
setMachineImageTargetDefaults
Immutable. Target details for importing a machine image, will be used by ImageImportJob.
$this
getName
Output only. The resource path of the ImageImport.
string
setName
Output only. The resource path of the ImageImport.
var
string
$this
getCreateTime
Output only. The time the image import was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the image import was created.
$this
getRecentImageImportJobs
Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
setRecentImageImportJobs
Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
$this
getEncryption
Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
hasEncryption
clearEncryption
setEncryption
Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
$this
getSource
string
getTargetDefaults
string