Skip to content
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

feat: introduce StorageControl #7245

Merged
merged 4 commits into from
Apr 26, 2024
Merged

feat: introduce StorageControl #7245

merged 4 commits into from
Apr 26, 2024

Conversation

bshaffer
Copy link
Contributor

No description provided.

@bshaffer bshaffer requested review from a team as code owners April 17, 2024 21:48
Copy link

snippet-bot bot commented Apr 17, 2024

Here is the summary of changes.

You are about to add 10 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

*/

return [
'interfaces' => [],
Copy link
Contributor

Choose a reason for hiding this comment

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

By it being empty does this mean REST is not available?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. This is where the http annotations would go. It being empty means someone trying to run this with the rest transport would get a PHP fatal error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is something we should be able to fix without too much trouble (see googleapis/gapic-generator-php#705)

Copy link
Contributor

Choose a reason for hiding this comment

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

I do not see a major issue into having an error thrown in case REST is specified. The library user does get an actionable insight in that case, so I think we could merge this PR and iterate with gapic-generators later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree! I was just hoping to release with it because it's a better experience. If we don't get it in by tomorrow, I will still merge this for the release.

@bshaffer bshaffer added do not merge Indicates a pull request not ready for merge, due to either quality or timing. next release PRs to be included in the next release labels Apr 22, 2024
@bshaffer
Copy link
Contributor Author

Adding "Do Not Merge" label because I'd like to get in googleapis/gapic-generator-php#705 before we release this (although it isn't a blocker)

'defaultScopes' => self::$serviceScopes,
],
'transportConfig' => [
'rest' => [
Copy link
Contributor

Choose a reason for hiding this comment

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

This mentions rest though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right! Thank you for pointing this out. We should be able to remove this in googleapis/gapic-generator-php#707

@bshaffer bshaffer removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 26, 2024
@bshaffer bshaffer enabled auto-merge (squash) April 26, 2024 00:04
@bshaffer bshaffer merged commit 5cd4215 into main Apr 26, 2024
24 checks passed
@bshaffer bshaffer deleted the introduce-storage-control branch April 26, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release PRs to be included in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants