Google Cloud Copy

Google Cloud Copy

Certified

Copy an object between GCS buckets

Copies an object to a destination path; optionally deletes the source after a successful copy.

yaml
type: io.kestra.plugin.gcp.gcs.Copy

Move a file between bucket path

yaml
id: gcp_gcs_copy
namespace: company.team

tasks:
  - id: copy
    type: io.kestra.plugin.gcp.gcs.Copy
    from: "gs://my_bucket/dir/file.csv"
    to: "gs://my_bucket/archive/file.csv"
    delete: true
Properties
Defaultfalse

Delete source on success

If true, removes the source object after a successful copy; default false

Source object URI

Fully qualified gs:// path to copy from

The GCP service account to impersonate

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

SubTypestring
Default["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used

The GCP service account

Destination object URI

Fully qualified gs:// path to copy to

Formaturi

Destination URI

Final gs:// URI of the copied object

Unitbytes

Size of the copied file.