File tree Expand file tree Collapse file tree 3 files changed +0
-26
lines changed
speech/grpc/src/main/java/com/google/cloud/speech/grpc/demos Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- // Client that sends audio to Speech.AsyncRecognize via gRPC and returns longrunning operation.
18- // The results are received via the google.longrunning.Operations interface.
19- //
20- // Uses a service account for OAuth2 authentication, which you may obtain at
21- // https://console.developers.google.com
22- // API Manager > Google Cloud Speech API > Enable
23- // API Manager > Credentials > Create credentials > Service account key > New service account.
24- //
25- // Then set environment variable GOOGLE_APPLICATION_CREDENTIALS to the full path of that file.
26-
2717package com .google .cloud .speech .grpc .demos ;
2818
2919import com .google .auth .oauth2 .GoogleCredentials ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- // Client sends streaming audio to Speech.Recognize via gRPC and returns streaming transcription.
18- //
19- // Uses a service account for OAuth2 authentication, which you may obtain at
20- // https://console.developers.google.com
21- // API Manager > Google Cloud Speech API > Enable
22- // API Manager > Credentials > Create credentials > Service account key > New service account.
23- //
24- // Then set environment variable GOOGLE_APPLICATION_CREDENTIALS to the full path of that file.
2517
2618package com .google .cloud .speech .grpc .demos ;
2719
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- // Client that sends audio to Speech.SyncRecognize via gRPC and returns transcription.
18- //
19- // Uses a service account for OAuth2 authentication, which you may obtain at
20- // https://console.developers.google.com
21- // API Manager > Google Cloud Speech API > Enable
22- // API Manager > Credentials > Create credentials > Service account key > New service account.
23- //
24- // Then set environment variable GOOGLE_APPLICATION_CREDENTIALS to the full path of that file.
2517
2618package com .google .cloud .speech .grpc .demos ;
2719
You can’t perform that action at this time.
0 commit comments