GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Clients should support credentials_file via client_options · Issue #432 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Clients should support credentials_file via client_options #432

Copy link
Copy link
Closed
Closed
Clients should support credentials_file via client_options#432
Copy link
Assignees
busunkim96
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@busunkim96
busunkim96
opened on Jun 2, 2020
Issue body actions

Clients should allow credentials_file to be specified through client_options. This credentials_file can be a service account json file or an authorized user file.

Existing methods on the client from_service_account_json and from_service_account_file will be kept. https://googleapis.dev/python/texttospeech/latest/gapic/v1/api.html#google.cloud.texttospeech_v1.TextToSpeechClient.from_service_account_file

from google.cloud import texttospeech

client = texttospeech.TextToSpeechClient(
    client_options={"credentials_file": "path/to/credentials.json"}
)

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

Activity

  1. busunkim96
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Jun 2, 2020
  2. busunkim96 commented on Jun 10, 2020

    @busunkim96
    busunkim96
    on Jun 10, 2020
    ContributorAuthor
    More actions

    There's a function in the auth library the reads credentials from a file that we can use for this

    https://github.com/googleapis/google-auth-library-python/blob/master/google/auth/_default.py#L72

  3. busunkim96
    closed this as completedon Jun 24, 2020
  4. JustinBeckwith
    assigned
    busunkim96
    on Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @busunkim96
    busunkim96

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.