NAME
    gcloud developer-connect insights-configs update - update the configuration
        of an insight config

SYNOPSIS
    gcloud developer-connect insights-configs update
        (INSIGHTS_CONFIG : --location=LOCATION)
        (--run-discovery
          --artifact-uri=ARTIFACT_URI --build-project=BUILD_PROJECT)
        [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    Update the configuration of an insights config.

EXAMPLES
    To update the state of an insights config, run:

        $ gcloud developer-connect insights-configs update \
            insights-config-name --run-discovery

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

        $ gcloud developer-connect insights-configs update \
            insights-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
    These variants are also available:

        $ gcloud alpha developer-connect insights-configs update

        $ gcloud beta developer-connect insights-configs update

