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 thisgroup can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentinsights_config on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

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

To set theinsightsConfigs attribute:

  • provide the argumentinsights_config on the command line.

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

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

To set thelocation attribute:

  • provide the argumentinsights_config on the command line with afully 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 discoveryflow.
--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 groupare 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 groupare 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. Thesevariants are also available:
gclouddeveloper-connectinsights-configsupdate
gcloudalphadeveloper-connectinsights-configsupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-10 UTC.