1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 16:08:31 +00:00
gcloud-help/gcloud/beta/saas-runtime/flags/push
2026-04-08 12:08:12 +00:00

68 lines
2.5 KiB
Text

NAME
gcloud beta saas-runtime flags push - create Flags from a JSON manifest
file
SYNOPSIS
gcloud beta saas-runtime flags push --file=PATH_TO_FILE
(--unit-kind=UNIT_KIND : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Creates Flags based on the contents of a provided JSON manifest
file. Flags defined in the file will be created. If a Flag already exists
with the same type, it will be ignored. Otherwise, the command will exit
with an error.
EXAMPLES
To create flags from a manifest file named my_flags.json:
$ gcloud beta saas-runtime flags push --file=my_flags.json \
--unit-kind=my-unit-kind
REQUIRED FLAGS
--file=PATH_TO_FILE
Path to the JSON manifest file containing the flag definitions. The
manifest file must conform to the OpenFeature CLI flag manifest schema.
Use a full or relative path to a local file containing the value of
file.
UnitKind resource - UnitKind to push all the flags in the manifest file
to. 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 --unit-kind 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.
--unit-kind=UNIT_KIND
ID of the unitKind or fully qualified identifier for the unitKind.
To set the unit_kind attribute:
▸ provide the argument --unit-kind on the command line.
This flag 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 --unit-kind 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.
NOTES
This command is currently in beta and might change without notice.