Skip to content

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

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

Merged
merged 1 commit into from
May 10, 2017

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