Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ImageImportJob.
ImageImportJob describes the progress and result of an image import.
Generated from protobuf message google.cloud.vmmigration.v1.ImageImportJob
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cloud_storage_uri
string
Output only. The path to the Cloud Storage file from which the image should be imported.
↳ disk_image_target_details
↳ machine_image_target_details
↳ name
string
Output only. The resource path of the ImageImportJob.
↳ created_resources
array
Output only. The resource paths of the resources created by the image import job.
↳ state
int
Output only. The state of the image import.
↳ create_time
Google\Protobuf\Timestamp
Output only. The time the image import was created (as an API call, not when it was actually created in the target).
↳ end_time
↳ errors
array< Google\Rpc\Status
>
Output only. Provides details on the error that led to the image import state in case of an error.
↳ warnings
↳ steps
getCloudStorageUri
Output only. The path to the Cloud Storage file from which the image should be imported.
string
hasCloudStorageUri
setCloudStorageUri
Output only. The path to the Cloud Storage file from which the image should be imported.
var
string
$this
getDiskImageTargetDetails
Output only. Target details used to import a disk image.
hasDiskImageTargetDetails
setDiskImageTargetDetails
Output only. Target details used to import a disk image.
$this
getMachineImageTargetDetails
Output only. Target details used to import a machine image.
hasMachineImageTargetDetails
setMachineImageTargetDetails
Output only. Target details used to import a machine image.
$this
getName
Output only. The resource path of the ImageImportJob.
string
setName
Output only. The resource path of the ImageImportJob.
var
string
$this
getCreatedResources
Output only. The resource paths of the resources created by the image import job.
setCreatedResources
Output only. The resource paths of the resources created by the image import job.
var
string[]
$this
getState
Output only. The state of the image import.
setState
Output only. The state of the image import.
$this
getCreateTime
Output only. The time the image import was created (as an API call, not when it was actually created in the target).
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the image import was created (as an API call, not when it was actually created in the target).
$this
getEndTime
Output only. The time the image import was ended.
hasEndTime
clearEndTime
setEndTime
Output only. The time the image import was ended.
$this
getErrors
Output only. Provides details on the error that led to the image import state in case of an error.
setErrors
Output only. Provides details on the error that led to the image import state in case of an error.
$this
getWarnings
Output only. Warnings that occurred during the image import.
setWarnings
Output only. Warnings that occurred during the image import.
$this
getSteps
Output only. The image import steps list representing its progress.
setSteps
Output only. The image import steps list representing its progress.
$this
getSource
string
getTargetDetails
string

