Compute V1 Client - Class InstancesSetMachineResourcesRequest (1.18.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ guest_accelerators array<Google\Cloud\Compute\V1\AcceleratorConfig>

A list of the type and count of accelerator cards attached to the instance.

getGuestAccelerators

A list of the type and count of accelerator cards attached to the instance.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGuestAccelerators

A list of the type and count of accelerator cards attached to the instance.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\AcceleratorConfig>
Returns
Type Description
$this