# Container Analysis API

This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in Artifact Registry.

In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.

- [REST Resource: v1beta1.projects.locations.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.locations.notes)
- [REST Resource: v1beta1.projects.locations.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.locations.notes.occurrences)
- [REST Resource: v1beta1.projects.locations.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.locations.occurrences)
- [REST Resource: v1beta1.projects.locations.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.locations.resources)
- [REST Resource: v1beta1.projects.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.notes)
- [REST Resource: v1beta1.projects.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.notes.occurrences)
- [REST Resource: v1beta1.projects.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.occurrences)
- [REST Resource: v1beta1.projects.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1beta1.projects.resources)
- [REST Resource: v1.projects.locations.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.locations.notes)
- [REST Resource: v1.projects.locations.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.locations.notes.occurrences)
- [REST Resource: v1.projects.locations.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.locations.occurrences)
- [REST Resource: v1.projects.locations.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.locations.resources)
- [REST Resource: v1.projects.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.notes)
- [REST Resource: v1.projects.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.notes.occurrences)
- [REST Resource: v1.projects.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.occurrences)
- [REST Resource: v1.projects.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest#v1.projects.resources)

## Service: containeranalysis.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://containeranalysis.googleapis.com/$discovery/rest?version=v1>
- <https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1>

### 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 endpoint and all URIs below are relative to this service endpoint:

- `https://containeranalysis.googleapis.com`

### Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
<button value="global" default="">global</button> <button value="asia-east1">asia-east1</button> <button value="asia-east2">asia-east2</button> <button value="asia-northeast1">asia-northeast1</button> <button value="asia-northeast3">asia-northeast3</button> <button value="asia-south1">asia-south1</button> <button value="asia-south2">asia-south2</button> <button value="asia-southeast1">asia-southeast1</button> <button value="asia-southeast2">asia-southeast2</button> <button value="australia-southeast1">australia-southeast1</button> <button value="europe-central2">europe-central2</button> <button value="europe-north1">europe-north1</button> <button value="europe-southwest1">europe-southwest1</button> <button value="europe-west1">europe-west1</button> <button value="europe-west2">europe-west2</button> <button value="europe-west3">europe-west3</button> <button value="europe-west4">europe-west4</button> <button value="europe-west6">europe-west6</button> <button value="europe-west8">europe-west8</button> <button value="europe-west9">europe-west9</button> <button value="me-central1">me-central1</button> <button value="me-central2">me-central2</button> <button value="me-west1">me-west1</button> <button value="northamerica-northeast1">northamerica-northeast1</button> <button value="northamerica-northeast2">northamerica-northeast2</button> <button value="southamerica-east1">southamerica-east1</button> <button value="southamerica-west1">southamerica-west1</button> <button value="us-central1">us-central1</button> <button value="us-central2">us-central2</button> <button value="us-east1">us-east1</button> <button value="us-east4">us-east4</button> <button value="us-east5">us-east5</button> <button value="us-east7">us-east7</button> <button value="us-south1">us-south1</button> <button value="us-west1">us-west1</button> <button value="us-west2">us-west2</button> <button value="us-west3">us-west3</button> <button value="us-west4">us-west4</button> <button value="africa-south1">africa-south1</button> <button value="asia-northeast2">asia-northeast2</button> <button value="australia-southeast2">australia-southeast2</button> <button value="europe-west10">europe-west10</button> <button value="us">us</button> <button value="eu">eu</button>   
- `https://containeranalysis.googleapis.com`

<br />

## REST Resource: [v1beta1.projects.locations.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/batchCreate` | `POST /v1beta1/{parent=projects/*/locations/*}/notes:batchCreate` Creates new notes in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/create` | `POST /v1beta1/{parent=projects/*/locations/*}/notes` Creates a new note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/notes/*}` Deletes the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/get` | `GET /v1beta1/{name=projects/*/locations/*/notes/*}` Gets the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/getIamPolicy` | `POST /v1beta1/{resource=projects/*/locations/*/notes/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/list` | `GET /v1beta1/{parent=projects/*/locations/*}/notes` Lists notes for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/patch` | `PATCH /v1beta1/{name=projects/*/locations/*/notes/*}` Updates the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/setIamPolicy` | `POST /v1beta1/{resource=projects/*/locations/*/notes/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes/testIamPermissions` | `POST /v1beta1/{resource=projects/*/locations/*/notes/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1beta1.projects.locations.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.notes.occurrences/list` | `GET /v1beta1/{name=projects/*/locations/*/notes/*}/occurrences` Lists occurrences referencing the specified note. |

## REST Resource: [v1beta1.projects.locations.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/batchCreate` | `POST /v1beta1/{parent=projects/*/locations/*}/occurrences:batchCreate` Creates new occurrences in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/create` | `POST /v1beta1/{parent=projects/*/locations/*}/occurrences` Creates a new occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/occurrences/*}` Deletes the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/get` | `GET /v1beta1/{name=projects/*/locations/*/occurrences/*}` Gets the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/getIamPolicy` | `POST /v1beta1/{resource=projects/*/locations/*/occurrences/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/getNotes` | `GET /v1beta1/{name=projects/*/locations/*/occurrences/*}/notes` Gets the note attached to the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/getVulnerabilitySummary` | `GET /v1beta1/{parent=projects/*/locations/*}/occurrences:vulnerabilitySummary` Gets a summary of the number and severity of occurrences. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/list` | `GET /v1beta1/{parent=projects/*/locations/*}/occurrences` Lists occurrences for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/patch` | `PATCH /v1beta1/{name=projects/*/locations/*/occurrences/*}` Updates the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/setIamPolicy` | `POST /v1beta1/{resource=projects/*/locations/*/occurrences/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.occurrences/testIamPermissions` | `POST /v1beta1/{resource=projects/*/locations/*/occurrences/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1beta1.projects.locations.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.resources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.resources/exportSBOM` | `POST /v1beta1/{name=projects/*/locations/*/resources/**}:exportSBOM` Generates an SBOM and other dependency information for the given resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.locations.resources/generatePackagesSummary` | `POST /v1beta1/{name=projects/*/locations/*/resources/**}:generatePackagesSummary` Gets a summary of the packages within a given resource. |

## REST Resource: [v1beta1.projects.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/batchCreate` | `POST /v1beta1/{parent=projects/*}/notes:batchCreate` Creates new notes in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/create` | `POST /v1beta1/{parent=projects/*}/notes` Creates a new note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/delete` | `DELETE /v1beta1/{name=projects/*/notes/*}` Deletes the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/get` | `GET /v1beta1/{name=projects/*/notes/*}` Gets the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/getIamPolicy` | `POST /v1beta1/{resource=projects/*/notes/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/list` | `GET /v1beta1/{parent=projects/*}/notes` Lists notes for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/patch` | `PATCH /v1beta1/{name=projects/*/notes/*}` Updates the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/setIamPolicy` | `POST /v1beta1/{resource=projects/*/notes/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes/testIamPermissions` | `POST /v1beta1/{resource=projects/*/notes/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1beta1.projects.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.notes.occurrences/list` | `GET /v1beta1/{name=projects/*/notes/*}/occurrences` Lists occurrences referencing the specified note. |

## REST Resource: [v1beta1.projects.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/batchCreate` | `POST /v1beta1/{parent=projects/*}/occurrences:batchCreate` Creates new occurrences in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/create` | `POST /v1beta1/{parent=projects/*}/occurrences` Creates a new occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/delete` | `DELETE /v1beta1/{name=projects/*/occurrences/*}` Deletes the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/get` | `GET /v1beta1/{name=projects/*/occurrences/*}` Gets the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/getIamPolicy` | `POST /v1beta1/{resource=projects/*/occurrences/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/getNotes` | `GET /v1beta1/{name=projects/*/occurrences/*}/notes` Gets the note attached to the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/getVulnerabilitySummary` | `GET /v1beta1/{parent=projects/*}/occurrences:vulnerabilitySummary` Gets a summary of the number and severity of occurrences. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/list` | `GET /v1beta1/{parent=projects/*}/occurrences` Lists occurrences for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/patch` | `PATCH /v1beta1/{name=projects/*/occurrences/*}` Updates the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/setIamPolicy` | `POST /v1beta1/{resource=projects/*/occurrences/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.occurrences/testIamPermissions` | `POST /v1beta1/{resource=projects/*/occurrences/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1beta1.projects.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.resources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.resources/exportSBOM` | `POST /v1beta1/{name=projects/*/resources/**}:exportSBOM` Generates an SBOM and other dependency information for the given resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/projects.resources/generatePackagesSummary` | `POST /v1beta1/{name=projects/*/resources/**}:generatePackagesSummary` Gets a summary of the packages within a given resource. |

## REST Resource: [v1.projects.locations.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/batchCreate` | `POST /v1/{parent=projects/*/locations/*}/notes:batchCreate` Creates new notes in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/create` | `POST /v1/{parent=projects/*/locations/*}/notes` Creates a new note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/delete` | `DELETE /v1/{name=projects/*/locations/*/notes/*}` Deletes the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/get` | `GET /v1/{name=projects/*/locations/*/notes/*}` Gets the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/getIamPolicy` | `POST /v1/{resource=projects/*/locations/*/notes/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/list` | `GET /v1/{parent=projects/*/locations/*}/notes` Lists notes for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/patch` | `PATCH /v1/{name=projects/*/locations/*/notes/*}` Updates the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/notes/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/notes/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1.projects.locations.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.notes.occurrences/list` | `GET /v1/{name=projects/*/locations/*/notes/*}/occurrences` Lists occurrences referencing the specified note. |

## REST Resource: [v1.projects.locations.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/batchCreate` | `POST /v1/{parent=projects/*/locations/*}/occurrences:batchCreate` Creates new occurrences in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/create` | `POST /v1/{parent=projects/*/locations/*}/occurrences` Creates a new occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/delete` | `DELETE /v1/{name=projects/*/locations/*/occurrences/*}` Deletes the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/get` | `GET /v1/{name=projects/*/locations/*/occurrences/*}` Gets the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/getIamPolicy` | `POST /v1/{resource=projects/*/locations/*/occurrences/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/getNotes` | `GET /v1/{name=projects/*/locations/*/occurrences/*}/notes` Gets the note attached to the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/getVulnerabilitySummary` | `GET /v1/{parent=projects/*/locations/*}/occurrences:vulnerabilitySummary` Gets a summary of the number and severity of occurrences. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/list` | `GET /v1/{parent=projects/*/locations/*}/occurrences` Lists occurrences for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/patch` | `PATCH /v1/{name=projects/*/locations/*/occurrences/*}` Updates the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/occurrences/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.occurrences/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/occurrences/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1.projects.locations.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.resources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.locations.resources/exportSBOM` | `POST /v1/{name=projects/*/locations/*/resources/**}:exportSBOM` Generates an SBOM for the given resource. |

## REST Resource: [v1.projects.notes](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/batchCreate` | `POST /v1/{parent=projects/*}/notes:batchCreate` Creates new notes in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/create` | `POST /v1/{parent=projects/*}/notes` Creates a new note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/delete` | `DELETE /v1/{name=projects/*/notes/*}` Deletes the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/get` | `GET /v1/{name=projects/*/notes/*}` Gets the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/getIamPolicy` | `POST /v1/{resource=projects/*/notes/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/list` | `GET /v1/{parent=projects/*}/notes` Lists notes for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/patch` | `PATCH /v1/{name=projects/*/notes/*}` Updates the specified note. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/setIamPolicy` | `POST /v1/{resource=projects/*/notes/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes/testIamPermissions` | `POST /v1/{resource=projects/*/notes/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1.projects.notes.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.notes.occurrences/list` | `GET /v1/{name=projects/*/notes/*}/occurrences` Lists occurrences referencing the specified note. |

## REST Resource: [v1.projects.occurrences](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/batchCreate` | `POST /v1/{parent=projects/*}/occurrences:batchCreate` Creates new occurrences in batch. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/create` | `POST /v1/{parent=projects/*}/occurrences` Creates a new occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/delete` | `DELETE /v1/{name=projects/*/occurrences/*}` Deletes the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/get` | `GET /v1/{name=projects/*/occurrences/*}` Gets the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/getIamPolicy` | `POST /v1/{resource=projects/*/occurrences/*}:getIamPolicy` Gets the access control policy for a note or an occurrence resource. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/getNotes` | `GET /v1/{name=projects/*/occurrences/*}/notes` Gets the note attached to the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/getVulnerabilitySummary` | `GET /v1/{parent=projects/*}/occurrences:vulnerabilitySummary` Gets a summary of the number and severity of occurrences. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/list` | `GET /v1/{parent=projects/*}/occurrences` Lists occurrences for the specified project. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/patch` | `PATCH /v1/{name=projects/*/occurrences/*}` Updates the specified occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/setIamPolicy` | `POST /v1/{resource=projects/*/occurrences/*}:setIamPolicy` Sets the access control policy on the specified note or occurrence. |
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.occurrences/testIamPermissions` | `POST /v1/{resource=projects/*/occurrences/*}:testIamPermissions` Returns the permissions that a caller has on the specified note or occurrence. |

## REST Resource: [v1.projects.resources](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.resources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/projects.resources/exportSBOM` | `POST /v1/{name=projects/*/resources/**}:exportSBOM` Generates an SBOM for the given resource. |