Copy a file between bucket
Copy the file between Internal Storage or Google Cloud Storage file
yaml
type: "io.kestra.plugin.gcp.gcs.Copy"
Move a file between bucket path
yaml
id: gcp_gcs_copy
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: copy
type: io.kestra.plugin.gcp.gcs.Copy
from: "{{ inputs.file }}"
delete: true
Dynamic
YES
Default
false
Whether to delete the source files (from parameter) on success copy
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
The destination full uri
The full url will be like gs://{bucket}/{path}/{file}