Google Cloud Vision Ai V1 Client - Class StructedOutputAnnotation (0.1.0)

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 \ AppPlatformCloudFunctionResponse

Methods

__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