googleapis / googleapis/gapic-generator-php

add $apiKey to documented constructor options

Open
#793 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.