- NAME
-
- gcloud artifacts projects update - update project configuration
- SYNOPSIS
-
-
gcloud artifacts projects update[--location=LOCATION] [--severity=SEVERITY] [--clear-platform-logs|--disable-platform-logs|--enable-platform-logs] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Update the Artifact Registry project configuration for the current project in a given location.
- EXAMPLES
-
To enable INFO level platform logs for project configuration in
us-west1:gcloud artifacts projects update --location=us-west1 --enable-platform-logs --severity=INFO - FLAGS
-
-
Location resource - The location of the project configuration to update. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
--locationon the command line with a fully specified name; -
set the property
artifacts/locationwith a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
-
provide the argument
--location=LOCATION-
ID of the location or fully qualified identifier for the location.
To set the
locationattribute:-
provide the argument
--locationon the command line; -
set the property
artifacts/location.
-
provide the argument
--severity=SEVERITY-
The minimum severity level of logs to generate. This flag is only applicable
when using --enable-platform-logs.
SEVERITYmust be one of:error- Log events with severity ERROR or higher.
info- Log events with severity INFO or higher.
-
At most one of these can be specified:
--clear-platform-logs- Clear platform logging settings for the project in this location to fall back to organization settings or AR defaults.
--disable-platform-logs- Disable platform logging for the project in this location.
--enable-platform-logs- Enable platform logging for the project in this location.
-
Location resource - The location of the project configuration to update. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
artifactregistry/v1API. The full documentation for this API can be found at: https://cloud.google.com/artifacts/docs/
gcloud artifacts projects update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-05 UTC.