Compute V1 Client - Class InstanceGroupManagerStatusAcceleratorTopology (2.9.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ accelerator_topology string

Output only. Topology in the format of: "16x16", "4x4x4", etc. The value is the same as configured in the WorkloadPolicy.

↳ state string

Output only. The state of the accelerator topology. Check the State enum for the list of possible values.

↳ state_details InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

Output only. The result of the latest accelerator topology state check.

getAcceleratorTopology

Output only. Topology in the format of: "16x16", "4x4x4", etc.

The value is the same as configured in the WorkloadPolicy.

Returns
Type Description
string

hasAcceleratorTopology

clearAcceleratorTopology

setAcceleratorTopology

Output only. Topology in the format of: "16x16", "4x4x4", etc.

The value is the same as configured in the WorkloadPolicy.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The state of the accelerator topology.

Check the State enum for the list of possible values.

Returns
Type Description
string

hasState

clearState

setState

Output only. The state of the accelerator topology.

Check the State enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getStateDetails

Output only. The result of the latest accelerator topology state check.

Returns
Type Description
InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails|null

hasStateDetails

clearStateDetails

setStateDetails

Output only. The result of the latest accelerator topology state check.

Parameter
Name Description
var InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails
Returns
Type Description
$this