-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Clients should allow scopes to be set via client_options.
The scopes provided should override the scopes of the OAuth access token.
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.
Metadata
Metadata
Assignees
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.