Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Apr 26, 2017

In some sense, this setter should be disabled for objects / blobs that already exist, but there is no way to tell without calling exists() and we SHOULD NOT require a round trip just to use a @property setter.

Instead, we rely on the backend (and the documentation) to inform users when it is OK to use the setter.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 26, 2017
@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Apr 26, 2017
@dhermes dhermes merged commit ce043bb into googleapis:master Apr 27, 2017
@dhermes dhermes deleted the storage-class-setter branch April 27, 2017 17:27
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants