Skip to content

Translate should accept an environment variable to change the endpoint #1655

@jgeewax

Description

@jgeewax

Looks like https://github.com/GoogleCloudPlatform/google-cloud-node/blob/master/packages/translate/src/index.js#L378 has the endpoint for Translate hard-coded. This should be able to be overridden by an environment variable, say GOOGLE_CLOUD_TRANSLATE_ENDPOINT ?

Metadata

Metadata

Labels

api: translateIssues related to the Cloud Translation API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions