Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class BatchOperationStatus.
The batch operation status.
Generated from protobuf message google.cloud.visionai.v1.BatchOperationStatus
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ success_count |
int
The count of assets (together with their annotations if any) successfully ingested. |
↳ failure_count |
int
The count of assets failed to ingested; it might be due to the annotation ingestion error. |
getSuccessCount
The count of assets (together with their annotations if any) successfully ingested.
| Returns | |
|---|---|
| Type | Description |
int |
|
setSuccessCount
The count of assets (together with their annotations if any) successfully ingested.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFailureCount
The count of assets failed to ingested; it might be due to the annotation ingestion error.
| Returns | |
|---|---|
| Type | Description |
int |
|
setFailureCount
The count of assets failed to ingested; it might be due to the annotation ingestion error.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|