Google Cloud Backup Dr V1 Client - Class AcceleratorConfig (0.4.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