adding RequesterPays snippets #2393
Merged
jabubake merged 3 commits intogoogleapis:masterfrom Sep 13, 2017
Merged
Conversation
RequesterPays snippets (DO NOT MERGE)RequesterPays snippets
frankyn
approved these changes
Sep 11, 2017
Contributor
|
Reviewed for sample consistency and clarity. Thanks Jisha! |
Contributor
Author
|
@shinfan @vam-google : hope one of you can quickly review these requester pays snippets. |
Contributor
|
LGTM |
vam-google
approved these changes
Sep 13, 2017
| byte[] readBytes = storage.readAllBytes(bucketName, srcFilename, option); | ||
|
|
||
| // write out to file | ||
| PrintStream out = new PrintStream(new FileOutputStream(destFilePath.toFile())); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
jabubake
commented
Sep 26, 2017
| // Instantiate a Google Cloud Storage client | ||
|
|
||
| // The project ID to bill | ||
| // String projectId = "my-billable-project-id"; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
chingor13
pushed a commit
that referenced
this pull request
Feb 20, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pending on resolution :
#2392
#2391
and merge:
#2387
FYI, @frankyn