Class: Google::Cloud::Dataproc::V1::AcceleratorConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::AcceleratorConfig
- Defined in:
- lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb
Overview
Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).
Instance Attribute Summary collapse
-
#accelerator_count ⇒ Integer
The number of the accelerator cards of this type exposed to this instance.
-
#accelerator_type_uri ⇒ String
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance.
Instance Attribute Details
#accelerator_count ⇒ Integer
Returns The number of the accelerator cards of this type exposed to this instance.
267 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 267 class AcceleratorConfig; end |
#accelerator_type_uri ⇒ String
Returns Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Google 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+
267 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 267 class AcceleratorConfig; end |