Skip to content

Commit 5c90700

Browse files
author
Jerjou Cheng
committed
Update speech api scopes
1 parent 58ba309 commit 5c90700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

speech/grpc/src/main/java/com/google/cloud/speech/grpc/demos/NonStreamingRecognizeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class NonStreamingRecognizeClient {
6868
Logger.getLogger(NonStreamingRecognizeClient.class.getName());
6969

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

7373
private final String host;
7474
private final int port;

speech/grpc/src/main/java/com/google/cloud/speech/grpc/demos/RecognizeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public class RecognizeClient {
7878
private final SpeechGrpc.SpeechStub stub;
7979

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

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

0 commit comments

Comments
 (0)