diff --git a/metadata/V2/AnswerRecord.php b/metadata/V2/AnswerRecord.php
index c86fc73..7fc56b2 100644
Binary files a/metadata/V2/AnswerRecord.php and b/metadata/V2/AnswerRecord.php differ
diff --git a/metadata/V2/AudioConfig.php b/metadata/V2/AudioConfig.php
index a7bfc1e..97f225d 100644
Binary files a/metadata/V2/AudioConfig.php and b/metadata/V2/AudioConfig.php differ
diff --git a/src/V2/AgentAssistantFeedback/SummarizationFeedback.php b/src/V2/AgentAssistantFeedback/SummarizationFeedback.php
index 535a439..f6729e6 100644
--- a/src/V2/AgentAssistantFeedback/SummarizationFeedback.php
+++ b/src/V2/AgentAssistantFeedback/SummarizationFeedback.php
@@ -33,6 +33,12 @@ class SummarizationFeedback extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string summary_text = 3;
*/
private $summary_text = '';
+ /**
+ * Optional. Actual text sections of submitted summary.
+ *
+ * Generated from protobuf field map text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $text_sections;
/**
* Constructor.
@@ -46,6 +52,8 @@ class SummarizationFeedback extends \Google\Protobuf\Internal\Message
* Timestamp when the summary was submitted.
* @type string $summary_text
* Text of actual submitted summary.
+ * @type array|\Google\Protobuf\Internal\MapField $text_sections
+ * Optional. Actual text sections of submitted summary.
* }
*/
public function __construct($data = NULL) {
@@ -151,6 +159,32 @@ public function setSummaryText($var)
return $this;
}
+ /**
+ * Optional. Actual text sections of submitted summary.
+ *
+ * Generated from protobuf field map text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getTextSections()
+ {
+ return $this->text_sections;
+ }
+
+ /**
+ * Optional. Actual text sections of submitted summary.
+ *
+ * Generated from protobuf field map text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setTextSections($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->text_sections = $arr;
+
+ return $this;
+ }
+
}
diff --git a/src/V2/InputAudioConfig.php b/src/V2/InputAudioConfig.php
index b89abfc..b0f64e5 100644
--- a/src/V2/InputAudioConfig.php
+++ b/src/V2/InputAudioConfig.php
@@ -121,6 +121,15 @@ class InputAudioConfig extends \Google\Protobuf\Internal\Message
* Generated from protobuf field bool enable_automatic_punctuation = 17;
*/
private $enable_automatic_punctuation = false;
+ /**
+ * If `true`, the request will opt out for STT conformer model migration.
+ * This field will be deprecated once force migration takes place in June
+ * 2024. Please refer to [Dialogflow ES Speech model
+ * migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
+ *
+ * Generated from protobuf field bool opt_out_conformer_model_migration = 26;
+ */
+ private $opt_out_conformer_model_migration = false;
/**
* Constructor.
@@ -189,6 +198,11 @@ class InputAudioConfig extends \Google\Protobuf\Internal\Message
* `NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
* @type bool $enable_automatic_punctuation
* Enable automatic punctuation option at the speech backend.
+ * @type bool $opt_out_conformer_model_migration
+ * If `true`, the request will opt out for STT conformer model migration.
+ * This field will be deprecated once force migration takes place in June
+ * 2024. Please refer to [Dialogflow ES Speech model
+ * migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
* }
*/
public function __construct($data = NULL) {
@@ -564,5 +578,37 @@ public function setEnableAutomaticPunctuation($var)
return $this;
}
+ /**
+ * If `true`, the request will opt out for STT conformer model migration.
+ * This field will be deprecated once force migration takes place in June
+ * 2024. Please refer to [Dialogflow ES Speech model
+ * migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
+ *
+ * Generated from protobuf field bool opt_out_conformer_model_migration = 26;
+ * @return bool
+ */
+ public function getOptOutConformerModelMigration()
+ {
+ return $this->opt_out_conformer_model_migration;
+ }
+
+ /**
+ * If `true`, the request will opt out for STT conformer model migration.
+ * This field will be deprecated once force migration takes place in June
+ * 2024. Please refer to [Dialogflow ES Speech model
+ * migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
+ *
+ * Generated from protobuf field bool opt_out_conformer_model_migration = 26;
+ * @param bool $var
+ * @return $this
+ */
+ public function setOptOutConformerModelMigration($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->opt_out_conformer_model_migration = $var;
+
+ return $this;
+ }
+
}
diff --git a/src/V2/StreamingRecognitionResult/MessageType.php b/src/V2/StreamingRecognitionResult/MessageType.php
index ed0c839..67985a3 100644
--- a/src/V2/StreamingRecognitionResult/MessageType.php
+++ b/src/V2/StreamingRecognitionResult/MessageType.php
@@ -26,8 +26,8 @@ class MessageType
*/
const TRANSCRIPT = 1;
/**
- * Event indicates that the server has detected the end of the user's speech
- * utterance and expects no additional inputs.
+ * This event indicates that the server has detected the end of the user's
+ * speech utterance and expects no additional inputs.
* Therefore, the server will not process additional audio (although it may
* subsequently return additional results). The client should stop sending
* additional audio data, half-close the gRPC connection, and wait for any