Skip to content

Add absl::Cord to storage/async/write_payload.h constructors #14868

@laramiel

Description

@laramiel

What component of google-cloud-cpp is this feature request for?
google/cloud/storage async api

Is your feature request related to a problem? Please describe.
I have absl::Cord data to write to GCS; the current api uses absl::Cord internally but does not allow passing a Cord to the call.

Describe the solution you'd like
Add the following constructor:

  explicit WritePayload(absl::Cord p) : impl_(std::move(p)) {}

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions