pub struct ImageImport {
pub cloud_storage_uri: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub disk_image_target_defaults: Option<DiskImageTargetDetails>,
pub encryption: Option<Encryption>,
pub name: Option<String>,
pub recent_image_import_jobs: Option<Vec<ImageImportJob>>,
}Expand description
ImageImport describes the configuration of the image import to run.
§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).
- locations image imports create projects (request)
- locations image imports get projects (response)
Fields§
§cloud_storage_uri: Option<String>Immutable. 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.
disk_image_target_defaults: Option<DiskImageTargetDetails>Immutable. Target details for importing a disk image, will be used by ImageImportJob.
encryption: Option<Encryption>Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
name: Option<String>Output only. The resource path of the ImageImport.
recent_image_import_jobs: Option<Vec<ImageImportJob>>Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
Trait Implementations§
Source§impl Clone for ImageImport
impl Clone for ImageImport
Source§fn clone(&self) -> ImageImport
fn clone(&self) -> ImageImport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ImageImport
impl Debug for ImageImport
Source§impl Default for ImageImport
impl Default for ImageImport
Source§fn default() -> ImageImport
fn default() -> ImageImport
Source§impl<'de> Deserialize<'de> for ImageImport
impl<'de> Deserialize<'de> for ImageImport
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 ImageImport
impl Serialize for ImageImport
impl RequestValue for ImageImport
impl ResponseResult for ImageImport
Auto Trait Implementations§
impl Freeze for ImageImport
impl RefUnwindSafe for ImageImport
impl Send for ImageImport
impl Sync for ImageImport
impl Unpin for ImageImport
impl UnwindSafe for ImageImport
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