Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: repair mal-formed docstring #255

Merged
merged 2 commits into from Aug 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 7 additions & 4 deletions google/cloud/storage/blob.py
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