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

The number of the accelerator cards of this type exposed to this instance.

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]

Returns the "default value" for a type. Read more

impl Clone for AcceleratorConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AcceleratorConfig
[src]

Formats the value using the given formatter. Read more

impl Part for AcceleratorConfig
[src]

Auto Trait Implementations