-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(compute): Firewall samples refactor #1593
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
Conversation
…h parallel run in different PHP versions
| with [additional scopes][additional_scopes]. | ||
|
|
||
| 1. You can create a [Service Account key file][service_account_key_file]. This file can be used to | ||
| authenticate to Google Cloud Platform services from any environment. To use |
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.
authenticate Google Cloud Platform services ....
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.
Sorry, but I don't agree with this suggestion. We are authenticating our calls to Google Cloud Platform services/APIs. Removing 'to' means we run the platform services and authenticate them to some other system.
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.
The context is not clear. Does it mean that the key file is used to 'access' GCP services from any environment?
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.
Yes. You basically use the key to access GCP services from anywhere (local machine, hosted environment, other cloud, etc.)
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.
I agree that "to" sounds a big clumsy here, and perhaps it should be "authenticate for" or "authenticate with"
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.
I have chatted with Alberto (TW in Compute) - he did a quick search in Code Search, and "to" is much more prevalent than "for":
Plus I also found this as an example of to - GitHub Docs.
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.
Found one more twist here: https://developers.google.com/style/word-list#authentication-and-authorization
The doc suggests using authenticate against, which seems to work too in this case.
…other tests that depend on the object are finished
…forcer which is sometimes very quick with rule removal
Moving firewall samples to a different folder to align with folder structure agreed for future compute samples development.