FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add system test of updating/deleting bucket labels. by tseaver · Pull Request #3715 · googleapis/google-cloud-python · GitHub

Add system test of updating/deleting bucket labels. - #3715

Merged
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:3711-storage-delete-bucket-labels
Aug 7, 2017
Merged

Add system test of updating/deleting bucket labels.#3715
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:3711-storage-delete-bucket-labels

Conversation

tseaver commented Aug 1, 2017
edited
Loading

Copy link
Copy Markdown
Contributor

Uses #3714 as a base.

Note that the test uses the new Bucket.update method, rather than Bucket.patch, because patch semantics might require that we remember deleted labels (in order to pass null as their value).

Closes #3711

tseaver added 3 commits August 1, 2017 16:41
Turns out some properties (i.e., 'labels', see #3711) behave differently
under 'patch semantics'[1], which makes 'update' useful.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch
Note that the test uses the new 'Bucket.update' method, rather than
'Bucket.patch', because patch semantics would require that we remember
deleted labels (in order to pass 'null' as their value).

Closes #7311
Show using 'bucket.update()' to avoid running into patch semantics.
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 1, 2017
tseaver requested review from dhermes and theacodes August 1, 2017 21:28
tseaver added api: storage Issues related to the Cloud Storage API. docs testing labels Aug 1, 2017
tseaver merged commit ac1b23b into googleapis:master Aug 7, 2017
tseaver deleted the 3711-storage-delete-bucket-labels branch August 7, 2017 16:11
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 21, 2017
…is#3715)

Turns out some properties (i.e., 'labels', see googleapis#3711) behave differently under 'patch semantics'[1], which makes 'update' useful.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch

Closes googleapis#7311
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
…is#3715)

Turns out some properties (i.e., 'labels', see googleapis#3711) behave differently under 'patch semantics'[1], which makes 'update' useful.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch

Closes googleapis#7311
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
…is#3715)

Turns out some properties (i.e., 'labels', see googleapis#3711) behave differently under 'patch semantics'[1], which makes 'update' useful.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch

Closes googleapis#7311
parthea pushed a commit that referenced this pull request Mar 9, 2026
Turns out some properties (i.e., 'labels', see #3711) behave differently under 'patch semantics'[1], which makes 'update' useful.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch

Closes #7311
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL