mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
85 lines
3.2 KiB
Text
85 lines
3.2 KiB
Text
NAME
|
|
gcloud beta saas-runtime flags attributes describe - describe Flag
|
|
Attribute
|
|
|
|
SYNOPSIS
|
|
gcloud beta saas-runtime flags attributes describe
|
|
(FLAG_ATTRIBUTE : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Show detailed information about a Flag Attribute resource.
|
|
|
|
This command retrieves the metadata and configuration of a Flag Attribute.
|
|
Flag Attributes are the fundamental building blocks for targeted rollouts
|
|
and randomization, defining the keys (such as userID or version) that are
|
|
referenced in a flag's evaluation specification.
|
|
|
|
For automated processing, use --format=json or --format=yaml to retrieve
|
|
the structured representation of the attribute, which can be useful for
|
|
programmatically verifying targeting schemas across environments.
|
|
|
|
EXAMPLES
|
|
To describe a Flag Attribute named user-id-attr in the global location,
|
|
run:
|
|
|
|
$ gcloud beta saas-runtime flags attributes describe user-id-attr \
|
|
--location=global
|
|
|
|
To describe a Flag Attribute using its fully qualified resource name, run:
|
|
|
|
$ gcloud beta saas-runtime flags attributes describe \
|
|
projects/my-project/locations/global/flagAttributes/user-id-attr
|
|
|
|
To inspect the attribute configuration in JSON format for automated
|
|
auditing, run:
|
|
|
|
$ gcloud beta saas-runtime flags attributes describe user-id-attr \
|
|
--location=global --format=json
|
|
|
|
POSITIONAL ARGUMENTS
|
|
FlagAttribute resource - Flag Attribute ID of the Flag Attribute to
|
|
describe. 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_attribute 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_ATTRIBUTE
|
|
ID of the flagAttribute or fully qualified identifier for the
|
|
flagAttribute.
|
|
|
|
To set the flag_attribute attribute:
|
|
▸ provide the argument flag_attribute 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_attribute 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.
|
|
|