Compute V1 Client - Class Accelerators (1.5.0)

Reference documentation and code samples for the Compute V1 Client class Accelerators.

Generated from protobuf message google.cloud.compute.v1.Accelerators

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ guest_accelerator_count
int

Number of accelerator cards exposed to the guest.

↳ guest_accelerator_type
string

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

getGuestAcceleratorCount

Number of accelerator cards exposed to the guest.

Generated from protobuf field optional int32 guest_accelerator_count = 479079316;

Returns
Type
Description
int

hasGuestAcceleratorCount

clearGuestAcceleratorCount

setGuestAcceleratorCount

Number of accelerator cards exposed to the guest.

Generated from protobuf field optional int32 guest_accelerator_count = 479079316;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getGuestAcceleratorType

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

Generated from protobuf field optional string guest_accelerator_type = 293064725;

Returns
Type
Description
string

hasGuestAcceleratorType

clearGuestAcceleratorType

setGuestAcceleratorType

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

Generated from protobuf field optional string guest_accelerator_type = 293064725;

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: