gcloud beta developer-connect insights-configs update

NAME
gcloud beta developer-connect insights-configs update - update the configuration of an insight config
SYNOPSIS
gcloud beta developer-connect insights-configs update (INSIGHTS_CONFIG : --location =LOCATION) (--run-discovery --artifact-uri =ARTIFACT_URI --build-project =BUILD_PROJECT) [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Update the configuration of an insights config.
EXAMPLES
To update the state of an insights config, run:
gcloudbetadeveloper-connectinsights-configsupdateinsights-config-name--run-discovery

To update the Artifact Analysis project for an artifact in an insights config, run:

gcloudbetadeveloper-connectinsights-configsupdateinsights-config-name--artifact-uri=us-{location}-docker.pkg.dev/my-project/my-artifact-repo/my-image--build-project={build_project}
POSITIONAL ARGUMENTS
Insights config resource - The insights config to update. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument insights_config on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

INSIGHTS_CONFIG
ID of the insights_config or fully qualified identifier for the insights_config.

To set the insightsConfigs attribute:

  • provide the argument insights_config on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The region of the insight config.

To set the location attribute:

  • provide the argument insights_config on the command line with a fully specified name;
  • provide the argument --location on the command line.
REQUIRED FLAGS
Update the insight config.

At least one of these must be specified:

--run-discovery
Sets the state of the insight config to PENDING and kicks off the discovery flow.
--artifact-uri=ARTIFACT_URI
Identifier for the specific artifact you want to update

This flag argument must be specified if any of the other arguments in this group are specified.

--build-project=BUILD_PROJECT
The project ID of the project to where the artifact is built.

This flag argument must be specified if any of the other arguments in this group are specified.

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 help for details.

NOTES
This command is currently in beta and might change without notice. These variants are also available:
gclouddeveloper-connectinsights-configsupdate 
gcloudalphadeveloper-connectinsights-configsupdate 

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月27日 UTC.