Skip to content

Remove project id requirement for creating a GCS client. #2038

Merged
shinfan merged 1 commit intogoogleapis:masterfrom
anuraaga:gcs_noproject
May 10, 2017
Merged

Remove project id requirement for creating a GCS client. #2038
shinfan merged 1 commit intogoogleapis:masterfrom
anuraaga:gcs_noproject

Conversation

@anuraaga
Copy link

@anuraaga anuraaga commented May 8, 2017

Project id is only required for creating buckets, not operating on them, so it doesn't make sense to make it required for all cases.

I currently have some code that only operates on an existing bucket, and literally set the project id to "devnull" to prevent users from having to provide a valid project id which is not necessary.

…s only required for creating buckets, not operating on them, so it doesn't make sense to make it required for all cases.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 8, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0008%) to 80.883% when pulling 71d854a on anuraaga:gcs_noproject into d70f696 on GoogleCloudPlatform:master.

Copy link
Contributor

@shinfan shinfan left a comment

Choose a reason for hiding this comment

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

Please shorten the title of the PR before merging, right now it is too long.

@anuraaga anuraaga changed the title Remove project id requirement for creating a GCS client. Project id i… Remove project id requirement for creating a GCS client. May 10, 2017
@anuraaga
Copy link
Author

@shinfan Shortened the PR title, though feel free to edit it further as you see fit.

Don't have write access so will need someone to merge :)

@shinfan shinfan merged commit c61a9c6 into googleapis:master May 10, 2017
chingor13 pushed a commit that referenced this pull request Jan 26, 2026
#2038)

* chore: Update generation configuration at Fri Jan 23 22:02:56 UTC 2026

* chore: generate libraries at Fri Jan 23 22:03:29 UTC 2026
chingor13 pushed a commit that referenced this pull request Feb 20, 2026
…v1.43.1 (#2038)

* deps: update dependency com.google.http-client:google-http-client to v1.43.1

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Feb 20, 2026
lqiu96 pushed a commit that referenced this pull request Mar 20, 2026
#2038)

* chore: Update generation configuration at Fri Jan 23 22:02:56 UTC 2026

* chore: generate libraries at Fri Jan 23 22:03:29 UTC 2026
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.

4 participants