Skip to content

Commit

Permalink
feat: add output_config request field
Browse files Browse the repository at this point in the history
Committer: @cherba
PiperOrigin-RevId: 397621106
  • Loading branch information
Google APIs authored and copybara-github committed Sep 19, 2021
1 parent 7c4eb0b commit 1872f45
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions google/cloud/speech/v1/cloud_speech.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ message LongRunningRecognizeRequest {

// Required. The audio data to be recognized.
RecognitionAudio audio = 2 [(google.api.field_behavior) = REQUIRED];

// Optional. Specifies an optional destination for the recognition results.
TranscriptOutputConfig output_config = 4 [(google.api.field_behavior) = OPTIONAL];
}

// Specifies an optional destination for the recognition results.
message TranscriptOutputConfig {
oneof output_type {
// Specifies a Cloud Storage URI for the recognition results. Must be
// specified in the format: `gs://bucket_name/object_name`, and the bucket
// must already exist.
string gcs_uri = 1;
}
}

// The top-level message sent by the client for the `StreamingRecognize` method.
Expand Down

0 comments on commit 1872f45

Please sign in to comment.