Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support quota project override via client options #431

Closed
@busunkim96

Description

@busunkim96

Clients should allow the quota project (user project?) to be set through client options.

The credential provided here should override any quota project attached to the credentials.

Depends on:

from google.cloud import texttospeech

client = texttospeech.textToSpeechClient(
    client_options={"quota_project": "myproject-123"}
)

# requests set `X-Goog-User-Project` header to 'myproject-123'

Internal link: go/extensible-client-options-exit

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions