Struct gapi_grpc::google::genomics::v1alpha2::pipeline_resources::Disk[][src]

pub struct Disk {
    pub name: String,
    pub type: i32,
    pub size_gb: i32,
    pub source: String,
    pub auto_delete: bool,
    pub mount_point: String,
}

A Google Compute Engine disk resource specification.

Fields

name: String

Required. The name of the disk that can be used in the pipeline parameters. Must be 1 - 63 characters. The name “boot” is reserved for system use.

type: i32

Required. The type of the disk to create.

size_gb: i32

The size of the disk. Defaults to 500 (GB). This field is not applicable for local SSD.

source: String

The full or partial URL of the persistent disk to attach. See https://cloud.google.com/compute/docs/reference/latest/instances#resource and https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots for more details.

auto_delete: bool

Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to.

mount_point: String

Required at create time and cannot be overridden at run time. Specifies the path in the docker container where files on this disk should be located. For example, if mountPoint is /mnt/disk, and the parameter has localPath inputs/file.txt, the docker container can access the data at /mnt/disk/inputs/file.txt.

Implementations

impl Disk[src]

pub fn type(&self) -> Type[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for Disk[src]

impl Debug for Disk[src]

impl Default for Disk[src]

impl Message for Disk[src]

impl PartialEq<Disk> for Disk[src]

impl StructuralPartialEq for Disk[src]

Auto Trait Implementations

impl RefUnwindSafe for Disk

impl Send for Disk

impl Sync for Disk

impl Unpin for Disk

impl UnwindSafe for Disk

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]