/v1p2beta1/files:asyncBatchAnnotate
POST
/v1p2beta1/files:asyncBatchAnnotate
files
google.longrunning.Operations
interface. Operation.metadata
contains OperationMetadata
(metadata). Operation.response
contains AsyncBatchAnnotateFilesResponse
(results).Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://vision.googleapis.com//v1p2beta1/files:asyncBatchAnnotate' \
--header 'Content-Type: application/json' \
--data-raw '{
"parent": "string",
"requests": [
{
"features": [
{
"maxResults": 0,
"model": "string",
"type": "TYPE_UNSPECIFIED"
}
],
"imageContext": {
"cropHintsParams": {
"aspectRatios": [
0
]
},
"languageHints": [
"string"
],
"latLongRect": {
"maxLatLng": {
"latitude": 0,
"longitude": 0
},
"minLatLng": {
"latitude": 0,
"longitude": 0
}
},
"productSearchParams": {
"boundingPoly": {
"normalizedVertices": [
{
"x": 0,
"y": 0
}
],
"vertices": [
{
"x": 0,
"y": 0
}
]
},
"filter": "string",
"productCategories": [
"string"
],
"productSet": "string"
},
"textDetectionParams": {
"advancedOcrOptions": [
"string"
],
"enableTextDetectionConfidenceScore": true
},
"webDetectionParams": {
"includeGeoResults": true
}
},
"inputConfig": {
"content": "string",
"gcsSource": {
"uri": "string"
},
"mimeType": "string"
},
"outputConfig": {
"batchSize": 0,
"gcsDestination": {
"uri": "string"
}
}
}
]
}'
Response Response Example
{
"done": true,
"error": {
"code": 0,
"details": [
{
"property1": null,
"property2": null
}
],
"message": "string"
},
"metadata": {
"property1": null,
"property2": null
},
"name": "string",
"response": {
"property1": null,
"property2": null
}
}
Request
Body Params application/json
Responses
Modified at 2023-08-15 09:10:12