Hello,
I'm using the google drive api v3 for Go to send requests (update), and I'm trying to remove appProperties I created on a file.
Here is the comment from drive-gen.go:
type File struct {
// AppProperties: A collection of arbitrary key-value pairs which are
// private to the requesting app.
// Entries with null values are cleared in update and copy requests.
AppProperties map[string]string `json:"appProperties,omitempty"`
I guess this comment is a copy from other implementation, since you can't nil a string in Go, or maybe it means that if appProperties is nil, it is completely removed.
I tried to use NullFields and ForceSendFields, but based on the implementation, it seems to only works on keys (like appProperties) in the file when it is serialized, and it doesn't parse recursively.
Is there a way to remove a property?