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
def accelerator_count() -> ::Integer
- (::Integer) — The number of the accelerator cards of this type exposed to this instance.
#accelerator_count=
def accelerator_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
def accelerator_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/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_type_uri=
def accelerator_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/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
.
-
(::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
.