mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Aug 20 11:13:38 UTC 2025
This commit is contained in:
parent
d6d01162c7
commit
470b35e498
164 changed files with 1705 additions and 392 deletions
|
|
@ -5,8 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha artifacts generic download --destination=DESTINATION
|
||||
--package=ARTIFACT --version=VERSION [--chunk-size=CHUNK_SIZE]
|
||||
[--name=NAME] [--location=LOCATION --repository=REPOSITORY]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--name=NAME] [--parallelism=PARALLELISM]
|
||||
[--location=LOCATION --repository=REPOSITORY] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Download a generic artifact from a generic artifact repository.
|
||||
|
|
@ -20,6 +20,15 @@ EXAMPLES
|
|||
--version=v0.1.0 --destination=/path/to/destination/ \
|
||||
--name=myfile.txt
|
||||
|
||||
To download version v0.1.0 of myfile.txt located in a repository in
|
||||
"us-central1" to /path/to/destination/ using parallel multipart download
|
||||
with 4 threads:
|
||||
|
||||
$ gcloud alpha artifacts generic download --location=us-central1 \
|
||||
--project=myproject --repository=myrepo --package=mypackage \
|
||||
--version=v0.1.0 --destination=/path/to/destination/ \
|
||||
--name=myfile.txt --parallelism=4
|
||||
|
||||
To download version v0.1.0 of myfile.txt in 8000 byte chunks located in a
|
||||
repository in "us-central1" to /path/to/destination/:
|
||||
|
||||
|
|
@ -54,6 +63,10 @@ OPTIONAL FLAGS
|
|||
--name=NAME
|
||||
If specified, the file name within the artifact to download.
|
||||
|
||||
--parallelism=PARALLELISM
|
||||
Specifies the number of threads to use for downloading the file in
|
||||
parallel.
|
||||
|
||||
Repository resource - The Artifact Registry repository. If not specified,
|
||||
the current artifacts/repository is used. The arguments in this group can
|
||||
be used to specify the attributes of this resource. (NOTE) Some attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue