Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -3543,10 +3543,13 @@ def custom_time(self):

@custom_time.setter
def custom_time(self, value):
"""Set the custom time for the object. Once set it can't be unset
and only changed to a custom datetime in the future. If the
custom_time must be unset, you must either perform a rewrite operation
or upload the data again.
"""Set the custom time for the object.

Once set on the server side object, this value can't be unset, but may
only changed to a custom datetime in the future.

If :attr:`custom_time` must be unset, either perform a rewrite
operation or upload the data again.

See https://cloud.google.com/storage/docs/json_api/v1/objects

Expand Down