[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::AcceleratorConfig

pub struct AcceleratorConfig {
    pub accelerator_type_uri: String,
    pub accelerator_count: i32,
}

Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).

Fields

accelerator_type_uri: 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-k80

Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.

accelerator_count: i32

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

Trait Implementations

impl Clone for AcceleratorConfig[src]

impl Debug for AcceleratorConfig[src]

impl Default for AcceleratorConfig[src]

impl Message for AcceleratorConfig[src]

impl PartialEq<AcceleratorConfig> for AcceleratorConfig[src]

impl StructuralPartialEq for AcceleratorConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]