gcloud beta developer-connect insights-configs update Stay organized with collections Save and categorize content based on your preferences.
- 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-discoveryTo 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 the
projectattribute:- provide the argument
insights_configon the command line with afully specified name; - provide the argument
--projecton 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
insightsConfigsattribute:- provide the argument
insights_configon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The region of the insight config.
To set the
locationattribute:- provide the argument
insights_configon the command line with afully specified name; - provide the argument
--locationon the command line.
- provide the argument
- provide the argument
- 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.
- 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.
- Update the insight config.
- 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. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gclouddeveloper-connectinsights-configsupdategcloudalphadeveloper-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.