-
Notifications
You must be signed in to change notification settings - Fork 1.1k
translate and vision API's seem to ignore ApplicationDefault credentials #2158
Copy link
Copy link
Closed
Labels
api: translationIssues related to the Cloud Translation API API.Issues related to the Cloud Translation API API.api: videointelligenceIssues related to the Video Intelligence API API.Issues related to the Video Intelligence API API.api: visionIssues related to the Cloud Vision API.Issues related to the Cloud Vision API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.
Metadata
Metadata
Assignees
Labels
api: translationIssues related to the Cloud Translation API API.Issues related to the Cloud Translation API API.api: videointelligenceIssues related to the Video Intelligence API API.Issues related to the Video Intelligence API API.api: visionIssues related to the Cloud Vision API.Issues related to the Cloud Vision API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.
When I was testing gh/gcp/java-docs-samples, by going to the root folder and setting
GOOGLE_CLOUD_PROJECT=java-docs-samples-testingand being authenticated as me in thegcloudcommand line tool. Then doingmvn clean verifythe first problem is ontranslateand it's fixed by settingGOOGLE_APPLICATION_CREDENTIALS.This is wrong.
@gguuss FYI