Skip to content

Commit 512fc42

Browse files
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2AutomatedAgentReply.properties.allowCancellation.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2AutomatedAgentReply.properties.automatedAgentReplyType.type (Total Keys: 1) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2beta1AutomatedAgentReply.properties.allowCancellation.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2beta1AutomatedAgentReply.properties.automatedAgentReplyType.type (Total Keys: 1) #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3DetectIntentResponse.properties.allowCancellation.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3DetectIntentResponse.properties.responseType.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Fulfillment.properties.returnPartialResponses.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentResponse.properties.allowCancellation.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentResponse.properties.responseType.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Fulfillment.properties.returnPartialResponses.type (Total Keys: 1)
1 parent aab6c12 commit 512fc42

File tree

26 files changed

+484
-32
lines changed

26 files changed

+484
-32
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ <h3>Method Details</h3>
191191

192192
{ # The response message for Participants.AnalyzeContent.
193193
&quot;automatedAgentReply&quot;: { # Represents a response from an automated agent. # Only set if a Dialogflow automated agent has responded. Note that: AutomatedAgentReply.detect_intent_response.output_audio and AutomatedAgentReply.detect_intent_response.output_audio_config are always empty, use reply_audio instead.
194+
&quot;allowCancellation&quot;: True or False, # Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
195+
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
194196
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
195197
&quot;outputAudio&quot;: &quot;A String&quot;, # The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.fulfillment_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
196198
&quot;outputAudioConfig&quot;: { # Instructs the speech synthesizer on how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent. # The config used by the speech synthesizer to generate the output audio.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ <h3>Method Details</h3>
191191

192192
{ # The response message for Participants.AnalyzeContent.
193193
&quot;automatedAgentReply&quot;: { # Represents a response from an automated agent. # Only set if a Dialogflow automated agent has responded. Note that: AutomatedAgentReply.detect_intent_response.output_audio and AutomatedAgentReply.detect_intent_response.output_audio_config are always empty, use reply_audio instead.
194+
&quot;allowCancellation&quot;: True or False, # Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
195+
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
194196
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
195197
&quot;outputAudio&quot;: &quot;A String&quot;, # The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.fulfillment_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
196198
&quot;outputAudioConfig&quot;: { # Instructs the speech synthesizer on how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent. # The config used by the speech synthesizer to generate the output audio.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ <h3>Method Details</h3>
201201

202202
{ # The response message for Participants.AnalyzeContent.
203203
&quot;automatedAgentReply&quot;: { # Represents a response from an automated agent. # Optional. Only set if a Dialogflow automated agent has responded. Note that: AutomatedAgentReply.detect_intent_response.output_audio and AutomatedAgentReply.detect_intent_response.output_audio_config are always empty, use reply_audio instead.
204+
&quot;allowCancellation&quot;: True or False, # Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
205+
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
204206
&quot;cxSessionParameters&quot;: { # The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
205207
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
206208
},

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ <h3>Method Details</h3>
201201

202202
{ # The response message for Participants.AnalyzeContent.
203203
&quot;automatedAgentReply&quot;: { # Represents a response from an automated agent. # Optional. Only set if a Dialogflow automated agent has responded. Note that: AutomatedAgentReply.detect_intent_response.output_audio and AutomatedAgentReply.detect_intent_response.output_audio_config are always empty, use reply_audio instead.
204+
&quot;allowCancellation&quot;: True or False, # Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
205+
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
204206
&quot;cxSessionParameters&quot;: { # The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
205207
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
206208
},

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ <h3>Method Details</h3>
197197
An object of the form:
198198

199199
{ # The message returned from the DetectIntent method.
200+
&quot;allowCancellation&quot;: True or False, # Indicates whether the partial response can be cancelled when a later response arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
200201
&quot;outputAudio&quot;: &quot;A String&quot;, # The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.response_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
201202
&quot;outputAudioConfig&quot;: { # Instructs the speech synthesizer how to generate the output audio content. # The config used by the speech synthesizer to generate the output audio.
202203
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the synthesized audio content.
@@ -316,6 +317,7 @@ <h3>Method Details</h3>
316317
},
317318
},
318319
],
320+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
319321
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
320322
{ # Setting a parameter value.
321323
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -430,6 +432,7 @@ <h3>Method Details</h3>
430432
},
431433
},
432434
],
435+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
433436
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
434437
{ # Setting a parameter value.
435438
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -547,6 +550,7 @@ <h3>Method Details</h3>
547550
},
548551
},
549552
],
553+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
550554
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
551555
{ # Setting a parameter value.
552556
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -661,6 +665,7 @@ <h3>Method Details</h3>
661665
},
662666
},
663667
],
668+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
664669
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
665670
{ # Setting a parameter value.
666671
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -789,6 +794,7 @@ <h3>Method Details</h3>
789794
},
790795
},
791796
],
797+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
792798
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
793799
{ # Setting a parameter value.
794800
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -947,6 +953,7 @@ <h3>Method Details</h3>
947953
],
948954
},
949955
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
956+
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
950957
}</pre>
951958
</div>
952959

@@ -1210,6 +1217,7 @@ <h3>Method Details</h3>
12101217
},
12111218
},
12121219
],
1220+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
12131221
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
12141222
{ # Setting a parameter value.
12151223
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -1324,6 +1332,7 @@ <h3>Method Details</h3>
13241332
},
13251333
},
13261334
],
1335+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
13271336
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
13281337
{ # Setting a parameter value.
13291338
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -1441,6 +1450,7 @@ <h3>Method Details</h3>
14411450
},
14421451
},
14431452
],
1453+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
14441454
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
14451455
{ # Setting a parameter value.
14461456
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -1555,6 +1565,7 @@ <h3>Method Details</h3>
15551565
},
15561566
},
15571567
],
1568+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
15581569
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
15591570
{ # Setting a parameter value.
15601571
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -1683,6 +1694,7 @@ <h3>Method Details</h3>
16831694
},
16841695
},
16851696
],
1697+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
16861698
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
16871699
{ # Setting a parameter value.
16881700
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -2029,6 +2041,7 @@ <h3>Method Details</h3>
20292041
},
20302042
},
20312043
],
2044+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
20322045
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
20332046
{ # Setting a parameter value.
20342047
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -2143,6 +2156,7 @@ <h3>Method Details</h3>
21432156
},
21442157
},
21452158
],
2159+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
21462160
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
21472161
{ # Setting a parameter value.
21482162
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -2260,6 +2274,7 @@ <h3>Method Details</h3>
22602274
},
22612275
},
22622276
],
2277+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
22632278
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
22642279
{ # Setting a parameter value.
22652280
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -2374,6 +2389,7 @@ <h3>Method Details</h3>
23742389
},
23752390
},
23762391
],
2392+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
23772393
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
23782394
{ # Setting a parameter value.
23792395
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
@@ -2502,6 +2518,7 @@ <h3>Method Details</h3>
25022518
},
25032519
},
25042520
],
2521+
&quot;returnPartialResponses&quot;: True or False, # Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
25052522
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
25062523
{ # Setting a parameter value.
25072524
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.

0 commit comments

Comments
 (0)