Compute V1 Client - Class InstanceGroupManagerStatusAcceleratorTopology (2.8.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. [Output Only] Topology in the format of: "16x16", "4x4x4", etc. The value is the same as configured in the WorkloadPolicy.

↳ state string

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

↳ state_details InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

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

getAcceleratorTopology

Output only. [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. [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. [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. [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. [Output Only] The result of the latest accelerator topology state check.

Returns
Type Description
InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails|null

hasStateDetails

clearStateDetails

setStateDetails

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

Parameter
Name Description
var InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails
Returns
Type Description
$this