Method: projects.locations.repositories.packages.patch

Updates a package.

HTTP request

The URLs use gRPC Transcoding syntax.

Path parameters



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.

Query parameters


string (FieldMask format)

The update mask applies to the resource. For the FieldMask definition, see

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Package.

Response body

If successful, the response body contains an instance of Package.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.