Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::AcceleratorConfig (v1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::AcceleratorConfig.
Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerator_count
defaccelerator_count()->::Integer- (::Integer) — The number of the accelerator cards of this type exposed to this instance.
#accelerator_count=
defaccelerator_count=(value)->::Integer- value (::Integer) — The number of the accelerator cards of this type exposed to this instance.
- (::Integer) — The number of the accelerator cards of this type exposed to this instance.
#accelerator_type_uri
defaccelerator_type_uri()->::String-
(::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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4nvidia-tesla-t4
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-t4.
#accelerator_type_uri=
defaccelerator_type_uri=(value)->::String-
value (::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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4nvidia-tesla-t4
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-t4.
-
(::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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4nvidia-tesla-t4
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-t4.