Struct google_lifesciences2_beta::api::Resources
source · pub struct Resources {
pub regions: Option<Vec<String>>,
pub virtual_machine: Option<VirtualMachine>,
pub zones: Option<Vec<String>>,
}
Expand description
The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.
This type is not used in any activity, and only used as part of another schema.
Fields§
§regions: Option<Vec<String>>
The list of regions allowed for VM allocation. If set, the zones
field must not be set.
virtual_machine: Option<VirtualMachine>
The virtual machine specification.
zones: Option<Vec<String>>
The list of zones allowed for VM allocation. If set, the regions
field must not be set.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Resources
impl<'de> Deserialize<'de> for Resources
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Resources
Auto Trait Implementations§
impl RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnwindSafe for Resources
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
Mutably borrows from an owned value. Read more