Question
We reported a bug to googleapis/google-cloud-go#10911 (google-cloud-storage)
It seems like the workaround of using storage.WithJSONReads() works for us, however that means we need to use the storage module of google-cloud directly which we want to avoid.
Now by default when go-cloud interacts with google-buckets, it uses the XML api and not the JSON api, however the XML api doesn't work in our use case.
Is it possible to make sure that go-cloud when interacting with google buckets would use the JSON api?
Question
We reported a bug to googleapis/google-cloud-go#10911 (google-cloud-storage)
It seems like the workaround of using
storage.WithJSONReads()works for us, however that means we need to use the storage module of google-cloud directly which we want to avoid.Now by default when
go-cloudinteracts with google-buckets, it uses the XML api and not the JSON api, however the XML api doesn't work in our use case.Is it possible to make sure that
go-cloudwhen interacting with google buckets would use the JSON api?