Skip to content

Commit ec139e8

Browse files
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowCxV3DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2AnalyzeContentRequest.properties.audioInput.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowV2AudioInput (Total Keys: 5) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3QueryParameters.properties.populateDataStoreConnectionSignals.deprecated (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) #### dialogflow:v3beta1 The following keys were deleted: - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.export (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.restore (Total Keys: 12) - schemas.GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest (Total Keys: 4) - schemas.GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest (Total Keys: 6) - schemas.GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy (Total Keys: 5) - schemas.GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest (Total Keys: 2) - schemas.GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse (Total Keys: 3) The following keys were added: - schemas.GoogleCloudDialogflowCxV3DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DataStoreConnection.properties.documentProcessingMode.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1QueryParameters.properties.populateDataStoreConnectionSignals.deprecated (Total Keys: 1)
1 parent 9d9d3be commit ec139e8

22 files changed

+355
-457
lines changed

docs/dyn/dialogflow_v2.projects.conversations.participants.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,35 @@ <h3>Method Details</h3>
116116
&quot;a_key&quot;: &quot;A String&quot;,
117117
},
118118
},
119+
&quot;audioInput&quot;: { # Represents the natural language speech audio to be processed. # The natural language speech audio to be processed.
120+
&quot;audio&quot;: &quot;A String&quot;, # Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
121+
&quot;config&quot;: { # Instructs the speech recognizer how to process the audio content. # Required. Instructs the speech recognizer how to process the speech audio.
122+
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the audio content to process.
123+
&quot;disableNoSpeechRecognizedEvent&quot;: True or False, # Only used in Participants.AnalyzeContent and Participants.StreamingAnalyzeContent. If `false` and recognition doesn&#x27;t return any result, trigger `NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
124+
&quot;enableAutomaticPunctuation&quot;: True or False, # Enable automatic punctuation option at the speech backend.
125+
&quot;enableWordInfo&quot;: True or False, # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn&#x27;t return any word-level information.
126+
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
127+
&quot;model&quot;: &quot;A String&quot;, # Optional. Which Speech model to select for the given request. For more information, see [Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models).
128+
&quot;modelVariant&quot;: &quot;A String&quot;, # Which variant of the Speech model to use.
129+
&quot;optOutConformerModelMigration&quot;: True or 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).
130+
&quot;phraseHints&quot;: [ # A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
131+
&quot;A String&quot;,
132+
],
133+
&quot;phraseSets&quot;: [ # A collection of phrase set resources to use for speech adaptation.
134+
&quot;A String&quot;,
135+
],
136+
&quot;sampleRateHertz&quot;: 42, # Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
137+
&quot;singleUtterance&quot;: True or False, # If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio&#x27;s voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods. Note: When specified, InputAudioConfig.single_utterance takes precedence over StreamingDetectIntentRequest.single_utterance.
138+
&quot;speechContexts&quot;: [ # Context information to assist speech recognition. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.
139+
{ # Hints for the speech recognizer to help with recognition in a specific conversation state.
140+
&quot;boost&quot;: 3.14, # Optional. Boost for this context compared to other contexts: * If the boost is positive, Dialogflow will increase the probability that the phrases in this context are recognized over similar sounding phrases. * If the boost is unspecified or non-positive, Dialogflow will not apply any boost. Dialogflow recommends that you use boosts in the range (0, 20] and that you find a value that fits your use case with binary search.
141+
&quot;phrases&quot;: [ # Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. This list can be used to: * improve accuracy for words and phrases you expect the user to say, e.g. typical commands for your Dialogflow agent * add additional words to the speech recognizer vocabulary * ... See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/quotas) for usage limits.
142+
&quot;A String&quot;,
143+
],
144+
},
145+
],
146+
},
147+
},
119148
&quot;cxParameters&quot;: { # Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
120149
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
121150
},

docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,35 @@ <h3>Method Details</h3>
116116
&quot;a_key&quot;: &quot;A String&quot;,
117117
},
118118
},
119+
&quot;audioInput&quot;: { # Represents the natural language speech audio to be processed. # The natural language speech audio to be processed.
120+
&quot;audio&quot;: &quot;A String&quot;, # Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
121+
&quot;config&quot;: { # Instructs the speech recognizer how to process the audio content. # Required. Instructs the speech recognizer how to process the speech audio.
122+
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the audio content to process.
123+
&quot;disableNoSpeechRecognizedEvent&quot;: True or False, # Only used in Participants.AnalyzeContent and Participants.StreamingAnalyzeContent. If `false` and recognition doesn&#x27;t return any result, trigger `NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
124+
&quot;enableAutomaticPunctuation&quot;: True or False, # Enable automatic punctuation option at the speech backend.
125+
&quot;enableWordInfo&quot;: True or False, # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn&#x27;t return any word-level information.
126+
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
127+
&quot;model&quot;: &quot;A String&quot;, # Optional. Which Speech model to select for the given request. For more information, see [Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models).
128+
&quot;modelVariant&quot;: &quot;A String&quot;, # Which variant of the Speech model to use.
129+
&quot;optOutConformerModelMigration&quot;: True or 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).
130+
&quot;phraseHints&quot;: [ # A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
131+
&quot;A String&quot;,
132+
],
133+
&quot;phraseSets&quot;: [ # A collection of phrase set resources to use for speech adaptation.
134+
&quot;A String&quot;,
135+
],
136+
&quot;sampleRateHertz&quot;: 42, # Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
137+
&quot;singleUtterance&quot;: True or False, # If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio&#x27;s voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods. Note: When specified, InputAudioConfig.single_utterance takes precedence over StreamingDetectIntentRequest.single_utterance.
138+
&quot;speechContexts&quot;: [ # Context information to assist speech recognition. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.
139+
{ # Hints for the speech recognizer to help with recognition in a specific conversation state.
140+
&quot;boost&quot;: 3.14, # Optional. Boost for this context compared to other contexts: * If the boost is positive, Dialogflow will increase the probability that the phrases in this context are recognized over similar sounding phrases. * If the boost is unspecified or non-positive, Dialogflow will not apply any boost. Dialogflow recommends that you use boosts in the range (0, 20] and that you find a value that fits your use case with binary search.
141+
&quot;phrases&quot;: [ # Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. This list can be used to: * improve accuracy for words and phrases you expect the user to say, e.g. typical commands for your Dialogflow agent * add additional words to the speech recognizer vocabulary * ... See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/quotas) for usage limits.
142+
&quot;A String&quot;,
143+
],
144+
},
145+
],
146+
},
147+
},
119148
&quot;cxParameters&quot;: { # Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
120149
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
121150
},

docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ <h3>Method Details</h3>
983983
{ # A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
984984
&quot;dataStore&quot;: &quot;A String&quot;, # The full name of the referenced data store. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}`
985985
&quot;dataStoreType&quot;: &quot;A String&quot;, # The type of the connected data store.
986+
&quot;documentProcessingMode&quot;: &quot;A String&quot;, # The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
986987
},
987988
],
988989
&quot;enabled&quot;: True or False, # Whether Knowledge Connector is enabled or not.
@@ -1302,7 +1303,7 @@ <h3>Method Details</h3>
13021303
},
13031304
],
13041305
},
1305-
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query and DetectIntentRequest.populate_data_store_connection_signals is set to true in the request.
1306+
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
13061307
&quot;answer&quot;: &quot;A String&quot;, # Optional. The final compiled answer.
13071308
&quot;answerGenerationModelCallSignals&quot;: { # Diagnostic info related to the answer generation model call. # Optional. Diagnostic info related to the answer generation model call.
13081309
&quot;model&quot;: &quot;A String&quot;, # Name of the generative model. For example, &quot;gemini-ultra&quot;, &quot;gemini-pro&quot;, &quot;gemini-1.5-flash&quot; etc. Defaults to &quot;Other&quot; if the model is unknown.
@@ -2435,6 +2436,7 @@ <h3>Method Details</h3>
24352436
{ # A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
24362437
&quot;dataStore&quot;: &quot;A String&quot;, # The full name of the referenced data store. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}`
24372438
&quot;dataStoreType&quot;: &quot;A String&quot;, # The type of the connected data store.
2439+
&quot;documentProcessingMode&quot;: &quot;A String&quot;, # The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
24382440
},
24392441
],
24402442
&quot;enabled&quot;: True or False, # Whether Knowledge Connector is enabled or not.
@@ -2754,7 +2756,7 @@ <h3>Method Details</h3>
27542756
},
27552757
],
27562758
},
2757-
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query and DetectIntentRequest.populate_data_store_connection_signals is set to true in the request.
2759+
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
27582760
&quot;answer&quot;: &quot;A String&quot;, # Optional. The final compiled answer.
27592761
&quot;answerGenerationModelCallSignals&quot;: { # Diagnostic info related to the answer generation model call. # Optional. Diagnostic info related to the answer generation model call.
27602762
&quot;model&quot;: &quot;A String&quot;, # Name of the generative model. For example, &quot;gemini-ultra&quot;, &quot;gemini-pro&quot;, &quot;gemini-1.5-flash&quot; etc. Defaults to &quot;Other&quot; if the model is unknown.
@@ -3785,6 +3787,7 @@ <h3>Method Details</h3>
37853787
{ # A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
37863788
&quot;dataStore&quot;: &quot;A String&quot;, # The full name of the referenced data store. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}`
37873789
&quot;dataStoreType&quot;: &quot;A String&quot;, # The type of the connected data store.
3790+
&quot;documentProcessingMode&quot;: &quot;A String&quot;, # The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
37883791
},
37893792
],
37903793
&quot;enabled&quot;: True or False, # Whether Knowledge Connector is enabled or not.
@@ -5035,6 +5038,7 @@ <h3>Method Details</h3>
50355038
{ # A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
50365039
&quot;dataStore&quot;: &quot;A String&quot;, # The full name of the referenced data store. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}`
50375040
&quot;dataStoreType&quot;: &quot;A String&quot;, # The type of the connected data store.
5041+
&quot;documentProcessingMode&quot;: &quot;A String&quot;, # The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
50385042
},
50395043
],
50405044
&quot;enabled&quot;: True or False, # Whether Knowledge Connector is enabled or not.
@@ -5354,7 +5358,7 @@ <h3>Method Details</h3>
53545358
},
53555359
],
53565360
},
5357-
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query and DetectIntentRequest.populate_data_store_connection_signals is set to true in the request.
5361+
&quot;dataStoreConnectionSignals&quot;: { # Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ... # Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
53585362
&quot;answer&quot;: &quot;A String&quot;, # Optional. The final compiled answer.
53595363
&quot;answerGenerationModelCallSignals&quot;: { # Diagnostic info related to the answer generation model call. # Optional. Diagnostic info related to the answer generation model call.
53605364
&quot;model&quot;: &quot;A String&quot;, # Name of the generative model. For example, &quot;gemini-ultra&quot;, &quot;gemini-pro&quot;, &quot;gemini-1.5-flash&quot; etc. Defaults to &quot;Other&quot; if the model is unknown.

0 commit comments

Comments
 (0)