Upload a file to a GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.Upload"
yaml
id: gcp_gcs_upload
namespace: company.team
tasks:
- id: upload
type: io.kestra.plugin.gcp.gcs.Upload
from: "{{ inputs.file }}"
to: "gs://my_bucket/dir/file.csv"
Dynamic
YES
The blob's data cache control.
Dynamic
YES
The blob's data content disposition.
Dynamic
YES
The blob's data content encoding.
Dynamic
YES
The blob's data content type.
Dynamic
YES
The file to copy
Dynamic
YES
The GCP service account to impersonate.
Dynamic
YES
The GCP project ID.
SubType string
Dynamic
YES
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
Dynamic
YES
The GCP service account.
Dynamic
YES
The destination path
Format
uri