Struct google_dataproc1::AcceleratorConfig [−][src]
pub struct AcceleratorConfig { pub accelerator_count: Option<i32>, pub accelerator_type_uri: Option<String>, }
Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.
This type is not used in any activity, and only used as part of another schema.
Fields
accelerator_count: Option<i32>
The number of the accelerator cards of this type exposed to this instance.
accelerator_type_uri: Option<String>
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.Examples: https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.
Trait Implementations
impl Default for AcceleratorConfig
[src]
impl Default for AcceleratorConfig
fn default() -> AcceleratorConfig
[src]
fn default() -> AcceleratorConfig
Returns the "default value" for a type. Read more
impl Clone for AcceleratorConfig
[src]
impl Clone for AcceleratorConfig
fn clone(&self) -> AcceleratorConfig
[src]
fn clone(&self) -> AcceleratorConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AcceleratorConfig
[src]
impl Debug for AcceleratorConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for AcceleratorConfig
[src]
impl Part for AcceleratorConfig
Auto Trait Implementations
impl Send for AcceleratorConfig
impl Send for AcceleratorConfig
impl Sync for AcceleratorConfig
impl Sync for AcceleratorConfig