Synchronize new proto/yaml changes.
PiperOrigin-RevId: 194130268
diff --git a/google/cloud/speech/v1p1beta1/cloud_speech.proto b/google/cloud/speech/v1p1beta1/cloud_speech.proto
index da9e0b2..77e4e10 100644
--- a/google/cloud/speech/v1p1beta1/cloud_speech.proto
+++ b/google/cloud/speech/v1p1beta1/cloud_speech.proto
@@ -295,19 +295,11 @@
// version of the specified model does not exist, then the speech is
// recognized using the standard version of the specified model.
//
- // Enhanced speech models require that you enable audio logging for
- // your request. To enable audio logging, set the `loggingConsentState` field
- // to ENABLED in the [GoogleDataCollectionConfig][google.cloud.speech.v1p1beta1.GoogleDataCollectionConfig] section of your request.
- // You must also opt-in to the audio logging alpha using the instructions in
- // the [alpha documentation](/speech/data-sharing). If you set `use_enhanced`
- // to true and you have not enabled audio logging, then you will receive
- // an error.
+ // Enhanced speech models require that you opt-in to the audio logging using
+ // instructions in the [alpha documentation](/speech/data-sharing). If you set
+ // `use_enhanced` to true and you have not enabled audio logging, then you
+ // will receive an error.
bool use_enhanced = 14;
-
- // *Optional* Contains settings to opt-in to allow Google to
- // collect and use data from this request to improve Google's products and
- // services.
- GoogleDataCollectionConfig google_data_collection_opt_in = 10;
}
// Description of audio data to be recognized.
@@ -441,20 +433,6 @@
string audio_topic = 10;
}
-// Google data collection opt-in settings.
-message GoogleDataCollectionConfig {
- // Speech content will not be logged until authorized consent is opted in.
- // Once it is opted in, this flag enables/disables logging to override that
- // consent. default = ENABLED (logging due to consent).
- enum LoggingConsentState {
- ENABLED = 0;
-
- DISABLED = 1;
- }
-
- LoggingConsentState logging_consent_state = 1;
-}
-
// Provides "hints" to the speech recognizer to favor specific words and phrases
// in the results.
message SpeechContext {
@@ -652,6 +630,8 @@
float confidence = 2;
// Output only. A list of word-specific information for each recognized word.
+ // Note: When enable_speaker_diarization is true, you will see all the words
+ // from the beginning of the audio.
repeated WordInfo words = 3;
}