Use wide Cloud Vision API integration

With Ants & Apps platform you can connect Cloud Vision API with more than 30 available apps, 600+ functional formulas to boost your productivity

Reference

  • files

    • 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

      This action 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).

      POSTVisionFilesAsyncBatchAnnotate

      Request body

      • requestsarray

        Required. Individual async file annotation requests for this batch.

      • parentstring

        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`.

    • Service that performs image detection and annotation for a batch of files

      This action 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.

      POSTVisionFilesAnnotate

      Request body

      • requestsarray

        Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.

      • parentstring

        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`.

  • images

    • Run asynchronous image detection and annotation for a list of images

      This action 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.

      POSTVisionImagesAsyncBatchAnnotate

      Request body

      • outputConfigobject

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

      • requestsarray

        Required. Individual image annotation requests for this batch.

      • parentstring

        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`.

    • Run image detection and annotation for a batch of images

      This action run image detection and annotation for a batch of images.

      POSTVisionImagesAnnotate

      Request body

      • parentstring

        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`.

      • requestsarray

        Required. Individual image annotation requests for this batch.

  • locations.operations

    • Get the latest state of a long-running operation

      This action gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      GETVisionLocationsOperationsGet

      Request parameters

      • name*string

        The name of the operation resource.

  • operations

    • List operations that match the specified filter in the request

      This action lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

      GETVisionOperationsList

      Request parameters

      • name*string

        The name of the operation's parent resource.

      • pageSizeinteger

        The standard list page size.

      • filterstring

        The standard list filter.

      • pageTokenstring

        The standard list page token.

    • Get the latest state of a long-running operation

      This action gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      GETVisionOperationsGet

      Request parameters

      • name*string

        The name of the operation resource.

    • Start asynchronous cancellation on a long-running operation

      This action starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

      POSTVisionOperationsCancel

      Request parameters

      • name*string

        The name of the operation resource to be cancelled.

    • Delete a long-running operation

      This action deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      DELETEVisionOperationsDelete

      Request parameters

      • name*string

        The name of the operation resource to be deleted.

  • projects.files

    • 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

      This action 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).

      POSTVisionProjectsFilesAsyncBatchAnnotate

      Request parameters

      • 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`.

      Request body

      • requestsarray

        Required. Individual async file annotation requests for this batch.

      • parentstring

        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`.

    • Service that performs image detection and annotation for a batch of files

      This action 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.

      POSTVisionProjectsFilesAnnotate

      Request parameters

      • 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`.

      Request body

      • requestsarray

        Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.

      • parentstring

        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`.

  • projects.images

    • Run asynchronous image detection and annotation for a list of images

      This action 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.

      POSTVisionProjectsImagesAsyncBatchAnnotate

      Request parameters

      • 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`.

      Request body

      • outputConfigobject

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

      • requestsarray

        Required. Individual image annotation requests for this batch.

      • parentstring

        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`.

    • Run image detection and annotation for a batch of images

      This action run image detection and annotation for a batch of images.

      POSTVisionProjectsImagesAnnotate

      Request parameters

      • 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`.

      Request body

      • parentstring

        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`.

      • requestsarray

        Required. Individual image annotation requests for this batch.

  • projects.operations

    • Get the latest state of a long-running operation

      This action gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      GETVisionProjectsOperationsGet

      Request parameters

      • name*string

        The name of the operation resource.