Skip to content

Commit 1872f45

Browse files
Google APIscopybara-github
authored andcommitted
feat: add output_config request field
Committer: @cherba PiperOrigin-RevId: 397621106
1 parent 7c4eb0b commit 1872f45

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

google/cloud/speech/v1/cloud_speech.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,19 @@ message LongRunningRecognizeRequest {
9191

9292
// Required. The audio data to be recognized.
9393
RecognitionAudio audio = 2 [(google.api.field_behavior) = REQUIRED];
94+
95+
// Optional. Specifies an optional destination for the recognition results.
96+
TranscriptOutputConfig output_config = 4 [(google.api.field_behavior) = OPTIONAL];
97+
}
98+
99+
// Specifies an optional destination for the recognition results.
100+
message TranscriptOutputConfig {
101+
oneof output_type {
102+
// Specifies a Cloud Storage URI for the recognition results. Must be
103+
// specified in the format: `gs://bucket_name/object_name`, and the bucket
104+
// must already exist.
105+
string gcs_uri = 1;
106+
}
94107
}
95108

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

0 commit comments

Comments
 (0)