1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Wed Apr 6 08:36:53 UTC 2022

This commit is contained in:
Automated 2022-04-06 08:36:53 +00:00
parent 9bf28f1efe
commit f88a614da8
221 changed files with 7174 additions and 449 deletions

View file

@ -58,27 +58,31 @@ FLAGS
At most one of these can be specified:
--airflow-version=AIRFLOW_VERSION
Upgrade the environment to a later Airflow version in-place.
Upgrade the environment to a later Apache Airflow version in-place.
Must be of the form X.Y[.Z].
Must be of the form X[.Y[.Z]], where [] denotes optional fragments.
The Airflow version is a semantic version. The patch version can be
omitted and the current version will be selected. The version numbers
that are used will be stored.
The Apache Airflow version is a semantic version or an alias in the
form of major or major.minor version numbers, resolved to the latest
matching Apache Airflow version supported in the current Cloud
Composer version. The resolved version is stored in the upgraded
environment.
--image-version=IMAGE_VERSION
Upgrade the environment to a later version in-place.
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
composer-A[.B.C[-D.E]]-airflow-X.Y[.Z].
composer-A[.B.C[-D.E]]-airflow-X[.Y[.Z]], where [] denotes optional
fragments.
The Cloud Composer and Airflow versions are semantic versions. latest
can be provided instead of an explicit Cloud Composer version number
indicating that the server will replace latest with the current Cloud
Composer version. For the Apache Airflow portion, the patch version
can be omitted and the current version will be selected. The version
numbers that are used will be stored.
The Cloud Composer portion of the image version is a semantic version
or an alias in the form of major version number or latest, resolved
to the current Cloud Composer version. The Apache Airflow portion of
the image version is a semantic version or an alias in the form of
major or major.minor version numbers, resolved to the latest matching
Apache Airflow version supported in the given Cloud Composer version.
The resolved versions are stored in the upgraded environment.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -183,11 +183,15 @@ FLAGS
At most one of these can be specified:
--airflow-version=AIRFLOW_VERSION
Version of Airflow to run in the environment.
Version of Apache Airflow to run in the environment.
Must be of the form `X.Y[.Z]`.
Must be of the form `X[.Y[.Z]]`, where `[]` denotes optional fragments.
The current Cloud Composer version will be used within the created
environment. The Apache Airflow version is a semantic version or an alias
in the form of major or major.minor version numbers, resolved to the
latest matching Apache Airflow version supported in the current Cloud
Composer version. The resolved version is stored in the created
environment.
--image-version=IMAGE_VERSION
@ -195,15 +199,16 @@ FLAGS
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
`composer-A[.B.C[-D.E]]-airflow-X.Y[.Z]`.
`composer-A[.B.C[-D.E]]-airflow-X[.Y[.Z]]`, where `[]` denotes optional
fragments.
The Cloud Composer and Airflow versions are semantic versions.
`latest` can be provided instead of an explicit Cloud Composer
version number indicating that the server will replace `latest`
with the current Cloud Composer version. For the Apache Airflow
portion, the patch version can be omitted and the current
version will be selected. The version numbers that are used will
be stored.
The Cloud Composer portion of the image version is a semantic version or
an alias in the form of major version number or `latest`, resolved to the
current Cloud Composer version. The Apache Airflow portion of the image
version is a semantic version or an alias in the form of major or
major.minor version numbers, resolved to the latest matching Apache
Airflow version supported in the given Cloud Composer version. The
resolved versions are stored in the created environment.
Private Clusters

View file

@ -21,6 +21,9 @@ GCLOUD WIDE FLAGS
GROUPS
GROUP is one of the following:
snapshots
(BETA) Saves and loads snapshots of environment.
storage
(BETA) Manage Cloud Storage objects stored as part of Cloud Composer
environments.

View file

@ -0,0 +1,31 @@
NAME
gcloud beta composer environments snapshots - saves and loads snapshots of
environment
SYNOPSIS
gcloud beta composer environments snapshots COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) The gcloud beta composer environments snapshots command group saves
and loads snapshots of Cloud Composer environments.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
load
(BETA) Load a snapshot into the environment.
save
(BETA) Save a snapshot of the environment.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha composer environments snapshots

View file

@ -0,0 +1,75 @@
NAME
gcloud beta composer environments snapshots load - load a snapshot into the
environment
SYNOPSIS
gcloud beta composer environments snapshots load
(ENVIRONMENT : --location=LOCATION) --snapshot-path=SNAPSHOT_PATH
[--async] [--skip-pypi-packages-installation] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Load a snapshot into the environment.
EXAMPLES
To load a snapshot into the environment named env-1, run:
$ gcloud beta composer environments snapshots load env-1 \
--snapshot-path=gs://my-bucket/path-to-the-specific-snapshot
POSITIONAL ARGUMENTS
Environment resource - The environment where to load a snapshot. 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 environment 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.
ENVIRONMENT
ID of the environment or fully qualified identifier for the
environment. To set the environment attribute:
▸ provide the argument environment on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Compute Engine region in which to create the environment. To set the
location attribute:
▸ provide the argument environment on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property composer/location.
REQUIRED FLAGS
--snapshot-path=SNAPSHOT_PATH
The Cloud Storage path to load the snapshot from. It must start with
prefix gs:// and one needs to specify a single snapshot that should be
loaded.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--skip-pypi-packages-installation
When specified, skips the installation of custom PyPI packages from the
snapshot.
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. This
variant is also available:
$ gcloud alpha composer environments snapshots load

View file

@ -0,0 +1,69 @@
NAME
gcloud beta composer environments snapshots save - save a snapshot of the
environment
SYNOPSIS
gcloud beta composer environments snapshots save
(ENVIRONMENT : --location=LOCATION) [--async]
[--snapshot-location=SNAPSHOT_LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Save a snapshot of the environment.
EXAMPLES
To save a snapshot of the environment named env-1, run:
$ gcloud beta composer environments snapshots save env-1
POSITIONAL ARGUMENTS
Environment resource - The environment where the snapshot must be saved.
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 environment 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.
ENVIRONMENT
ID of the environment or fully qualified identifier for the
environment. To set the environment attribute:
▸ provide the argument environment on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Compute Engine region in which to create the environment. To set the
location attribute:
▸ provide the argument environment on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property composer/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--snapshot-location=SNAPSHOT_LOCATION
The Cloud Storage location where to save the snapshot. It must start
with the prefix gs://. Default value is /snapshots directory in the
Cloud Storage bucket of the environment.
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. This
variant is also available:
$ gcloud alpha composer environments snapshots save

View file

@ -99,27 +99,32 @@ REQUIRED FLAGS
At most one of these can be specified:
--airflow-version=AIRFLOW_VERSION
Upgrade the environment to a later Airflow version in-place.
Upgrade the environment to a later Apache Airflow version in-place.
Must be of the form X.Y[.Z].
Must be of the form X[.Y[.Z]], where [] denotes optional fragments.
The Airflow version is a semantic version. The patch version can be
omitted and the current version will be selected. The version
numbers that are used will be stored.
The Apache Airflow version is a semantic version or an alias in the
form of major or major.minor version numbers, resolved to the
latest matching Apache Airflow version supported in the current
Cloud Composer version. The resolved version is stored in the
upgraded environment.
--image-version=IMAGE_VERSION
Upgrade the environment to a later version in-place.
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
composer-A[.B.C[-D.E]]-airflow-X.Y[.Z].
composer-A[.B.C[-D.E]]-airflow-X[.Y[.Z]], where [] denotes optional
fragments.
The Cloud Composer and Airflow versions are semantic versions.
latest can be provided instead of an explicit Cloud Composer
version number indicating that the server will replace latest with
the current Cloud Composer version. For the Apache Airflow portion,
the patch version can be omitted and the current version will be
selected. The version numbers that are used will be stored.
The Cloud Composer portion of the image version is a semantic
version or an alias in the form of major version number or latest,
resolved to the current Cloud Composer version. The Apache Airflow
portion of the image version is a semantic version or an alias in
the form of major or major.minor version numbers, resolved to the
latest matching Apache Airflow version supported in the given Cloud
Composer version. The resolved versions are stored in the upgraded
environment.
Group of arguments for setting master authorized networks configuration.