{ "uuid": "44de19a1-f1d0-4aba-b658-3da0f42029c5", "lastMigration": 19, "name": "Cloud Vision API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "0733e54d-b5d6-4ee1-a1e0-e602834114d0", "documentation": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", "method": "post", "endpoint": "v1p2beta1/files:annotate", "responses": [ { "uuid": "ec8fe46b-68d7-49a4-b3cb-c57c11c759df", "body": "{\n \"responses\": [\n {\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"inputConfig\": {\n \"content\": \"\",\n \"gcsSource\": {\n \"uri\": \"\"\n },\n \"mimeType\": \"\"\n },\n \"responses\": [\n {\n \"context\": {\n \"pageNumber\": {{faker 'random.number'}},\n \"uri\": \"\"\n },\n \"cropHintsAnnotation\": {\n \"cropHints\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"importanceFraction\": {{faker 'random.float'}}\n }\n ]\n },\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"faceAnnotations\": [\n {\n \"angerLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"blurredLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"detectionConfidence\": {{faker 'random.float'}},\n \"fdBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"headwearLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"joyLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"landmarkingConfidence\": {{faker 'random.float'}},\n \"landmarks\": [\n {\n \"position\": {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}},\n \"z\": {{faker 'random.float'}}\n },\n \"type\": \"{{oneOf (array 'UNKNOWN_LANDMARK' 'LEFT_EYE' 'RIGHT_EYE' 'LEFT_OF_LEFT_EYEBROW' 'RIGHT_OF_LEFT_EYEBROW' 'LEFT_OF_RIGHT_EYEBROW' 'RIGHT_OF_RIGHT_EYEBROW' 'MIDPOINT_BETWEEN_EYES' 'NOSE_TIP' 'UPPER_LIP' 'LOWER_LIP' 'MOUTH_LEFT' 'MOUTH_RIGHT' 'MOUTH_CENTER' 'NOSE_BOTTOM_RIGHT' 'NOSE_BOTTOM_LEFT' 'NOSE_BOTTOM_CENTER' 'LEFT_EYE_TOP_BOUNDARY' 'LEFT_EYE_RIGHT_CORNER' 'LEFT_EYE_BOTTOM_BOUNDARY' 'LEFT_EYE_LEFT_CORNER' 'RIGHT_EYE_TOP_BOUNDARY' 'RIGHT_EYE_RIGHT_CORNER' 'RIGHT_EYE_BOTTOM_BOUNDARY' 'RIGHT_EYE_LEFT_CORNER' 'LEFT_EYEBROW_UPPER_MIDPOINT' 'RIGHT_EYEBROW_UPPER_MIDPOINT' 'LEFT_EAR_TRAGION' 'RIGHT_EAR_TRAGION' 'LEFT_EYE_PUPIL' 'RIGHT_EYE_PUPIL' 'FOREHEAD_GLABELLA' 'CHIN_GNATHION' 'CHIN_LEFT_GONION' 'CHIN_RIGHT_GONION' 'LEFT_CHEEK_CENTER' 'RIGHT_CHEEK_CENTER')}}\"\n }\n ],\n \"panAngle\": {{faker 'random.float'}},\n \"rollAngle\": {{faker 'random.float'}},\n \"sorrowLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"surpriseLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"tiltAngle\": {{faker 'random.float'}},\n \"underExposedLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n }\n ],\n \"fullTextAnnotation\": {\n \"pages\": [\n {\n \"blocks\": [\n {\n \"blockType\": \"{{oneOf (array 'UNKNOWN' 'TEXT' 'TABLE' 'PICTURE' 'RULER' 'BARCODE')}}\",\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"paragraphs\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"words\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"symbols\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"text\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n }\n }\n ],\n \"confidence\": {{faker 'random.float'}},\n \"height\": {{faker 'random.number'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"width\": {{faker 'random.number'}}\n }\n ],\n \"text\": \"\"\n },\n \"imagePropertiesAnnotation\": {\n \"dominantColors\": {\n \"colors\": [\n {\n \"color\": {\n \"alpha\": {{faker 'random.float'}},\n \"blue\": {{faker 'random.float'}},\n \"green\": {{faker 'random.float'}},\n \"red\": {{faker 'random.float'}}\n },\n \"pixelFraction\": {{faker 'random.float'}},\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n },\n \"labelAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"landmarkAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"localizedObjectAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"logoAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"productSearchResults\": {\n \"indexTime\": \"\",\n \"productGroupedResults\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"objectAnnotations\": [\n {\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n },\n \"safeSearchAnnotation\": {\n \"adult\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"medical\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"racy\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"spoof\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"violence\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n },\n \"textAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"webDetection\": {\n \"bestGuessLabels\": [\n {\n \"label\": \"\",\n \"languageCode\": \"\"\n }\n ],\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pagesWithMatchingImages\": [\n {\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pageTitle\": \"\",\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"visuallySimilarImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"webEntities\": [\n {\n \"description\": \"\",\n \"entityId\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n }\n ],\n \"totalPages\": {{faker 'random.number'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5880c998-367e-4dad-82d8-0e1ef5798108", "documentation": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", "method": "post", "endpoint": "v1p2beta1/files:asyncBatchAnnotate", "responses": [ { "uuid": "aa2bdec9-eb7b-482e-90d1-c4e01f47d5a4", "body": "{\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "61f40430-c91b-4d48-80f7-8092d785763a", "documentation": "Run image detection and annotation for a batch of images.", "method": "post", "endpoint": "v1p2beta1/images:annotate", "responses": [ { "uuid": "4d3db274-9a16-4883-8e17-9655f4715e60", "body": "{\n \"responses\": [\n {\n \"context\": {\n \"pageNumber\": {{faker 'random.number'}},\n \"uri\": \"\"\n },\n \"cropHintsAnnotation\": {\n \"cropHints\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"importanceFraction\": {{faker 'random.float'}}\n }\n ]\n },\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"faceAnnotations\": [\n {\n \"angerLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"blurredLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"detectionConfidence\": {{faker 'random.float'}},\n \"fdBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"headwearLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"joyLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"landmarkingConfidence\": {{faker 'random.float'}},\n \"landmarks\": [\n {\n \"position\": {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}},\n \"z\": {{faker 'random.float'}}\n },\n \"type\": \"{{oneOf (array 'UNKNOWN_LANDMARK' 'LEFT_EYE' 'RIGHT_EYE' 'LEFT_OF_LEFT_EYEBROW' 'RIGHT_OF_LEFT_EYEBROW' 'LEFT_OF_RIGHT_EYEBROW' 'RIGHT_OF_RIGHT_EYEBROW' 'MIDPOINT_BETWEEN_EYES' 'NOSE_TIP' 'UPPER_LIP' 'LOWER_LIP' 'MOUTH_LEFT' 'MOUTH_RIGHT' 'MOUTH_CENTER' 'NOSE_BOTTOM_RIGHT' 'NOSE_BOTTOM_LEFT' 'NOSE_BOTTOM_CENTER' 'LEFT_EYE_TOP_BOUNDARY' 'LEFT_EYE_RIGHT_CORNER' 'LEFT_EYE_BOTTOM_BOUNDARY' 'LEFT_EYE_LEFT_CORNER' 'RIGHT_EYE_TOP_BOUNDARY' 'RIGHT_EYE_RIGHT_CORNER' 'RIGHT_EYE_BOTTOM_BOUNDARY' 'RIGHT_EYE_LEFT_CORNER' 'LEFT_EYEBROW_UPPER_MIDPOINT' 'RIGHT_EYEBROW_UPPER_MIDPOINT' 'LEFT_EAR_TRAGION' 'RIGHT_EAR_TRAGION' 'LEFT_EYE_PUPIL' 'RIGHT_EYE_PUPIL' 'FOREHEAD_GLABELLA' 'CHIN_GNATHION' 'CHIN_LEFT_GONION' 'CHIN_RIGHT_GONION' 'LEFT_CHEEK_CENTER' 'RIGHT_CHEEK_CENTER')}}\"\n }\n ],\n \"panAngle\": {{faker 'random.float'}},\n \"rollAngle\": {{faker 'random.float'}},\n \"sorrowLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"surpriseLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"tiltAngle\": {{faker 'random.float'}},\n \"underExposedLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n }\n ],\n \"fullTextAnnotation\": {\n \"pages\": [\n {\n \"blocks\": [\n {\n \"blockType\": \"{{oneOf (array 'UNKNOWN' 'TEXT' 'TABLE' 'PICTURE' 'RULER' 'BARCODE')}}\",\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"paragraphs\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"words\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"symbols\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"text\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n }\n }\n ],\n \"confidence\": {{faker 'random.float'}},\n \"height\": {{faker 'random.number'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"width\": {{faker 'random.number'}}\n }\n ],\n \"text\": \"\"\n },\n \"imagePropertiesAnnotation\": {\n \"dominantColors\": {\n \"colors\": [\n {\n \"color\": {\n \"alpha\": {{faker 'random.float'}},\n \"blue\": {{faker 'random.float'}},\n \"green\": {{faker 'random.float'}},\n \"red\": {{faker 'random.float'}}\n },\n \"pixelFraction\": {{faker 'random.float'}},\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n },\n \"labelAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"landmarkAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"localizedObjectAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"logoAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"productSearchResults\": {\n \"indexTime\": \"\",\n \"productGroupedResults\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"objectAnnotations\": [\n {\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n },\n \"safeSearchAnnotation\": {\n \"adult\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"medical\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"racy\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"spoof\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"violence\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n },\n \"textAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"webDetection\": {\n \"bestGuessLabels\": [\n {\n \"label\": \"\",\n \"languageCode\": \"\"\n }\n ],\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pagesWithMatchingImages\": [\n {\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pageTitle\": \"\",\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"visuallySimilarImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"webEntities\": [\n {\n \"description\": \"\",\n \"entityId\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f73adae4-c0a4-47cc-8b37-fd1cf3d617ae", "documentation": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", "method": "post", "endpoint": "v1p2beta1/images:asyncBatchAnnotate", "responses": [ { "uuid": "57b62d0d-1142-4c14-acf8-6c8170a9dcf4", "body": "{\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "caf0ce44-bb1c-4374-825d-df26161e30d3", "documentation": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", "method": "post", "endpoint": "v1p2beta1/:parent/files:annotate", "responses": [ { "uuid": "8d7c7f81-c1d1-4f13-8f2d-1b8b470f16de", "body": "{\n \"responses\": [\n {\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"inputConfig\": {\n \"content\": \"\",\n \"gcsSource\": {\n \"uri\": \"\"\n },\n \"mimeType\": \"\"\n },\n \"responses\": [\n {\n \"context\": {\n \"pageNumber\": {{faker 'random.number'}},\n \"uri\": \"\"\n },\n \"cropHintsAnnotation\": {\n \"cropHints\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"importanceFraction\": {{faker 'random.float'}}\n }\n ]\n },\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"faceAnnotations\": [\n {\n \"angerLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"blurredLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"detectionConfidence\": {{faker 'random.float'}},\n \"fdBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"headwearLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"joyLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"landmarkingConfidence\": {{faker 'random.float'}},\n \"landmarks\": [\n {\n \"position\": {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}},\n \"z\": {{faker 'random.float'}}\n },\n \"type\": \"{{oneOf (array 'UNKNOWN_LANDMARK' 'LEFT_EYE' 'RIGHT_EYE' 'LEFT_OF_LEFT_EYEBROW' 'RIGHT_OF_LEFT_EYEBROW' 'LEFT_OF_RIGHT_EYEBROW' 'RIGHT_OF_RIGHT_EYEBROW' 'MIDPOINT_BETWEEN_EYES' 'NOSE_TIP' 'UPPER_LIP' 'LOWER_LIP' 'MOUTH_LEFT' 'MOUTH_RIGHT' 'MOUTH_CENTER' 'NOSE_BOTTOM_RIGHT' 'NOSE_BOTTOM_LEFT' 'NOSE_BOTTOM_CENTER' 'LEFT_EYE_TOP_BOUNDARY' 'LEFT_EYE_RIGHT_CORNER' 'LEFT_EYE_BOTTOM_BOUNDARY' 'LEFT_EYE_LEFT_CORNER' 'RIGHT_EYE_TOP_BOUNDARY' 'RIGHT_EYE_RIGHT_CORNER' 'RIGHT_EYE_BOTTOM_BOUNDARY' 'RIGHT_EYE_LEFT_CORNER' 'LEFT_EYEBROW_UPPER_MIDPOINT' 'RIGHT_EYEBROW_UPPER_MIDPOINT' 'LEFT_EAR_TRAGION' 'RIGHT_EAR_TRAGION' 'LEFT_EYE_PUPIL' 'RIGHT_EYE_PUPIL' 'FOREHEAD_GLABELLA' 'CHIN_GNATHION' 'CHIN_LEFT_GONION' 'CHIN_RIGHT_GONION' 'LEFT_CHEEK_CENTER' 'RIGHT_CHEEK_CENTER')}}\"\n }\n ],\n \"panAngle\": {{faker 'random.float'}},\n \"rollAngle\": {{faker 'random.float'}},\n \"sorrowLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"surpriseLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"tiltAngle\": {{faker 'random.float'}},\n \"underExposedLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n }\n ],\n \"fullTextAnnotation\": {\n \"pages\": [\n {\n \"blocks\": [\n {\n \"blockType\": \"{{oneOf (array 'UNKNOWN' 'TEXT' 'TABLE' 'PICTURE' 'RULER' 'BARCODE')}}\",\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"paragraphs\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"words\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"symbols\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"text\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n }\n }\n ],\n \"confidence\": {{faker 'random.float'}},\n \"height\": {{faker 'random.number'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"width\": {{faker 'random.number'}}\n }\n ],\n \"text\": \"\"\n },\n \"imagePropertiesAnnotation\": {\n \"dominantColors\": {\n \"colors\": [\n {\n \"color\": {\n \"alpha\": {{faker 'random.float'}},\n \"blue\": {{faker 'random.float'}},\n \"green\": {{faker 'random.float'}},\n \"red\": {{faker 'random.float'}}\n },\n \"pixelFraction\": {{faker 'random.float'}},\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n },\n \"labelAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"landmarkAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"localizedObjectAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"logoAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"productSearchResults\": {\n \"indexTime\": \"\",\n \"productGroupedResults\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"objectAnnotations\": [\n {\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n },\n \"safeSearchAnnotation\": {\n \"adult\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"medical\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"racy\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"spoof\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"violence\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n },\n \"textAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"webDetection\": {\n \"bestGuessLabels\": [\n {\n \"label\": \"\",\n \"languageCode\": \"\"\n }\n ],\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pagesWithMatchingImages\": [\n {\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pageTitle\": \"\",\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"visuallySimilarImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"webEntities\": [\n {\n \"description\": \"\",\n \"entityId\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n }\n ],\n \"totalPages\": {{faker 'random.number'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "48345556-035d-4301-b226-6ea2d19d3edc", "documentation": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", "method": "post", "endpoint": "v1p2beta1/:parent/files:asyncBatchAnnotate", "responses": [ { "uuid": "226bf232-9e3f-4360-bca1-023a282bc8a3", "body": "{\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9d3445af-5d5a-4287-9c37-e749a8dbe254", "documentation": "Run image detection and annotation for a batch of images.", "method": "post", "endpoint": "v1p2beta1/:parent/images:annotate", "responses": [ { "uuid": "6eab20e4-4f7f-4f59-8442-749a9f691f55", "body": "{\n \"responses\": [\n {\n \"context\": {\n \"pageNumber\": {{faker 'random.number'}},\n \"uri\": \"\"\n },\n \"cropHintsAnnotation\": {\n \"cropHints\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"importanceFraction\": {{faker 'random.float'}}\n }\n ]\n },\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"faceAnnotations\": [\n {\n \"angerLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"blurredLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"detectionConfidence\": {{faker 'random.float'}},\n \"fdBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"headwearLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"joyLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"landmarkingConfidence\": {{faker 'random.float'}},\n \"landmarks\": [\n {\n \"position\": {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}},\n \"z\": {{faker 'random.float'}}\n },\n \"type\": \"{{oneOf (array 'UNKNOWN_LANDMARK' 'LEFT_EYE' 'RIGHT_EYE' 'LEFT_OF_LEFT_EYEBROW' 'RIGHT_OF_LEFT_EYEBROW' 'LEFT_OF_RIGHT_EYEBROW' 'RIGHT_OF_RIGHT_EYEBROW' 'MIDPOINT_BETWEEN_EYES' 'NOSE_TIP' 'UPPER_LIP' 'LOWER_LIP' 'MOUTH_LEFT' 'MOUTH_RIGHT' 'MOUTH_CENTER' 'NOSE_BOTTOM_RIGHT' 'NOSE_BOTTOM_LEFT' 'NOSE_BOTTOM_CENTER' 'LEFT_EYE_TOP_BOUNDARY' 'LEFT_EYE_RIGHT_CORNER' 'LEFT_EYE_BOTTOM_BOUNDARY' 'LEFT_EYE_LEFT_CORNER' 'RIGHT_EYE_TOP_BOUNDARY' 'RIGHT_EYE_RIGHT_CORNER' 'RIGHT_EYE_BOTTOM_BOUNDARY' 'RIGHT_EYE_LEFT_CORNER' 'LEFT_EYEBROW_UPPER_MIDPOINT' 'RIGHT_EYEBROW_UPPER_MIDPOINT' 'LEFT_EAR_TRAGION' 'RIGHT_EAR_TRAGION' 'LEFT_EYE_PUPIL' 'RIGHT_EYE_PUPIL' 'FOREHEAD_GLABELLA' 'CHIN_GNATHION' 'CHIN_LEFT_GONION' 'CHIN_RIGHT_GONION' 'LEFT_CHEEK_CENTER' 'RIGHT_CHEEK_CENTER')}}\"\n }\n ],\n \"panAngle\": {{faker 'random.float'}},\n \"rollAngle\": {{faker 'random.float'}},\n \"sorrowLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"surpriseLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"tiltAngle\": {{faker 'random.float'}},\n \"underExposedLikelihood\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n }\n ],\n \"fullTextAnnotation\": {\n \"pages\": [\n {\n \"blocks\": [\n {\n \"blockType\": \"{{oneOf (array 'UNKNOWN' 'TEXT' 'TABLE' 'PICTURE' 'RULER' 'BARCODE')}}\",\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"paragraphs\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"words\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"symbols\": [\n {\n \"boundingBox\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"text\": \"\"\n }\n ]\n }\n ]\n }\n ],\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n }\n }\n ],\n \"confidence\": {{faker 'random.float'}},\n \"height\": {{faker 'random.number'}},\n \"property\": {\n \"detectedBreak\": {\n \"isPrefix\": {{faker 'random.boolean'}},\n \"type\": \"{{oneOf (array 'UNKNOWN' 'SPACE' 'SURE_SPACE' 'EOL_SURE_SPACE' 'HYPHEN' 'LINE_BREAK')}}\"\n },\n \"detectedLanguages\": [\n {\n \"confidence\": {{faker 'random.float'}},\n \"languageCode\": \"\"\n }\n ]\n },\n \"width\": {{faker 'random.number'}}\n }\n ],\n \"text\": \"\"\n },\n \"imagePropertiesAnnotation\": {\n \"dominantColors\": {\n \"colors\": [\n {\n \"color\": {\n \"alpha\": {{faker 'random.float'}},\n \"blue\": {{faker 'random.float'}},\n \"green\": {{faker 'random.float'}},\n \"red\": {{faker 'random.float'}}\n },\n \"pixelFraction\": {{faker 'random.float'}},\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n },\n \"labelAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"landmarkAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"localizedObjectAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"logoAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"productSearchResults\": {\n \"indexTime\": \"\",\n \"productGroupedResults\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"objectAnnotations\": [\n {\n \"languageCode\": \"\",\n \"mid\": \"\",\n \"name\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n ],\n \"results\": [\n {\n \"image\": \"\",\n \"product\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"productCategory\": \"\",\n \"productLabels\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n },\n \"score\": {{faker 'random.float'}}\n }\n ]\n },\n \"safeSearchAnnotation\": {\n \"adult\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"medical\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"racy\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"spoof\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\",\n \"violence\": \"{{oneOf (array 'UNKNOWN' 'VERY_UNLIKELY' 'UNLIKELY' 'POSSIBLE' 'LIKELY' 'VERY_LIKELY')}}\"\n },\n \"textAnnotations\": [\n {\n \"boundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'random.float'}},\n \"y\": {{faker 'random.float'}}\n }\n ],\n \"vertices\": [\n {\n \"x\": {{faker 'random.number'}},\n \"y\": {{faker 'random.number'}}\n }\n ]\n },\n \"confidence\": {{faker 'random.float'}},\n \"description\": \"\",\n \"locale\": \"\",\n \"locations\": [\n {\n \"latLng\": {\n \"latitude\": {{faker 'random.float'}},\n \"longitude\": {{faker 'random.float'}}\n }\n }\n ],\n \"mid\": \"\",\n \"properties\": [\n {\n \"name\": \"\",\n \"uint64Value\": \"\",\n \"value\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"topicality\": {{faker 'random.float'}}\n }\n ],\n \"webDetection\": {\n \"bestGuessLabels\": [\n {\n \"label\": \"\",\n \"languageCode\": \"\"\n }\n ],\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pagesWithMatchingImages\": [\n {\n \"fullMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"pageTitle\": \"\",\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"partialMatchingImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"visuallySimilarImages\": [\n {\n \"score\": {{faker 'random.float'}},\n \"url\": \"\"\n }\n ],\n \"webEntities\": [\n {\n \"description\": \"\",\n \"entityId\": \"\",\n \"score\": {{faker 'random.float'}}\n }\n ]\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "c9944ccd-6392-4411-b711-0ff7f50ee420", "documentation": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", "method": "post", "endpoint": "v1p2beta1/:parent/images:asyncBatchAnnotate", "responses": [ { "uuid": "6a55ccff-724a-4a85-ad79-98c103dc021a", "body": "{\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }