Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::ImageImportJob.
ImageImportJob describes the progress and result of an image import.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_storage_uri
def cloud_storage_uri() -> ::String
- (::String) — Output only. The path to the Cloud Storage file from which the image should be imported.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::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).
#created_resources
def created_resources() -> ::Array<::String>
- (::Array<::String>) — Output only. The resource paths of the resources created by the image import job.
#disk_image_target_details
def disk_image_target_details() -> ::Google::Cloud::VMMigration::V1::DiskImageTargetDetails
-
(::Google::Cloud::VMMigration::V1::DiskImageTargetDetails) — Output only. Target details used to import a disk image.
Note: The following fields are mutually exclusive:
disk_image_target_details
,machine_image_target_details
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the image import was ended.
#errors
def errors() -> ::Array<::Google::Rpc::Status>
- (::Array<::Google::Rpc::Status>) — Output only. Provides details on the error that led to the image import state in case of an error.
#machine_image_target_details
def machine_image_target_details() -> ::Google::Cloud::VMMigration::V1::MachineImageTargetDetails
-
(::Google::Cloud::VMMigration::V1::MachineImageTargetDetails) — Output only. Target details used to import a machine image.
Note: The following fields are mutually exclusive:
machine_image_target_details
,disk_image_target_details
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
def name() -> ::String
- (::String) — Output only. The resource path of the ImageImportJob.
#state
def state() -> ::Google::Cloud::VMMigration::V1::ImageImportJob::State
- (::Google::Cloud::VMMigration::V1::ImageImportJob::State) — Output only. The state of the image import.
#steps
def steps() -> ::Array<::Google::Cloud::VMMigration::V1::ImageImportStep>
- (::Array<::Google::Cloud::VMMigration::V1::ImageImportStep>) — Output only. The image import steps list representing its progress.
#warnings
def warnings() -> ::Array<::Google::Cloud::VMMigration::V1::MigrationWarning>
- (::Array<::Google::Cloud::VMMigration::V1::MigrationWarning>) — Output only. Warnings that occurred during the image import.