1
0
Fork 0
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:
Automated 2025-08-20 11:13:38 +00:00
parent d6d01162c7
commit 470b35e498
164 changed files with 1705 additions and 392 deletions

View file

@ -6,7 +6,8 @@ SYNOPSIS
gcloud artifacts attachments download
[ATTACHMENT : --location=LOCATION --repository=REPOSITORY]
--destination=DESTINATION [--chunk-size=CHUNK_SIZE]
[--oci-version-name=OCI_VERSION_NAME] [GCLOUD_WIDE_FLAG ...]
[--oci-version-name=OCI_VERSION_NAME] [--parallelism=PARALLELISM]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Download an Artifact Registry attachment from a repository.
@ -23,6 +24,12 @@ EXAMPLES
$ gcloud artifacts attachments download my-attachment \
--destination=/path/to/destination/ --chunk-size=8000
To download the attachment my-attachment using parallel multipart download
with 4 threads:
$ gcloud artifacts attachments download my-attachment \
--destination=/path/to/destination/ --parallelism=4
For Docker-format repositories only: to download the attachment stored in
the OCI version
projects/my-project/locations/us/repositories/my-repo/packages/my-package/versions/sha256:123
@ -95,6 +102,10 @@ OPTIONAL FLAGS
For Docker-format repositories only. The version name of the OCI
artifact to download.
--parallelism=PARALLELISM
Specifies the number of threads to use for downloading the attachment
files in parallel.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,