mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 00:46:53 +00:00
82 lines
2.9 KiB
Text
82 lines
2.9 KiB
Text
NAME
|
|
gcloud beta saas-runtime flags describe - describe Flag
|
|
|
|
SYNOPSIS
|
|
gcloud beta saas-runtime flags describe (FLAG : --location=LOCATION)
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Show detailed information about a feature flag resource.
|
|
|
|
This command retrieves the complete configuration and status of a flag. It
|
|
is the primary tool for auditing flag definitions and troubleshooting
|
|
rollout discrepancies.
|
|
|
|
For automated processing, use --format=json or --format=yaml to retrieve
|
|
the structured representation of the flag's evaluation specification, which
|
|
can be used to programmatically verify rollout configurations before
|
|
deployment.
|
|
|
|
EXAMPLES
|
|
To describe a flag named my-feature-flag in the global location, run:
|
|
|
|
$ gcloud beta saas-runtime flags describe my-feature-flag \
|
|
--location=global
|
|
|
|
To describe a flag using its fully qualified resource name, run:
|
|
|
|
$ gcloud beta saas-runtime flags describe \
|
|
projects/my-project/locations/global/flags/my-feature-flag
|
|
|
|
To inspect the evaluation specification in JSON format for automated
|
|
auditing, run:
|
|
|
|
$ gcloud beta saas-runtime flags describe my-feature-flag \
|
|
--location=global --format=json
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Flag resource - Flag ID of the Flag to describe or the fully qualified
|
|
resource name. 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 flag 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.
|
|
|
|
FLAG
|
|
ID of the flag or fully qualified identifier for the flag.
|
|
|
|
To set the flag attribute:
|
|
▸ provide the argument flag on the command line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
Location ID
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument flag on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line.
|
|
|
|
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.
|
|
|
|
API REFERENCE
|
|
This command uses the saasservicemgmt/v1beta1 API. The full documentation
|
|
for this API can be found at: https://cloud.google.com/saas-runtime/docs
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice.
|
|
|