gcloud alpha recommender insights mark-active - mark an insight's state as ACTIVE
gcloud alpha recommender insights mark-active INSIGHT --etag=etag --insight-type=INSIGHT_TYPE --location=LOCATION (--billing-account=BILLING_ACCOUNT | --folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [GCLOUD_WIDE_FLAG ...]
(ALPHA) Mark an insight's state as ACTIVE. Can be applied to insights in DISMISSED state. The following are currently supported: project, billing_account, folder, and organization.
To mark an insight as ACTIVE:
$ gcloud alpha recommender insights mark-active abcd-1234 \ --project=project-name --location=global \ --insight-type=google.compute.firewall.Insight --etag=abc123
- INSIGHT
Insight id which will be marked as active
- --etag=etag
Etag of a insight
- --insight-type=INSIGHT_TYPE
Insight Type of the insights
- --location=LOCATION
Location
- Resource that is associated with cloud entity type. Currently four mutually
exclusive flags are supported, --project, --billing-account, --folder, --organization.
Exactly one of these must be specified:
- --billing-account=BILLING_ACCOUNT
The Google Cloud Platform billing account ID to use for this invocation.
- --folder=FOLDER_ID
The Google Cloud Platform folder ID to use for this invocation.
- --organization=ORGANIZATION_ID
The Google Cloud Platform organization ID to use for this invocation.
- --project=PROJECT_ID
The Google Cloud Platform project ID. Overrides the default core/project property value for this command invocation.
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.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.