Reference documentation and code samples for the Compute V1 Client class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.
Info for each topology state.
Generated from protobuf message google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ count |
int
The number of accelerator topologies in this state. |
↳ state |
string
The state of the accelerator topology. Check the State enum for the list of possible values. |
getCount
The number of accelerator topologies in this state.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasCount
clearCount
setCount
The number of accelerator topologies in this state.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
The state of the accelerator topology.
Check the State enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasState
clearState
setState
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 |
|