Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class StructedOutputAnnotation.
A general annotation message that uses struct format to represent different concrete annotation protobufs.
Generated from protobuf message google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Namespace
Google \ Cloud \ VisionAI \ V1 \ AppPlatformCloudFunctionResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation |
Google\Protobuf\Struct
The struct format of the actual annotation. |
getAnnotation
The struct format of the actual annotation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasAnnotation
clearAnnotation
setAnnotation
The struct format of the actual annotation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|