Skip to content

adding RequesterPays snippets #2393

Merged
jabubake merged 3 commits intogoogleapis:masterfrom
jabubake:storage-requesterpay-samples
Sep 13, 2017
Merged

adding RequesterPays snippets #2393
jabubake merged 3 commits intogoogleapis:masterfrom
jabubake:storage-requesterpay-samples

Conversation

@jabubake
Copy link
Contributor

Pending on resolution :
#2392
#2391

and merge:
#2387

FYI, @frankyn

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 29, 2017
@jabubake jabubake changed the title adding RequesterPays snippets (DO NOT MERGE) adding RequesterPays snippets Sep 1, 2017
@frankyn
Copy link
Contributor

frankyn commented Sep 11, 2017

Reviewed for sample consistency and clarity. Thanks Jisha!

@jabubake
Copy link
Contributor Author

@shinfan @vam-google : hope one of you can quickly review these requester pays snippets.

@shinfan
Copy link
Contributor

shinfan commented Sep 13, 2017

LGTM

Copy link
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

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

LGTM

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.

@jabubake jabubake merged commit cf71a20 into googleapis:master Sep 13, 2017
@jabubake jabubake deleted the storage-requesterpay-samples branch September 13, 2017 23:01
// Instantiate a Google Cloud Storage client

// The project ID to bill
// String projectId = "my-billable-project-id";

This comment was marked as spam.

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>
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.

5 participants