From 68bd9431b4cb60b94f077352f5d16caadb124d44 Mon Sep 17 00:00:00 2001 From: Danny Hermes <daniel.j.hermes@gmail.com> Date: Tue, 25 Jul 2017 10:31:53 -0700 Subject: [PATCH] Adding getter/setter note for Blob.metadata property. (#3647) Fixes #3645. --- storage/google/cloud/storage/blob.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/storage/google/cloud/storage/blob.py b/storage/google/cloud/storage/blob.py index d03d1364cf400..8d6ec2619ea16 100644 --- a/storage/google/cloud/storage/blob.py +++ b/storage/google/cloud/storage/blob.py @@ -1400,6 +1400,11 @@ def metadata(self): See https://cloud.google.com/storage/docs/json_api/v1/objects + :setter: Update arbitrary/application specific metadata for the + object. + :getter: Retrieve arbitrary/application specific metadata for + the object. + :rtype: dict or ``NoneType`` :returns: The metadata associated with the blob or ``None`` if the property is not set locally.