-
Notifications
You must be signed in to change notification settings - Fork 166
Description
Description
The XML-Api and the Json-API are supporting a large set of parameters as described at https://cloud.google.com/storage/docs/xml-api/reference-headers.
Into those parameters you can find very useful features like x-goog-metageneration which let you control how to deal with versions and also blocking rewriting of blobs in a bucket.
These API used to be available in the AppEngine library for google cloud storage as you can see at https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/functions#open
Proposition
Adds support for extended options on different operations like upload_from_string and delete, something like:
def upload_from_string(self, data, content_type='text/plain', client=None,
predefined_acl=None, options=None):Which would like you pick and sets of options from https://cloud.google.com/storage/docs/xml-api/reference-headers