Class: Google::Cloud::Dataproc::V1beta2::AcceleratorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1beta2/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

Instance Attribute Details

#accelerator_count::Integer

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

Returns:

  • (::Integer)

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



469
470
471
472
# File 'proto_docs/google/cloud/dataproc/v1beta2/clusters.rb', line 469

class AcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#accelerator_type_uri::String

Returns 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.

Returns:

  • (::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.



469
470
471
472
# File 'proto_docs/google/cloud/dataproc/v1beta2/clusters.rb', line 469

class AcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end