Reference documentation and code samples for the Compute V1 Client class AcceleratorTopologiesInfoAcceleratorTopologyInfo.
Info for a slice of a given topology.
Generated from protobuf message google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ accelerator_topology |
string
The accelerator topology. |
↳ info_per_topology_states |
array<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState>
Info for each topology state. |
getAcceleratorTopology
The accelerator topology.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasAcceleratorTopology
clearAcceleratorTopology
setAcceleratorTopology
The accelerator topology.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInfoPerTopologyStates
Info for each topology state.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInfoPerTopologyStates
Info for each topology state.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|