Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ClusterInfo.
Generated from protobuf message google.cloud.visionai.v1.ClusterInfo
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ streams_count |
int
The number of active streams in the cluster. |
↳ processes_count |
int
The number of active processes in the cluster. |
getStreamsCount
The number of active streams in the cluster.
| Returns | |
|---|---|
| Type | Description |
int |
|
setStreamsCount
The number of active streams in the cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProcessesCount
The number of active processes in the cluster.
| Returns | |
|---|---|
| Type | Description |
int |
|
setProcessesCount
The number of active processes in the cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|