Download
Download a file from a GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.Download"
Examples
yaml
id: gcp_gcs_download
namespace: company.team
tasks:
- id: download
type: io.kestra.plugin.gcp.gcs.Download
from: "gs://my_bucket/dir/file.csv"
Properties
from string
The file to copy
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
bucket string
The bucket of the downloaded file
path string
The path on the bucket of the downloaded file
uri string
Format
uri
The url of the downloaded file on kestra storage