Skip to content

Conversation

@rsamborski
Copy link
Member

Moving firewall samples to a different folder to align with folder structure agreed for future compute samples development.

@rsamborski rsamborski added api: compute Issues related to the Compute Engine API. samples Issues that are directly related to samples. labels Feb 10, 2022
@rsamborski rsamborski self-assigned this Feb 10, 2022
@snippet-bot
Copy link

snippet-bot bot commented Feb 10, 2022

You are about to delete the following sample browser pages.

Here is the summary of changes.

You are about to add 4 region tags.
You are about to delete 4 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@rsamborski rsamborski added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 11, 2022
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

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

Copy link
Member Author

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.

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?

Copy link
Member Author

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

Copy link
Contributor

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"

Copy link
Member Author

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.

Copy link
Member Author

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.

@rsamborski rsamborski requested a review from savijatv February 14, 2022 09:51
@rsamborski rsamborski removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 14, 2022
@rsamborski rsamborski requested a review from a team as a code owner February 14, 2022 10:58
…other tests that depend on the object are finished
…forcer which is sometimes very quick with rule removal
@rsamborski rsamborski merged commit 2db3322 into master Feb 16, 2022
@rsamborski rsamborski deleted the feat_compute_samples_refactor branch February 16, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: compute Issues related to the Compute Engine API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants