googleapis / googleapis/google-cloud-go

storage: support object custom metadata key deletes

Open
#4,045 0 comments 1 reaction 1 assignee Claimed by @cpriti-os View on GitHub
api: storage type: feature request
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

**Is your feature request related to a problem? Please describe.**
This came up in https://github.com/GoogleCloudPlatform/golang-samples/issues/2066

**Describe the solution you'd like**
The GCS API allows for specific object custom metadata keys to be deleted, but is not possible in Go Storage library.

To delete a specific key an example JSON structure must be sent:
```
{
"metadata": {
"key-to-delete": null
}
}
```

Currently the Go Storage client only allows deleting all metadata keys.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.