-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Storage] Update download requester pays sample #2466
Conversation
Found an issue in my PR. Fixing now. |
PTAL, thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Frank, can you also update
https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java#L1103 to use BucketField.BILLING to retrieve the Requester-Pays status ? Please merge after a google-cloud-java
release, so that these updates are available in the release package.
@@ -66,6 +66,7 @@ | |||
import java.net.URL; | |||
import java.nio.ByteBuffer; | |||
import java.nio.file.Path; | |||
import java.nio.file.Paths; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
Signed it! |
CLAs look good, thanks! |
Thanks for your help @jabubake. I have updated the sample. PTAL. |
LGTM : might want to hold on merge/ doc update till a |
Thanks Jisha! Do you know when the next release will be out? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @vam-google! I want to verify that the library was released and it should now contain the latest changes made for this PR to be able to merge. Is this the current state? |
I think the release was completed 2 days ago. @neozwu please confirm. But in general I don't see any reasons to not push this change. |
You are good to go on merge. See /releases for this repository |
Thank you @vam-google and @jabubake! |
This PR is to update the download sample for requester pays. It also fixes a object type mismatch in the commented section.
@jabubake if I missed something on updating another requester pays sample with the recent fixes please let me know and I'll resolve the issues.