# PackagesSummaryResponse

- [JSON representation](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/PackagesSummaryResponse#SCHEMA_REPRESENTATION)
- [LicensesSummary](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/PackagesSummaryResponse#LicensesSummary)
  - [JSON representation](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/PackagesSummaryResponse#LicensesSummary.SCHEMA_REPRESENTATION)

A summary of the packages found within the given resource.

| JSON representation |
|---|
| ``` { "resourceUrl": string, "licensesSummary": [ { object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/PackagesSummaryResponse#LicensesSummary`) } ] } ``` |

| Fields ||
|---|---|
| `resourceUrl` | `string` The unique URL of the image or the container for which this summary applies. |
| `licensesSummary[]` | ``object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/PackagesSummaryResponse#LicensesSummary`)`` A listing by license name of each of the licenses and their counts. |

## LicensesSummary

Per license count

| JSON representation |
|---|
| ``` { "license": string, "count": string } ``` |

| Fields ||
|---|---|
| `license` | `string` The license of the package. Note that the format of this value is not guaranteed. It may be nil, an empty string, a boolean value (A \| B), a differently formed boolean value (A OR B), etc... |
| `count` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of fixable vulnerabilities associated with this resource. |