Skip to content

Commit bb0b59e

Browse files
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowCxV3QueryInput.properties.toolCallResult.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ResponseMessage.properties.toolCall.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ToolCall (Total Keys: 16) - schemas.GoogleCloudDialogflowV2CustomPronunciationParams (Total Keys: 5) - schemas.GoogleCloudDialogflowV2SynthesizeSpeechConfig.properties.pronunciations (Total Keys: 2) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3QueryInput.properties.toolCallResult.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ResponseMessage.properties.toolCall.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ToolCall (Total Keys: 16) #### dialogflow:v3 The following keys were added: - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.export (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.agents.resources.playbooks.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.examples.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.examples.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.examples.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.examples.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.examples.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.agents.resources.playbooks.resources.versions.methods.restore (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.tools.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.tools.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.agents.resources.tools.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.agents.resources.tools.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.agents.resources.tools.methods.patch (Total Keys: 15) - schemas.GoogleCloudDialogflowCxV3Action (Total Keys: 7) - schemas.GoogleCloudDialogflowCxV3Agent.properties.startPlaybook.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3AgentUtterance (Total Keys: 3) - schemas.GoogleCloudDialogflowCxV3Example (Total Keys: 19) - schemas.GoogleCloudDialogflowCxV3ExportPlaybookRequest (Total Keys: 4) - schemas.GoogleCloudDialogflowCxV3FlowInvocation (Total Keys: 6) - schemas.GoogleCloudDialogflowCxV3GenerativeSettings.properties.llmModelSettings.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3Generator.properties.llmModelSettings.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ImportPlaybookRequest (Total Keys: 6) - schemas.GoogleCloudDialogflowCxV3ListExamplesResponse (Total Keys: 5) - schemas.GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse (Total Keys: 5) - schemas.GoogleCloudDialogflowCxV3ListPlaybooksResponse (Total Keys: 5) - schemas.GoogleCloudDialogflowCxV3ListToolsResponse (Total Keys: 5) - schemas.GoogleCloudDialogflowCxV3LlmModelSettings (Total Keys: 4) - schemas.GoogleCloudDialogflowCxV3Playbook (Total Keys: 64) - schemas.GoogleCloudDialogflowCxV3QueryInput.properties.toolCallResult.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3QueryParameters.properties.currentPlaybook.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3QueryParameters.properties.llmModelSettings.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ResponseMessage.properties.toolCall.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest (Total Keys: 2) - schemas.GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse (Total Keys: 3) - schemas.GoogleCloudDialogflowCxV3SafetySettings.properties.defaultBannedPhraseMatchStrategy.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3Tool (Total Keys: 94) - schemas.GoogleCloudDialogflowCxV3UserUtterance (Total Keys: 3) #### dialogflow:v3beta1 The following keys were deleted: - schemas.GoogleCloudDialogflowCxV3beta1Exception (Total Keys: 3) The following keys were added: - schemas.GoogleCloudDialogflowCxV3QueryInput.properties.toolCallResult.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ResponseMessage.properties.toolCall.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3ToolCall (Total Keys: 16) - schemas.GoogleCloudDialogflowCxV3beta1Exception (Total Keys: 3) The following keys were changed: - schemas.GoogleCloudDialogflowCxV3beta1Status.properties.exception.$ref (Total Keys: 1)
1 parent 6df52e8 commit bb0b59e

File tree

40 files changed

+11855
-3924
lines changed

40 files changed

+11855
-3924
lines changed

docs/dyn/dialogflow_v2.projects.agent.environments.html

+42
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ <h3>Method Details</h3>
160160
&quot;A String&quot;,
161161
],
162162
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
163+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
164+
{ # Pronunciation customization for a phrase.
165+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
166+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
167+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
168+
},
169+
],
163170
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
164171
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
165172
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -215,6 +222,13 @@ <h3>Method Details</h3>
215222
&quot;A String&quot;,
216223
],
217224
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
225+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
226+
{ # Pronunciation customization for a phrase.
227+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
228+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
229+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
230+
},
231+
],
218232
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
219233
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
220234
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -294,6 +308,13 @@ <h3>Method Details</h3>
294308
&quot;A String&quot;,
295309
],
296310
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
311+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
312+
{ # Pronunciation customization for a phrase.
313+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
314+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
315+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
316+
},
317+
],
297318
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
298319
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
299320
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -402,6 +423,13 @@ <h3>Method Details</h3>
402423
&quot;A String&quot;,
403424
],
404425
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
426+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
427+
{ # Pronunciation customization for a phrase.
428+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
429+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
430+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
431+
},
432+
],
405433
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
406434
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
407435
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -475,6 +503,13 @@ <h3>Method Details</h3>
475503
&quot;A String&quot;,
476504
],
477505
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
506+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
507+
{ # Pronunciation customization for a phrase.
508+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
509+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
510+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
511+
},
512+
],
478513
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
479514
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
480515
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -531,6 +566,13 @@ <h3>Method Details</h3>
531566
&quot;A String&quot;,
532567
],
533568
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
569+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
570+
{ # Pronunciation customization for a phrase.
571+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
572+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
573+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
574+
},
575+
],
534576
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
535577
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
536578
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.

docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ <h3>Method Details</h3>
136136
&quot;A String&quot;,
137137
],
138138
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
139+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
140+
{ # Pronunciation customization for a phrase.
141+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
142+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
143+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
144+
},
145+
],
139146
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
140147
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
141148
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.
@@ -151,7 +158,7 @@ <h3>Method Details</h3>
151158
&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.
152159
&quot;enableAutomaticPunctuation&quot;: True or False, # Enable automatic punctuation option at the speech backend.
153160
&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.
154-
&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.
161+
&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. If not set, the language is inferred from the ConversationProfile.stt_config.
155162
&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).
156163
&quot;modelVariant&quot;: &quot;A String&quot;, # Which variant of the Speech model to use.
157164
&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).
@@ -245,6 +252,13 @@ <h3>Method Details</h3>
245252
&quot;A String&quot;,
246253
],
247254
&quot;pitch&quot;: 3.14, # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
255+
&quot;pronunciations&quot;: [ # Optional. The custom pronunciations for the synthesized audio.
256+
{ # Pronunciation customization for a phrase.
257+
&quot;phoneticEncoding&quot;: &quot;A String&quot;, # The phonetic encoding of the phrase.
258+
&quot;phrase&quot;: &quot;A String&quot;, # The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn&#x27;t span the length of the sentence.
259+
&quot;pronunciation&quot;: &quot;A String&quot;, # The pronunciation of the phrase. This must be in the phonetic encoding specified above.
260+
},
261+
],
248262
&quot;speakingRate&quot;: 3.14, # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
249263
&quot;voice&quot;: { # Description of which voice to use for speech synthesis. # Optional. The desired voice of the synthesized audio.
250264
&quot;name&quot;: &quot;A String&quot;, # Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.

0 commit comments

Comments
 (0)