# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig.

Definition of the types of hardware accelerators that can be used.
Definition of the types of hardware accelerators that can be used.
See [Compute Engine
AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
Examples:

- `nvidia-tesla-k80`
- `nvidia-tesla-p100`
- `nvidia-tesla-v100`
- `nvidia-tesla-p4`
- `nvidia-tesla-t4`
- `nvidia-tesla-a100`

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #core_count

    def core_count() -> ::Integer

**Returns**

- (::Integer) --- Count of cores of this accelerator.

### #core_count=

    def core_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Count of cores of this accelerator.
**Returns**

- (::Integer) --- Count of cores of this accelerator.

### #type

    def type() -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType

**Returns**

- ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig-AcceleratorType)) --- Accelerator model.

### #type=

    def type=(value) -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig-AcceleratorType)) --- Accelerator model.
**Returns**

- ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig-AcceleratorType)) --- Accelerator model.