# Vision AI API

- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.applications](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.applications)
- [REST Resource: v1.projects.locations.applications.drafts](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.applications.drafts)
- [REST Resource: v1.projects.locations.applications.instances](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.applications.instances)
- [REST Resource: v1.projects.locations.clusters](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.clusters)
- [REST Resource: v1.projects.locations.clusters.analyses](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.clusters.analyses)
- [REST Resource: v1.projects.locations.corpora](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora)
- [REST Resource: v1.projects.locations.corpora.assets](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.assets)
- [REST Resource: v1.projects.locations.corpora.assets.annotations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.assets.annotations)
- [REST Resource: v1.projects.locations.corpora.assets.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.assets.operations)
- [REST Resource: v1.projects.locations.corpora.collections](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.collections)
- [REST Resource: v1.projects.locations.corpora.collections.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.collections.operations)
- [REST Resource: v1.projects.locations.corpora.dataSchemas](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.dataSchemas)
- [REST Resource: v1.projects.locations.corpora.indexes](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.indexes)
- [REST Resource: v1.projects.locations.corpora.indexes.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.indexes.operations)
- [REST Resource: v1.projects.locations.corpora.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.operations)
- [REST Resource: v1.projects.locations.corpora.searchConfigs](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.searchConfigs)
- [REST Resource: v1.projects.locations.corpora.searchHypernyms](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.corpora.searchHypernyms)
- [REST Resource: v1.projects.locations.indexEndpoints](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.indexEndpoints)
- [REST Resource: v1.projects.locations.indexEndpoints.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.indexEndpoints.operations)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.processors](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.processors)
- [REST Resource: v1.projects.locations.warehouseOperations](https://docs.cloud.google.com/vision-ai/docs/reference/rest#v1.projects.locations.warehouseOperations)

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint)
is a base URL that specifies the network address of an API service. One service might have
multiple service endpoints. This service has the following service endpoints and all URIs
below are relative to these service endpoints:

- `visionai.googleapis.com`: Used for interacting with Streams and Applications.
- `warehouse-visionai.googleapis.com`: Used for interacting with Vision AI's Media Warehouse.

## **Service endpoint:** `visionai.googleapis.com`

## REST Resource: [v1.projects.locations.applications](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/addStreamInput` | `POST /v1/{name=projects/*/locations/*/applications/*}:addStreamInput` Adds target stream input to the Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/create` | `POST /v1/{parent=projects/*/locations/*}/applications` Creates a new Application in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/createApplicationInstances` | `POST /v1/{name=projects/*/locations/*/applications/*}:createApplicationInstances` Adds target stream input to the Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/delete` | `DELETE /v1/{name=projects/*/locations/*/applications/*}` Deletes a single Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/deleteApplicationInstances` | `POST /v1/{name=projects/*/locations/*/applications/*}:deleteApplicationInstances` Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/deploy` | `POST /v1/{name=projects/*/locations/*/applications/*}:deploy` Deploys a single Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/get` | `GET /v1/{name=projects/*/locations/*/applications/*}` Gets details of a single Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/list` | `GET /v1/{parent=projects/*/locations/*}/applications` Lists Applications in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/patch` | `PATCH /v1/{application.name=projects/*/locations/*/applications/*}` Updates the parameters of a single Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/removeStreamInput` | `POST /v1/{name=projects/*/locations/*/applications/*}:removeStreamInput` Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/undeploy` | `POST /v1/{name=projects/*/locations/*/applications/*}:undeploy` Undeploys a single Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/updateApplicationInstances` | `POST /v1/{name=projects/*/locations/*/applications/*}:updateApplicationInstances` Adds target stream input to the Application. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications/updateStreamInput` | `POST /v1/{name=projects/*/locations/*/applications/*}:updateStreamInput` Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed. |

## REST Resource: [v1.projects.locations.applications.drafts](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts/create` | `POST /v1/{parent=projects/*/locations/*/applications/*}/drafts` Creates a new Draft in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts/delete` | `DELETE /v1/{name=projects/*/locations/*/applications/*/drafts/*}` Deletes a single Draft. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts/get` | `GET /v1/{name=projects/*/locations/*/applications/*/drafts/*}` Gets details of a single Draft. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts/list` | `GET /v1/{parent=projects/*/locations/*/applications/*}/drafts` Lists Drafts in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.drafts/patch` | `PATCH /v1/{draft.name=projects/*/locations/*/applications/*/drafts/*}` Updates the parameters of a single Draft. |

## REST Resource: [v1.projects.locations.applications.instances](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.instances)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.instances/get` | `GET /v1/{name=projects/*/locations/*/applications/*/instances/*}` Gets details of a single Instance. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.applications.instances/list` | `GET /v1/{parent=projects/*/locations/*/applications/*}/instances` Lists Instances in a given project and location. |

## REST Resource: [v1.projects.locations.clusters](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/channels` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/channels` Materialize a channel. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/create` | `POST /v1/{parent=projects/*/locations/*}/clusters` Creates a new Cluster in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*}` Deletes a single Cluster. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/get` | `GET /v1/{name=projects/*/locations/*/clusters/*}` Gets details of a single Cluster. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/healthCheck` | `GET /v1/{cluster=projects/*/locations/*/clusters/*}:healthCheck` HealthCheck method checks the health status of the cluster. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/list` | `GET /v1/{parent=projects/*/locations/*}/clusters` Lists Clusters in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/patch` | `PATCH /v1/{cluster.name=projects/*/locations/*/clusters/*}` Updates the parameters of a single Cluster. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters/watchEvents` | `POST /v1/{cluster=projects/*/locations/*/clusters/*}:watchEvents` Watch for event updates happening on the given streams. |

## REST Resource: [v1.projects.locations.clusters.analyses](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses/create` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/analyses` Creates a new Analysis in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/analyses/*}` Deletes a single Analysis. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/analyses/*}` Gets details of a single Analysis. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/analyses` Lists Analyses in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.analyses/patch` | `PATCH /v1/{analysis.name=projects/*/locations/*/clusters/*/analyses/*}` Updates the parameters of a single Analysis. |

## REST Resource: [v1.projects.locations.clusters.events](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events/create` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/events` Creates a new Event in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/events/*}` Deletes a single Event. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/events/*}` Gets details of a single Event. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/events` Lists Events in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.events/patch` | `PATCH /v1/{event.name=projects/*/locations/*/clusters/*/events/*}` Updates the parameters of a single Event. |

## REST Resource: [v1.projects.locations.clusters.processes](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/batchRun` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/processes:batchRun` Run all of the processes to "completion". |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/create` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/processes` Creates a new Process in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/processes/*}` Deletes a single Process. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/processes/*}` Gets details of a single Process. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/processes` Lists Processes in a given project and location. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.clusters.processes/patch` | `PATCH /v1/{process.name=projects/*/locations/*/clusters/*/processes/*}` Updates the parameters of a single Process. |

## **Service endpoint:** `warehouse-visionai.googleapis.com`

## REST Resource: [v1.projects.locations.corpora](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/analyze` | `POST /v1/{name=projects/*/locations/*/corpora/*}:analyze` Analyzes a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/create` | `POST /v1/{parent=projects/*/locations/*}/corpora` Creates a corpus inside a project. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*}` Deletes a corpus only if its empty. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/get` | `GET /v1/{name=projects/*/locations/*/corpora/*}` Gets corpus details inside a project. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/list` | `GET /v1/{parent=projects/*/locations/*}/corpora` Lists all corpora in a project. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/patch` | `PATCH /v1/{corpus.name=projects/*/locations/*/corpora/*}` Updates a corpus in a project. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora/searchAssets` | `POST /v1/{corpus=projects/*/locations/*/corpora/*}:searchAssets` Search media asset. |

## REST Resource: [v1.projects.locations.corpora.assets](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/analyze` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:analyze` Analyze asset to power search capability. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/clip` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:clip` Generates clips for downloading. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/assets` Creates an asset inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/assets/*}` Deletes asset inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/generateHlsUri` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:generateHlsUri` Generates a uri for an HLS manifest. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/generateRetrievalUrl` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:generateRetrievalUrl` Generates a signed url for downloading the asset. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/assets/*}` Reads an asset inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/import` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/assets:import` Imports assets (images plus annotations) from a meta file on cloud storage. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:index` Index one asset for search. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/assets` Lists an list of assets inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/patch` | `PATCH /v1/{asset.name=projects/*/locations/*/corpora/*/assets/*}` Updates an asset inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/removeIndex` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:removeIndex` Remove one asset's index data for search. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets/upload` | `POST /v1/{name=projects/*/locations/*/corpora/*/assets/*}:upload` Upload asset by specifing the asset Cloud Storage uri. |

## REST Resource: [v1.projects.locations.corpora.assets.annotations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*/assets/*}/annotations` Creates annotation inside asset. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/assets/*/annotations/*}` Deletes annotation inside asset. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/assets/*/annotations/*}` Reads annotation inside asset. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*/assets/*}/annotations` Lists a list of annotations inside asset. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.annotations/patch` | `PATCH /v1/{annotation.name=projects/*/locations/*/corpora/*/assets/*/annotations/*}` Updates annotation inside asset. |

## REST Resource: [v1.projects.locations.corpora.assets.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.assets.operations/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/assets/*/operations/*}` Gets the latest state of a long-running operation. |

## REST Resource: [v1.projects.locations.corpora.collections](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/addCollectionItem` | `POST /v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:addCollectionItem` Adds an item into a Collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/collections` Creates a collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/collections/*}` Deletes a collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/collections/*}` Gets a collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/collections` Lists collections inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/patch` | `PATCH /v1/{collection.name=projects/*/locations/*/corpora/*/collections/*}` Updates a collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/removeCollectionItem` | `POST /v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:removeCollectionItem` Removes an item from a collection. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections/viewCollectionItems` | `GET /v1/{collection=projects/*/locations/*/corpora/*/collections/*}:viewCollectionItems` View items inside a collection. |

## REST Resource: [v1.projects.locations.corpora.collections.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.collections.operations/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/collections/*/operations/*}` Gets the latest state of a long-running operation. |

## REST Resource: [v1.projects.locations.corpora.dataSchemas](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/dataSchemas` Creates data schema inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/dataSchemas/*}` Deletes data schema inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/dataSchemas/*}` Gets data schema inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/dataSchemas` Lists a list of data schemas inside corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.dataSchemas/patch` | `PATCH /v1/{dataSchema.name=projects/*/locations/*/corpora/*/dataSchemas/*}` Updates data schema inside corpus. |

## REST Resource: [v1.projects.locations.corpora.indexes](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/indexes` Creates an Index under the corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/indexes/*}` Delete a single Index. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/indexes/*}` Gets the details of a single Index under a Corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/indexes` List all Indexes in a given Corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/patch` | `PATCH /v1/{index.name=projects/*/locations/*/corpora/*/indexes/*}` Updates an Index under the corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes/viewAssets` | `GET /v1/{index=projects/*/locations/*/corpora/*/indexes/*}:viewAssets` Lists a list of assets inside an index. |

## REST Resource: [v1.projects.locations.corpora.indexes.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.indexes.operations/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/indexes/*/operations/*}` Gets the latest state of a long-running operation. |

## REST Resource: [v1.projects.locations.corpora.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.operations/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/operations/*}` Gets the latest state of a long-running operation. |

## REST Resource: [v1.projects.locations.corpora.searchConfigs](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/searchConfigs` Creates a search configuration inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}` Deletes a search configuration inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}` Gets a search configuration inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/searchConfigs` Lists all search configurations inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchConfigs/patch` | `PATCH /v1/{searchConfig.name=projects/*/locations/*/corpora/*/searchConfigs/*}` Updates a search configuration inside a corpus. |

## REST Resource: [v1.projects.locations.corpora.searchHypernyms](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms/create` | `POST /v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms` Creates a SearchHypernym inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms/delete` | `DELETE /v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}` Deletes a SearchHypernym inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms/get` | `GET /v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}` Gets a SearchHypernym inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms/list` | `GET /v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms` Lists SearchHypernyms inside a corpus. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.corpora.searchHypernyms/patch` | `PATCH /v1/{searchHypernym.name=projects/*/locations/*/corpora/*/searchHypernyms/*}` Updates a SearchHypernym inside a corpus. |

## REST Resource: [v1.projects.locations.indexEndpoints](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/create` | `POST /v1/{parent=projects/*/locations/*}/indexEndpoints` Creates an IndexEndpoint. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/delete` | `DELETE /v1/{name=projects/*/locations/*/indexEndpoints/*}` Deletes an IndexEndpoint. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/deployIndex` | `POST /v1/{indexEndpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex` Deploys an Index to IndexEndpoint. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/get` | `GET /v1/{name=projects/*/locations/*/indexEndpoints/*}` Gets an IndexEndpoint. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/list` | `GET /v1/{parent=projects/*/locations/*}/indexEndpoints` Lists all IndexEndpoints in a project. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/patch` | `PATCH /v1/{indexEndpoint.name=projects/*/locations/*/indexEndpoints/*}` Updates an IndexEndpoint. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/searchIndexEndpoint` | `POST /v1/{indexEndpoint=projects/*/locations/*/indexEndpoints/*}:searchIndexEndpoint` Search a deployed index endpoint (IMAGE corpus type only). |
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints/undeployIndex` | `POST /v1/{indexEndpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex` Undeploys an Index from IndexEndpoint. |

## REST Resource: [v1.projects.locations.indexEndpoints.operations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.indexEndpoints.operations/get` | `GET /v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}` Gets the latest state of a long-running operation. |

## REST Resource: [v1.projects.locations.warehouseOperations](https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.warehouseOperations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/rest/v1/projects.locations.warehouseOperations/get` | `GET /v1/{name=projects/*/locations/*/warehouseOperations/*}` Gets the latest state of a long-running operation. |