pub struct ImageImportJob {
pub cloud_storage_uri: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub created_resources: Option<Vec<String>>,
pub disk_image_target_details: Option<DiskImageTargetDetails>,
pub end_time: Option<DateTime<Utc>>,
pub errors: Option<Vec<Status>>,
pub name: Option<String>,
pub state: Option<String>,
pub steps: Option<Vec<ImageImportStep>>,
pub warnings: Option<Vec<MigrationWarning>>,
}Expand description
ImageImportJob describes the progress and result of an image import.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§cloud_storage_uri: Option<String>Output only. The path to the Cloud Storage file from which the image should be imported.
create_time: Option<DateTime<Utc>>Output only. The time the image import was created (as an API call, not when it was actually created in the target).
created_resources: Option<Vec<String>>Output only. The resource paths of the resources created by the image import job.
disk_image_target_details: Option<DiskImageTargetDetails>Output only. Target details used to import a disk image.
end_time: Option<DateTime<Utc>>Output only. The time the image import was ended.
errors: Option<Vec<Status>>Output only. Provides details on the error that led to the image import state in case of an error.
name: Option<String>Output only. The resource path of the ImageImportJob.
state: Option<String>Output only. The state of the image import.
steps: Option<Vec<ImageImportStep>>Output only. The image import steps list representing its progress.
warnings: Option<Vec<MigrationWarning>>Output only. Warnings that occurred during the image import.
Trait Implementations§
Source§impl Clone for ImageImportJob
impl Clone for ImageImportJob
Source§fn clone(&self) -> ImageImportJob
fn clone(&self) -> ImageImportJob
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ImageImportJob
impl Debug for ImageImportJob
Source§impl Default for ImageImportJob
impl Default for ImageImportJob
Source§fn default() -> ImageImportJob
fn default() -> ImageImportJob
Source§impl<'de> Deserialize<'de> for ImageImportJob
impl<'de> Deserialize<'de> for ImageImportJob
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ImageImportJob
impl Serialize for ImageImportJob
impl ResponseResult for ImageImportJob
Auto Trait Implementations§
impl Freeze for ImageImportJob
impl RefUnwindSafe for ImageImportJob
impl Send for ImageImportJob
impl Sync for ImageImportJob
impl Unpin for ImageImportJob
impl UnwindSafe for ImageImportJob
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more