Struct google_api_proto::google::genomics::v1alpha2::PipelineResources
source · 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§
source§impl Clone for PipelineResources
impl Clone for PipelineResources
source§fn clone(&self) -> PipelineResources
fn clone(&self) -> PipelineResources
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineResources
impl Debug for PipelineResources
source§impl Default for PipelineResources
impl Default for PipelineResources
source§impl Message for PipelineResources
impl Message for PipelineResources
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PipelineResources
impl PartialEq for PipelineResources
source§fn eq(&self, other: &PipelineResources) -> bool
fn eq(&self, other: &PipelineResources) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PipelineResources
Auto Trait Implementations§
impl Freeze for PipelineResources
impl RefUnwindSafe for PipelineResources
impl Send for PipelineResources
impl Sync for PipelineResources
impl Unpin for PipelineResources
impl UnwindSafe for PipelineResources
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request