Clients should allow `scopes` to be set via `client_options`. The scopes provided should override the scopes of the OAuth access token. ```py from google.cloud import texttospeech client = texttospeech.textToSpeechClient( client_options={"scopes": ["..", "..."]} ) ``` Internal link: go/extensible-client-options-exit Many credentials types prohibit modifying the scopes on the original credential, so we will use `with_scopes`.
Clients should allow
scopesto be set viaclient_options.The scopes provided should override the scopes of the OAuth access token.
Internal link: go/extensible-client-options-exit
Many credentials types prohibit modifying the scopes on the original credential, so we will use
with_scopes.