Container Analysis API (containeranalysis:v1beta1)

2024-03-07

9 new methods

Additions

    Methods
  • containeranalysis.projects.locations.resources.exportSBOM

      Parameter Order: name

      Path: v1beta1/{+name}:exportSBOM

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        name

          Description: Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.

          Required: Yes

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/resources/.*$

          Type: string

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/resources/{resourcesId}:exportSBOM

      HTTP Method: POST

      Description: Generates an SBOM and other dependency information for the given resource.

  • containeranalysis.projects.locations.resources.generatePackagesSummary

      Parameter Order: name

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/resources/{resourcesId}:generatePackagesSummary

      HTTP Method: POST

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/resources/.*$

          Description: Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.

          Type: string

          Location: path

          Required: Yes

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Gets a summary of the packages within a given resource.

      Path: v1beta1/{+name}:generatePackagesSummary

  • containeranalysis.projects.locations.occurrences.list

      Parameters:

        pageToken

          Location: query

          Type: string

          Description: Token to provide to skip to a particular spot in the list.

        parent

          Type: string

          Description: Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Location: path

          Required: Yes

        pageSize

          Location: query

          Format: int32

          Type: integer

          Description: Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.

        filter

          Description: The filter expression.

          Location: query

          Type: string

      Path: v1beta1/{+parent}/occurrences

      Description: Lists occurrences for the specified project.

      Parameter Order: parent

      HTTP Method: GET

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences

  • containeranalysis.projects.locations.occurrences.getVulnerabilitySummary

      Path: v1beta1/{+parent}/occurrences:vulnerabilitySummary

      Parameters:

        filter

          Type: string

          Location: query

          Description: The filter expression.

        parent

          Required: Yes

          Description: Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Type: string

          Location: path

      Description: Gets a summary of the number and severity of occurrences.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: parent

      HTTP Method: GET

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences:vulnerabilitySummary

  • containeranalysis.projects.locations.occurrences.get

      Parameters:

        name

          Description: Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$

          Location: path

          Required: Yes

      Parameter Order: name

      HTTP Method: GET

      Path: v1beta1/{+name}

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Gets the specified occurrence.

  • containeranalysis.projects.locations.occurrences.getNotes

      Path: v1beta1/{+name}/notes

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Location: path

          Description: Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$

      HTTP Method: GET

      Description: Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

      Scopes: https://www.googleapis.com/auth/cloud-platform

  • containeranalysis.projects.locations.notes.get

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Gets the specified note.

      HTTP Method: GET

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}

      Path: v1beta1/{+name}

      Parameter Order: name

      Parameters:

        name

          Description: Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.

          Required: Yes

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/notes/[^/]+$

          Location: path

  • containeranalysis.projects.locations.notes.list

      Description: Lists notes for the specified project.

      Parameter Order: parent

      Path: v1beta1/{+parent}/notes

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/notes

      Parameters:

        parent

          Type: string

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Required: Yes

          Description: Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`.

        pageSize

          Format: int32

          Type: integer

          Description: Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.

          Location: query

        filter

          Type: string

          Description: The filter expression.

          Location: query

        pageToken

          Location: query

          Type: string

          Description: Token to provide to skip to a particular spot in the list.

      HTTP Method: GET

  • containeranalysis.projects.locations.notes.occurrences.list

      Parameters:

        pageSize

          Type: integer

          Description: Number of occurrences to return in the list.

          Format: int32

          Location: query

        filter

          Description: The filter expression.

          Type: string

          Location: query

        name

          Required: Yes

          Description: Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.

          Location: path

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/notes/[^/]+$

        pageToken

          Type: string

          Location: query

          Description: Token to provide to skip to a particular spot in the list.

      Description: Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}/occurrences

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: GET

      Parameter Order: name

      Path: v1beta1/{+name}/occurrences