googleapis / googleapis/gapic-generator-php
add $apiKey to documented constructor options
Open
priority: p3
type: feature request
- Dominant language
- PHP
- Stars
- 14
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
The [ClientOptions](https://docs.cloud.google.com/php/docs/reference/gax/latest/Options.ClientOptions#_Google_ApiCore_Options_ClientOptions__setApiKey__) class supports `apiKey`, but it's not documented in the client constructor. This is probably because it isn't supported everywhere, but we can add to the documentation that it might not be supported. The API throws a "Not Implemented" error if it isn't supported, so there's no reason to not document it.
Contributor guide
Assessment
This issue has not been assessed yet.