Skip to content

docs: intra-bucket copy/move for GCP Storage Bucket binding#5218

Draft
nelson-parente wants to merge 1 commit into
dapr:v1.19from
nelson-parente:docs/gcp-bucket-intra-bucket-copy-move
Draft

docs: intra-bucket copy/move for GCP Storage Bucket binding#5218
nelson-parente wants to merge 1 commit into
dapr:v1.19from
nelson-parente:docs/gcp-bucket-intra-bucket-copy-move

Conversation

@nelson-parente

Copy link
Copy Markdown
Contributor

Summary

Documents the updated copy and move operations for the GCP Storage Bucket binding, which now support intra-bucket copy/move (Dapr 1.19):

  • destinationBucket is now optional — defaults to the component's configured bucket when omitted.
  • New optional destinationKey field — the destination object key; defaults to the source key when omitted.
  • At least one of destinationBucket / destinationKey must be provided (omitting both is an error).
  • Both operations are performed server-side and preserve content type, metadata, and ACLs.

Added intra-bucket examples for both copy and move (e.g., moving public/file.xlsxadhoc/file.xlsx within the same bucket).

Code: dapr/components-contrib#4410
Relates to: dapr/components-contrib#4377

Signed-off-by: nelson.parente <nelson_parente@live.com.pt>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GCP Storage Bucket binding documentation to reflect Dapr 1.19 behavior for copy and move, adding support for intra-bucket operations by making destination fields optional and documenting the new request shape and examples.

Changes:

  • Document destinationBucket as optional (defaults to the component bucket) for copy and move.
  • Add and document new optional destinationKey for copy and move (defaults to source key).
  • Add intra-bucket copy/move examples using destinationKey without destinationBucket, and clarify the “both omitted is an error” rule.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants