Cloud Vision V1 Client - Class AsyncAnnotateFileRequest (1.10.1)

Reference documentation and code samples for the Cloud Vision V1 Client class AsyncAnnotateFileRequest.

An offline file annotation request.

Generated from protobuf message google.cloud.vision.v1.AsyncAnnotateFileRequest

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ input_config InputConfig

Required. Information about the input file.

↳ features array<Feature>

Required. Requested features.

↳ image_context ImageContext

Additional context that may accompany the image(s) in the file.

↳ output_config OutputConfig

Required. The desired output location and metadata (e.g. format).

getInputConfig

Required. Information about the input file.

Returns
Type Description
InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. Information about the input file.

Parameter
Name Description
var InputConfig
Returns
Type Description
$this

getFeatures

Required. Requested features.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFeatures

Required. Requested features.

Parameter
Name Description
var array<Feature>
Returns
Type Description
$this

getImageContext

Additional context that may accompany the image(s) in the file.

Returns
Type Description
ImageContext|null

hasImageContext

clearImageContext

setImageContext

Additional context that may accompany the image(s) in the file.

Parameter
Name Description
var ImageContext
Returns
Type Description
$this

getOutputConfig

Required. The desired output location and metadata (e.g. format).

Returns
Type Description
OutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and metadata (e.g. format).

Parameter
Name Description
var OutputConfig
Returns
Type Description
$this