NAME
    gcloud artifacts files download - download an Artifact Registry file

SYNOPSIS
    gcloud artifacts files download
        (FILE : --location=LOCATION --repository=REPOSITORY)
        --destination=DESTINATION [--allow-overwrite]
        [--local-filename=LOCAL_FILENAME] [--parallelism=PARALLELISM]
        [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    Downloads an Artifact Registry file based on file name.

EXAMPLES
    To download a file named myfile in project my-project under repository
    my-repo in us-central1 to the local path ~/:

        $ gcloud artifacts files download --location=us-central1 \
          --project=my-project --repository=my-repo --destination=~/ \
          myfile

    To download a file named myfile in project my-project under repository
    my-repo in us-central1 to the local path ~/ using parallel multipart
    download with 4 threads:

        $ gcloud artifacts files download --location=us-central1 \
          --project=my-project --repository=my-repo --destination=~/ \
          --parallelism=4 myfile

    To download a file named myfile in project my-project under repository
    my-repo in us-central1 to the local path ~/ with file overwriting enabled:

        $ gcloud artifacts files download --location=us-central1 \
          --project=my-project --repository=my-repo --destination=~/ \
          myfile --allow-overwrite

POSITIONAL ARGUMENTS
     File resource - The Artifact Registry file name. 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 file 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.

       FILE
          ID of the file or fully qualified identifier for the file.

          To set the name attribute:
          ▸ provide the argument file on the command line.

          This positional argument must be specified if any of the other
          arguments in this group are specified.

       --location=LOCATION
          Location of the file.

          To set the location attribute:
          ▸ provide the argument file on the command line with a fully
            specified name;
          ▸ provide the argument --location on the command line;
          ▸ set the property artifacts/location.

       --repository=REPOSITORY
          Repository of the file.

          To set the repository attribute:
          ▸ provide the argument file on the command line with a fully
            specified name;
          ▸ provide the argument --repository on the command line;
          ▸ set the property artifacts/repository.

REQUIRED FLAGS
     --destination=DESTINATION
        The path where you want to download the file.

OPTIONAL FLAGS
     --allow-overwrite
        If specified, the command overwrites an existing file

     --local-filename=LOCAL_FILENAME
        If specified, the name of the downloaded file on the local system is
        set to the value you use for LOCAL_FILENAME. Otherwise the name of the
        downloaded file is based on the file name in the registry.

     --parallelism=PARALLELISM
        Specifies the number of threads to use for downloading the file in
        parallel.

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.
