Struct googapis::google::genomics::v1alpha2::PipelineResources [−][src]
pub struct PipelineResources {
pub minimum_cpu_cores: i32,
pub preemptible: bool,
pub minimum_ram_gb: f64,
pub disks: Vec<Disk>,
pub zones: Vec<String>,
pub boot_disk_size_gb: i32,
pub no_address: bool,
}
Expand description
The system resources for the pipeline run.
Fields
minimum_cpu_cores: i32
The minimum number of cores to use. Defaults to 1.
preemptible: bool
Whether to use preemptible VMs. Defaults to false
. In order to use this,
must be true for both create time and run time. Cannot be true at run time
if false at create time.
minimum_ram_gb: f64
The minimum amount of RAM to use. Defaults to 3.75 (GB)
disks: Vec<Disk>
Disks to attach.
zones: Vec<String>
List of Google Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen.
boot_disk_size_gb: i32
The size of the boot disk. Defaults to 10 (GB).
no_address: bool
Whether to assign an external IP to the instance. This is an experimental
feature that may go away. Defaults to false.
Corresponds to --no_address
flag for [gcloud compute instances create]
(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).
In order to use this, must be true for both create time and run time.
Cannot be true at run time if false at create time. If you need to ssh into
a private IP VM for debugging, you can ssh to a public VM and then ssh into
the private VM’s Internal IP. If noAddress is set, this pipeline run may
only load docker images from Google Container Registry and not Docker Hub.
** Note: To use this option, your project must be in Google Access for
Private IPs Early Access Program.**
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PipelineResources
impl Send for PipelineResources
impl Sync for PipelineResources
impl Unpin for PipelineResources
impl UnwindSafe for PipelineResources
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more