Struct google_appengine1::api::Resources
source · pub struct Resources {
pub cpu: Option<f64>,
pub disk_gb: Option<f64>,
pub kms_key_reference: Option<String>,
pub memory_gb: Option<f64>,
pub volumes: Option<Vec<Volume>>,
}
Expand description
Machine resources for a version.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cpu: Option<f64>
Number of CPU cores needed.
disk_gb: Option<f64>
Disk size (GB) needed.
kms_key_reference: Option<String>
The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
memory_gb: Option<f64>
Memory (GB) needed.
volumes: Option<Vec<Volume>>
User specified volumes.
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