Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Annotation.
An annotation is a resource in asset. It represents a key-value mapping of content in asset.
Generated from protobuf message google.cloud.visionai.v1.Annotation
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Resource name of the annotation. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
↳ user_specified_annotation
getName
Resource name of the annotation.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
string
setName
Resource name of the annotation.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
var
string
$this
getUserSpecifiedAnnotation
User provided annotation.
hasUserSpecifiedAnnotation
clearUserSpecifiedAnnotation
setUserSpecifiedAnnotation
User provided annotation.
$this

