Upload
yaml
type: "io.kestra.plugin.gcp.gcs.upload"
Examples
yaml
id: gcp_gcs_upload
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: upload
type: io.kestra.plugin.gcp.gcs.Upload
from: "{{ inputs.file }}"
to: "gs://my_bucket/dir/file.csv"
yaml
id: load_to_cloud_storage
namespace: company.team
tasks:
- id: data
type: io.kestra.plugin.core.http.Download
uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/orders.csv
- id: cloud_storage
type: io.kestra.plugin.gcp.gcs.Upload
from: "{{ outputs.data.uri }}"
to: gs://kestra-demo/data.csv
Properties
cacheControl string
contentDisposition string
contentEncoding string
contentType string
from string
impersonatedServiceAccount string
projectId string
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
serviceAccount string
to string
Outputs
uri string
Format
uri