From a1787de01f91cc846fbc233d334e05e02fafa8a2 Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Thu, 20 Jul 2017 20:19:39 -0700 Subject: [PATCH] Adding getter/setter note for Blob.metadata property. 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 7d967a3e4901..73fd94404206 100644 --- a/storage/google/cloud/storage/blob.py +++ b/storage/google/cloud/storage/blob.py @@ -1399,6 +1399,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.