Reference documentation and code samples for the Cloud Vision V1 Client class BatchAnnotateFilesRequest.
A list of requests to annotate files using the BatchAnnotateFiles API.
Generated from protobuf message google.cloud.vision.v1.BatchAnnotateFilesRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ requests
array< Google\Cloud\Vision\V1\AnnotateFileRequest
>
Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
↳ parent
string
Optional. Target project and location to make a call. Format: projects/{project-id}/locations/{location-id}
. If no parent is specified, a region will be chosen automatically. Supported location-ids: us
: USA country only, asia
: East asia areas, like Japan, Taiwan, eu
: The European Union. Example: projects/project-A/locations/eu
.
getRequests
Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
setRequests
Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
$this
getParent
Optional. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}
.
If no parent is specified, a region will be chosen automatically.
Supported location-ids: us
: USA country only, asia
: East asia areas, like Japan, Taiwan, eu
: The European Union.
Example: projects/project-A/locations/eu
.
string
setParent
Optional. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}
.
If no parent is specified, a region will be chosen automatically.
Supported location-ids: us
: USA country only, asia
: East asia areas, like Japan, Taiwan, eu
: The European Union.
Example: projects/project-A/locations/eu
.
var
string
$this

