Class: Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAcceleratorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/shared.rb

Overview

A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a NodePool.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_count::Integer

Returns The number of accelerator cards exposed to an instance.

Returns:

  • (::Integer)

    The number of accelerator cards exposed to an instance.



326
327
328
329
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 326

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

#accelerator_type::String

Returns The accelerator type resource namename (see GPUs on Compute Engine).

Returns:

  • (::String)

    The accelerator type resource namename (see GPUs on Compute Engine).



326
327
328
329
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 326

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