Liking cljdoc? Tell your friends :D

happygapi.vision.projects

Cloud Vision API: projects. Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. See: https://cloud.google.com/vision/api/reference/rest/v1/projects

Cloud Vision API: projects.
Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
See: https://cloud.google.com/vision/api/reference/rest/v1/projects
raw docstring

files-annotate$clj

(files-annotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/files/annotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:inputConfig InputConfig, :imageContext ImageContext, :pages [integer], :features [Feature]}]}

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/files/annotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:inputConfig InputConfig,
             :imageContext ImageContext,
             :pages [integer],
             :features [Feature]}]}

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.
sourceraw docstring

files-asyncBatchAnnotate$clj

(files-asyncBatchAnnotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/files/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:imageContext ImageContext, :inputConfig InputConfig, :outputConfig OutputConfig, :features [Feature]}]}

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

https://cloud.google.com/vision/api/reference/rest/v1/projects/files/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:imageContext ImageContext,
             :inputConfig InputConfig,
             :outputConfig OutputConfig,
             :features [Feature]}]}

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).
sourceraw docstring

images-annotate$clj

(images-annotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/images/annotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:imageContext ImageContext, :features [Feature], :image Image}]}

Run image detection and annotation for a batch of images.

https://cloud.google.com/vision/api/reference/rest/v1/projects/images/annotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:imageContext ImageContext,
             :features [Feature],
             :image Image}]}

Run image detection and annotation for a batch of images.
sourceraw docstring

images-asyncBatchAnnotate$clj

(images-asyncBatchAnnotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/images/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:imageContext ImageContext, :features [Feature], :image Image}], :parent string, :outputConfig {:batchSize integer, :gcsDestination GcsDestination}}

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/images/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:imageContext ImageContext,
             :features [Feature],
             :image Image}],
 :parent string,
 :outputConfig {:batchSize integer, :gcsDestination GcsDestination}}

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.
sourceraw docstring

locations-files-annotate$clj

(locations-files-annotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/files/annotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:inputConfig InputConfig, :imageContext ImageContext, :pages [integer], :features [Feature]}]}

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/files/annotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:inputConfig InputConfig,
             :imageContext ImageContext,
             :pages [integer],
             :features [Feature]}]}

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.
sourceraw docstring

locations-files-asyncBatchAnnotate$clj

(locations-files-asyncBatchAnnotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/files/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:imageContext ImageContext, :inputConfig InputConfig, :outputConfig OutputConfig, :features [Feature]}]}

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

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/files/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:imageContext ImageContext,
             :inputConfig InputConfig,
             :outputConfig OutputConfig,
             :features [Feature]}]}

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).
sourceraw docstring

locations-images-annotate$clj

(locations-images-annotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/images/annotate

Required parameters: parent

Optional parameters: none

Body:

{:parent string, :requests [{:imageContext ImageContext, :features [Feature], :image Image}]}

Run image detection and annotation for a batch of images.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/images/annotate

Required parameters: parent

Optional parameters: none

Body: 

{:parent string,
 :requests [{:imageContext ImageContext,
             :features [Feature],
             :image Image}]}

Run image detection and annotation for a batch of images.
sourceraw docstring

locations-images-asyncBatchAnnotate$clj

(locations-images-asyncBatchAnnotate$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/images/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:imageContext ImageContext, :features [Feature], :image Image}], :parent string, :outputConfig {:batchSize integer, :gcsDestination GcsDestination}}

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/images/asyncBatchAnnotate

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:imageContext ImageContext,
             :features [Feature],
             :image Image}],
 :parent string,
 :outputConfig {:batchSize integer, :gcsDestination GcsDestination}}

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.
sourceraw docstring

locations-operations-get$clj

(locations-operations-get$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/operations/get

Required parameters: name

Optional parameters: none

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/operations/get

Required parameters: name

Optional parameters: none

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.
sourceraw docstring

locations-products-create$clj

(locations-products-create$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/create

Required parameters: parent

Optional parameters: productId

Body:

{:description string, :name string, :displayName string, :productLabels [{:value string, :key string}], :productCategory string}

Creates and returns a new product resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is missing or invalid.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/create

Required parameters: parent

Optional parameters: productId

Body: 

{:description string,
 :name string,
 :displayName string,
 :productLabels [{:value string, :key string}],
 :productCategory string}

Creates and returns a new product resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is missing or invalid.
sourceraw docstring

locations-products-delete$clj

(locations-products-delete$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/delete

Required parameters: name

Optional parameters: none

Permanently deletes a product and its reference images. Metadata of the product and all its images will be deleted right away, but search queries against ProductSets containing the product may still work until all related caches are refreshed.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/delete

Required parameters: name

Optional parameters: none

Permanently deletes a product and its reference images. Metadata of the product and all its images will be deleted right away, but search queries against ProductSets containing the product may still work until all related caches are refreshed.
sourceraw docstring

locations-products-get$clj

(locations-products-get$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/get

Required parameters: name

Optional parameters: none

Gets information associated with a Product. Possible errors: * Returns NOT_FOUND if the Product does not exist.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/get

Required parameters: name

Optional parameters: none

Gets information associated with a Product. Possible errors: * Returns NOT_FOUND if the Product does not exist.
sourceraw docstring

locations-products-list$clj

(locations-products-list$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists products in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists products in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
sourceraw docstring

locations-products-patch$clj

(locations-products-patch$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:description string, :name string, :displayName string, :productLabels [{:value string, :key string}], :productCategory string}

Makes changes to a Product resource. Only the display_name, description, and labels fields can be updated right now. If labels are updated, the change will not be reflected in queries until the next index time. Possible errors: * Returns NOT_FOUND if the Product does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but is missing from the request or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is present in update_mask but is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is present in update_mask.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:description string,
 :name string,
 :displayName string,
 :productLabels [{:value string, :key string}],
 :productCategory string}

Makes changes to a Product resource. Only the `display_name`, `description`, and `labels` fields can be updated right now. If labels are updated, the change will not be reflected in queries until the next index time. Possible errors: * Returns NOT_FOUND if the Product does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but is missing from the request or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is present in update_mask but is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is present in update_mask.
sourceraw docstring

locations-products-purge$clj

(locations-products-purge$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/purge

Required parameters: parent

Optional parameters: none

Body:

{:productSetPurgeConfig {:productSetId string}, :deleteOrphanProducts boolean, :force boolean}

Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet. If a Product is a member of the specified ProductSet in addition to other ProductSets, the Product will still be deleted. It is recommended to not delete the specified ProductSet until after this operation has completed. It is also recommended to not add any of the Products involved in the batch delete to a new ProductSet while this operation is running because those Products may still end up deleted. It's not possible to undo the PurgeProducts operation. Therefore, it is recommended to keep the csv files used in ImportProductSets (if that was how you originally built the Product Set) before starting PurgeProducts, in case you need to re-import the data after deletion. If the plan is to purge all of the Products from a ProductSet and then re-use the empty ProductSet to re-import new Products into the empty ProductSet, you must wait until the PurgeProducts operation has finished for that ProductSet. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. Operation.metadata contains BatchOperationMetadata. (progress)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/purge

Required parameters: parent

Optional parameters: none

Body: 

{:productSetPurgeConfig {:productSetId string},
 :deleteOrphanProducts boolean,
 :force boolean}

Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet. If a Product is a member of the specified ProductSet in addition to other ProductSets, the Product will still be deleted. It is recommended to not delete the specified ProductSet until after this operation has completed. It is also recommended to not add any of the Products involved in the batch delete to a new ProductSet while this operation is running because those Products may still end up deleted. It's not possible to undo the PurgeProducts operation. Therefore, it is recommended to keep the csv files used in ImportProductSets (if that was how you originally built the Product Set) before starting PurgeProducts, in case you need to re-import the data after deletion. If the plan is to purge all of the Products from a ProductSet and then re-use the empty ProductSet to re-import new Products into the empty ProductSet, you must wait until the PurgeProducts operation has finished for that ProductSet. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. `Operation.metadata` contains `BatchOperationMetadata`. (progress)
sourceraw docstring

locations-products-referenceImages-create$clj

(locations-products-referenceImages-create$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/create

Required parameters: parent

Optional parameters: referenceImageId

Body:

{:name string, :uri string, :boundingPolys [{:vertices [Vertex], :normalizedVertices [NormalizedVertex]}]}

Creates and returns a new ReferenceImage resource. The bounding_poly field is optional. If bounding_poly is not specified, the system will try to detect regions of interest in the image that are compatible with the product_category on the parent product. If it is specified, detection is ALWAYS skipped. The system converts polygons into non-rotated rectangles. Note that the pipeline will resize the image if the image resolution is too large to process (above 50MP). Possible errors: * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if the product does not exist. * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing compatible with the parent product's product_category is detected. * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/create

Required parameters: parent

Optional parameters: referenceImageId

Body: 

{:name string,
 :uri string,
 :boundingPolys [{:vertices [Vertex],
                  :normalizedVertices [NormalizedVertex]}]}

Creates and returns a new ReferenceImage resource. The `bounding_poly` field is optional. If `bounding_poly` is not specified, the system will try to detect regions of interest in the image that are compatible with the product_category on the parent product. If it is specified, detection is ALWAYS skipped. The system converts polygons into non-rotated rectangles. Note that the pipeline will resize the image if the image resolution is too large to process (above 50MP). Possible errors: * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if the product does not exist. * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing compatible with the parent product's product_category is detected. * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.
sourceraw docstring

locations-products-referenceImages-delete$clj

(locations-products-referenceImages-delete$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/delete

Required parameters: name

Optional parameters: none

Permanently deletes a reference image. The image metadata will be deleted right away, but search queries against ProductSets containing the image may still work until all related caches are refreshed. The actual image files are not deleted from Google Cloud Storage.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/delete

Required parameters: name

Optional parameters: none

Permanently deletes a reference image. The image metadata will be deleted right away, but search queries against ProductSets containing the image may still work until all related caches are refreshed. The actual image files are not deleted from Google Cloud Storage.
sourceraw docstring

locations-products-referenceImages-get$clj

(locations-products-referenceImages-get$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/get

Required parameters: name

Optional parameters: none

Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/get

Required parameters: name

Optional parameters: none

Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist.
sourceraw docstring

locations-products-referenceImages-list$clj

(locations-products-referenceImages-list$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Lists reference images. Possible errors: * Returns NOT_FOUND if the parent product does not exist. * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less than 1.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/products/referenceImages/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Lists reference images. Possible errors: * Returns NOT_FOUND if the parent product does not exist. * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less than 1.
sourceraw docstring

locations-productSets-addProduct$clj

(locations-productSets-addProduct$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/addProduct

Required parameters: name

Optional parameters: none

Body:

{:product string}

Adds a Product to the specified ProductSet. If the Product is already present, no change is made. One Product can be added to at most 100 ProductSets. Possible errors: * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/addProduct

Required parameters: name

Optional parameters: none

Body: 

{:product string}

Adds a Product to the specified ProductSet. If the Product is already present, no change is made. One Product can be added to at most 100 ProductSets. Possible errors: * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.
sourceraw docstring

locations-productSets-create$clj

(locations-productSets-create$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/create

Required parameters: parent

Optional parameters: productSetId

Body:

{:indexError {:code integer, :details [{}], :message string}, :displayName string, :indexTime string, :name string}

Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/create

Required parameters: parent

Optional parameters: productSetId

Body: 

{:indexError {:code integer, :details [{}], :message string},
 :displayName string,
 :indexTime string,
 :name string}

Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters.
sourceraw docstring

locations-productSets-delete$clj

(locations-productSets-delete$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/delete

Required parameters: name

Optional parameters: none

Permanently deletes a ProductSet. Products and ReferenceImages in the ProductSet are not deleted. The actual image files are not deleted from Google Cloud Storage.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/delete

Required parameters: name

Optional parameters: none

Permanently deletes a ProductSet. Products and ReferenceImages in the ProductSet are not deleted. The actual image files are not deleted from Google Cloud Storage.
sourceraw docstring

locations-productSets-get$clj

(locations-productSets-get$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/get

Required parameters: name

Optional parameters: none

Gets information associated with a ProductSet. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/get

Required parameters: name

Optional parameters: none

Gets information associated with a ProductSet. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist.
sourceraw docstring

locations-productSets-import$clj

(locations-productSets-import$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/import

Required parameters: parent

Optional parameters: none

Body:

{:inputConfig {:gcsSource ImportProductSetsGcsSource}}

Asynchronous API that imports a list of reference images to specified product sets based on a list of image information. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. Operation.metadata contains BatchOperationMetadata. (progress) Operation.response contains ImportProductSetsResponse. (results) The input source of this method is a csv file on Google Cloud Storage. For the format of the csv file please see ImportProductSetsGcsSource.csv_file_uri.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/import

Required parameters: parent

Optional parameters: none

Body: 

{:inputConfig {:gcsSource ImportProductSetsGcsSource}}

Asynchronous API that imports a list of reference images to specified product sets based on a list of image information. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. `Operation.metadata` contains `BatchOperationMetadata`. (progress) `Operation.response` contains `ImportProductSetsResponse`. (results) The input source of this method is a csv file on Google Cloud Storage. For the format of the csv file please see ImportProductSetsGcsSource.csv_file_uri.
sourceraw docstring

locations-productSets-list$clj

(locations-productSets-list$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists ProductSets in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100, or less than 1.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists ProductSets in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100, or less than 1.
sourceraw docstring

locations-productSets-patch$clj

(locations-productSets-patch$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:indexError {:code integer, :details [{}], :message string}, :displayName string, :indexTime string, :name string}

Makes changes to a ProductSet resource. Only display_name can be updated currently. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but missing from the request or longer than 4096 characters.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:indexError {:code integer, :details [{}], :message string},
 :displayName string,
 :indexTime string,
 :name string}

Makes changes to a ProductSet resource. Only display_name can be updated currently. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but missing from the request or longer than 4096 characters.
sourceraw docstring

locations-productSets-products-list$clj

(locations-productSets-products-list$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/products/list

Required parameters: name

Optional parameters: pageSize, pageToken

Lists the Products in a ProductSet, in an unspecified order. If the ProductSet does not exist, the products field of the response will be empty. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/products/list

Required parameters: name

Optional parameters: pageSize, pageToken

Lists the Products in a ProductSet, in an unspecified order. If the ProductSet does not exist, the products field of the response will be empty. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
sourceraw docstring

locations-productSets-removeProduct$clj

(locations-productSets-removeProduct$ auth parameters body)

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/removeProduct

Required parameters: name

Optional parameters: none

Body:

{:product string}

Removes a Product from the specified ProductSet.

https://cloud.google.com/vision/api/reference/rest/v1/projects/locations/productSets/removeProduct

Required parameters: name

Optional parameters: none

Body: 

{:product string}

Removes a Product from the specified ProductSet.
sourceraw docstring

operations-get$clj

(operations-get$ auth parameters)

https://cloud.google.com/vision/api/reference/rest/v1/projects/operations/get

Required parameters: name

Optional parameters: none

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.

https://cloud.google.com/vision/api/reference/rest/v1/projects/operations/get

Required parameters: name

Optional parameters: none

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close