- NAME
-
- gcloud beta saas-runtime flags releases create - create Flag Release
- SYNOPSIS
-
-
gcloud beta saas-runtime flags releases createFLAG_RELEASE--unit-kind=UNIT_KIND[--annotations=[ANNOTATIONS,…]] [--labels=[LABELS,…]] [--location=LOCATION] [--all-flags|--flag-sets=[FLAG_SETS,…] |--revisions=[REVISIONS,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Create a Flag Release. - EXAMPLES
-
To create a Flag Release, run:
gcloud beta saas-runtime flags releases create - POSITIONAL ARGUMENTS
-
-
FlagRelease resource - ID of the Flag Release:
"projects/{project}/locations/{location}/flagReleases/{flag_release_id}"This follows the standard Google Cloud naming scheme (URI). This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
flag_releaseon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
flag_releaseon the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
FLAG_RELEASE-
ID of the flagRelease or fully qualified identifier for the flagRelease.
To set the
flag_releaseattribute:-
provide the argument
flag_releaseon the command line.
-
provide the argument
-
provide the argument
-
FlagRelease resource - ID of the Flag Release:
- REQUIRED FLAGS
-
-
UnitKind resource - UnitKind (ID) this Flag Release applies to. This represents
a Cloud resource. (NOTE) Some attributes are not given arguments in this group
but can be set in other ways.
To set the
projectattribute:-
provide the argument
--unit-kindon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--unit-kindon the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
--unit-kind=UNIT_KIND-
ID of the unitKind or fully qualified identifier for the unitKind.
To set the
unit-kindattribute:-
provide the argument
--unit-kindon the command line.
-
provide the argument
-
provide the argument
-
UnitKind resource - UnitKind (ID) this Flag Release applies to. This represents
a Cloud resource. (NOTE) Some attributes are not given arguments in this group
but can be set in other ways.
- OPTIONAL FLAGS
-
--annotations=[ANNOTATIONS,…]-
Unstructured key-value map stored with a resource that may be set by external
tools to store and retrieve arbitrary metadata. Annotations are not queryable
and should be preserved when modifying objects.
KEY-
Sets
KEYvalue. VALUE-
Sets
VALUEvalue.
Shorthand Example:--annotations=string=string
JSON Example:--annotations='{"string": "string"}'
File Example:--annotations=path_to_file.(yaml|json)
--labels=[LABELS,…]-
Labels on the resource, which can be used for categorization.
KEY-
Keys must start with a lowercase character and contain only hyphens
(
-), underscores (_), lowercase characters, and numbers. VALUE-
Values must contain only hyphens (
-), underscores (_), lowercase characters, and numbers.
Shorthand Example:--labels=string=string
JSON Example:--labels='{"string": "string"}'
File Example:--labels=path_to_file.(yaml|json)
--location=LOCATION- For resources [flag_release, revisions, unit-kind], provides fallback value for resource location attribute. When the resource's full URI path is not provided, location will fallback to this flag value.
-
Flags for specifying the content of the release. You can use only one of the
following flags.
At most one of these can be specified:
--all-flags- All flags in the flag release's unit kind will be included to be rolled out.
--flag-sets=[FLAG_SETS,…]- Flag sets to be rolled out. All flags in provided flag sets that are in the flag release's unit kind will be included to be rolled out.
-
Or at least one of these can be specified:
-
FlagRevision resource - Flag Revisions (IDs) to be rolled out. This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the
projectattribute:-
provide the argument
--revisionson the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--revisionson the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
--revisions=[REVISIONS,…]-
IDs of the flagRevisions or fully qualified identifiers for the flagRevisions.
To set the
flag-revisionattribute:-
provide the argument
--revisionson the command line.
-
provide the argument
-
FlagRevision resource - Flag Revisions (IDs) to be rolled out. This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
- 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 helpfor details. - API REFERENCE
-
This command uses the
saasservicemgmt/v1beta1API. 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.
gcloud beta saas-runtime flags releases create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-07 UTC.