Is it possible to perform batch requests using the Google API Client Library for Go?
More precisely, I'd like to delete some disks; it would be great if I could avoid a request for each disk.
The batch request feature I'm referring to: https://cloud.google.com/compute/docs/api/how-tos/batch
The client library I'm using: https://github.com/googleapis/google-api-go-client
It seems there's also another client library, but without support for the Compute Engine, only metadata (?): https://github.com/GoogleCloudPlatform/google-cloud-go
I'm not sure but i think it can be done since we can dlete a disk using API call. A batch request consists of multiple API calls combined into one HTTP request, which can be sent to the batchPath specified in the API discovery document. The default path is /batch/api_name/api_version.
Example take a look on the Format of a batch request Here