Hi,
I am trying to find a documentation for how to create an annotator client with a credentials file. I do not want to use goolge default credentials. When using the translate API, I load my credentials file like so:
Credentials creds = ServiceAccountCredentials.fromStream(new FileInputStream("/path/to/credential/file"));
return TranslateOptions.newBuilder().setCredentials(creds).build().getService();
What is the equivalent way in Vision?
Hi,
I am trying to find a documentation for how to create an annotator client with a credentials file. I do not want to use goolge default credentials. When using the translate API, I load my credentials file like so:
What is the equivalent way in Vision?