Cloud Vision V1 Client - Class AsyncBatchAnnotateFilesRequest (1.6.8)

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

Multiple async file annotation requests are batched into a single service call.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ requests
array< Google\Cloud\Vision\V1\AsyncAnnotateFileRequest >

Required. Individual async file annotation requests for this batch.

↳ 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. Individual async file annotation requests for this batch.

Returns
Type
Description

setRequests

Required. Individual async file annotation requests for this batch.

Parameter
Name
Description
Returns
Type
Description
$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 .

Returns
Type
Description
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 .

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: