# Google Cloud Backup Dr V1 Client - Class AcceleratorConfig (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class AcceleratorConfig.

A specification of the type and number of accelerator cards attached to the
instance.

Generated from protobuf message `google.cloud.backupdr.v1.AcceleratorConfig`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ accelerator_type` | `string` Optional. Full or partial URL of the accelerator type resource to attach to this instance. |
| `↳ accelerator_count` | `int` Optional. The number of the guest accelerator cards exposed to this instance. |

### getAcceleratorType

Optional. Full or partial URL of the accelerator type resource to attach to
this instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAcceleratorType

### clearAcceleratorType

### setAcceleratorType

Optional. Full or partial URL of the accelerator type resource to attach to
this instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAcceleratorCount

Optional. The number of the guest accelerator cards exposed to this
instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasAcceleratorCount

### clearAcceleratorCount

### setAcceleratorCount

Optional. The number of the guest accelerator cards exposed to this
instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |