Storage: Fix locationType field is added in bucket by abhinav-qlogic · Pull Request #5725 · googleapis/google-cloud-java · GitHub
Skip to content

Storage: Fix locationType field is added in bucket#5725

Merged
JesseLovelace merged 5 commits into
googleapis:masterfrom
abhinav-qlogic:api-storage-5442
Jul 17, 2019
Merged

Storage: Fix locationType field is added in bucket#5725
JesseLovelace merged 5 commits into
googleapis:masterfrom
abhinav-qlogic:api-storage-5442

Conversation

@abhinav-qlogic

Copy link
Copy Markdown

Fixes #5442

Due to LocationType is a read-only field, So Have not added test case specific for dual-region or region locationType.

@abhinav-qlogic abhinav-qlogic requested a review from a team July 11, 2019 06:46
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 11, 2019
@pmakani pmakani added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 11, 2019
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jul 11, 2019
@codecov

codecov Bot commented Jul 11, 2019

Copy link
Copy Markdown

@chingor13 chingor13 changed the title Storage:Fix locationType field is added in bucket Storage: Fix locationType field is added in bucket Jul 11, 2019
}

@Override
public Builder setLocationType(String locationType) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a private setLocationType due to read-only.

}

@Override
public Builder setLocationType(String locationType) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Private here as well.

@JesseLovelace JesseLovelace self-requested a review July 11, 2019 23:36
@JesseLovelace JesseLovelace added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019

@damienlog damienlog left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of #

@frankyn

frankyn commented Jul 17, 2019 via email

Copy link
Copy Markdown
Contributor

@JesseLovelace JesseLovelace merged commit ec43a94 into googleapis:master Jul 17, 2019
@JesseLovelace JesseLovelace mentioned this pull request Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storage: Support bucket.locationType

7 participants