Struct google_composer1::api::DagProcessorResource
source · pub struct DagProcessorResource {
pub count: Option<i32>,
pub cpu: Option<f32>,
pub memory_gb: Option<f32>,
pub storage_gb: Option<f32>,
}
Expand description
Configuration for resources used by Airflow DAG processors.
This type is not used in any activity, and only used as part of another schema.
Fields§
§count: Option<i32>
Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.
cpu: Option<f32>
Optional. CPU request and limit for a single Airflow DAG processor replica.
memory_gb: Option<f32>
Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.
storage_gb: Option<f32>
Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.
Trait Implementations§
source§impl Clone for DagProcessorResource
impl Clone for DagProcessorResource
source§fn clone(&self) -> DagProcessorResource
fn clone(&self) -> DagProcessorResource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DagProcessorResource
impl Debug for DagProcessorResource
source§impl Default for DagProcessorResource
impl Default for DagProcessorResource
source§fn default() -> DagProcessorResource
fn default() -> DagProcessorResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DagProcessorResource
impl<'de> Deserialize<'de> for DagProcessorResource
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
source§impl Serialize for DagProcessorResource
impl Serialize for DagProcessorResource
impl Part for DagProcessorResource
Auto Trait Implementations§
impl RefUnwindSafe for DagProcessorResource
impl Send for DagProcessorResource
impl Sync for DagProcessorResource
impl Unpin for DagProcessorResource
impl UnwindSafe for DagProcessorResource
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