Artifact Registry API (artifactregistry:v1)

2024-03-06

2 new methods

Additions

    Methods
  • artifactregistry.media.download

      Path: v1/{+name}:download

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download

      HTTP Method: GET

      Parameters:

        name

          Description: Required. The name of the file to download.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Supportsmediadownload: Yes

      Usemediadownloadservice: Yes

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • Description: Download a file.

  • artifactregistry.projects.locations.repositories.packages.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.

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

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a package.