Skip to content

Commit

Permalink
Update speech api scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerjou Cheng committed Mar 31, 2016
1 parent 58ba309 commit 5c90700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class NonStreamingRecognizeClient {
Logger.getLogger(NonStreamingRecognizeClient.class.getName());

private static final List<String> OAUTH2_SCOPES =
Arrays.asList("https://www.googleapis.com/auth/xapi.zoo");
Arrays.asList("https://www.googleapis.com/auth/cloud-platform");

private final String host;
private final int port;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class RecognizeClient {
private final SpeechGrpc.SpeechStub stub;

private static final List<String> OAUTH2_SCOPES =
Arrays.asList("https://www.googleapis.com/auth/xapi.zoo");
Arrays.asList("https://www.googleapis.com/auth/cloud-platform");

/**
* Construct client connecting to Cloud Speech server at {@code host:port}.
Expand Down

0 comments on commit 5c90700

Please sign in to comment.