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

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class GetAnnotationRequest.

Request message for GetAnnotation API.

Generated from protobuf message google.cloud.visionai.v1.GetAnnotationRequest

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the annotation to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

getName

Required. The name of the annotation to retrieve.

Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

Returns
Type Description
string

setName

Required. The name of the annotation to retrieve.

Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

Parameter
Name Description
var string
Returns
Type Description
$this