pub struct ImageRawDisk {
pub container_type: Option<String>,
pub sha1_checksum: Option<String>,
pub source: Option<String>,
}
Expand description
The parameters of the raw disk image.
This type is not used in any activity, and only used as part of another schema.
Fields§
§container_type: Option<String>
The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
sha1_checksum: Option<String>
[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.
source: Option<String>
The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
Trait Implementations§
Source§impl Clone for ImageRawDisk
impl Clone for ImageRawDisk
Source§fn clone(&self) -> ImageRawDisk
fn clone(&self) -> ImageRawDisk
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ImageRawDisk
impl Debug for ImageRawDisk
Source§impl Default for ImageRawDisk
impl Default for ImageRawDisk
Source§fn default() -> ImageRawDisk
fn default() -> ImageRawDisk
Source§impl<'de> Deserialize<'de> for ImageRawDisk
impl<'de> Deserialize<'de> for ImageRawDisk
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 ImageRawDisk
impl Serialize for ImageRawDisk
impl NestedType for ImageRawDisk
impl Part for ImageRawDisk
Auto Trait Implementations§
impl Freeze for ImageRawDisk
impl RefUnwindSafe for ImageRawDisk
impl Send for ImageRawDisk
impl Sync for ImageRawDisk
impl Unpin for ImageRawDisk
impl UnwindSafe for ImageRawDisk
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