Module batch (2.8.0)

Batch updates / deletes of storage buckets / blobs.

See https://cloud.google.com/storage/docs/json_api/v1/how-tos/batch

Classes

Batch

Batch(client)

Proxy an underlying connection, batching up change operations.

Parameter
NameDescription
client Client

The client to use for making connections.

MIMEApplicationHTTP

MIMEApplicationHTTP(method, uri, headers, body)

MIME type for application/http.

Constructs payload from headers and body

Parameters
NameDescription
method str

HTTP method

uri str

URI for HTTP request

headers dict

HTTP headers

body str

(Optional) HTTP payload