Skip to content

Commit

Permalink
feat(dialogflow): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jun 15, 2021
1 parent aab6c12 commit 512fc42
Show file tree
Hide file tree
Showing 26 changed files with 484 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ <h3>Method Details</h3>

{ # The response message for Participants.AnalyzeContent.
&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.
&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.
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
&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.
&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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ <h3>Method Details</h3>

{ # The response message for Participants.AnalyzeContent.
&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.
&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.
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
&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.
&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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ <h3>Method Details</h3>

{ # The response message for Participants.AnalyzeContent.
&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.
&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.
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
&quot;cxSessionParameters&quot;: { # The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ <h3>Method Details</h3>

{ # The response message for Participants.AnalyzeContent.
&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.
&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.
&quot;automatedAgentReplyType&quot;: &quot;A String&quot;, # AutomatedAgentReply type.
&quot;cxSessionParameters&quot;: { # The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ <h3>Method Details</h3>
An object of the form:

{ # The message returned from the DetectIntent method.
&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.
&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.
&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.
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the synthesized audio content.
Expand Down Expand Up @@ -316,6 +317,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -430,6 +432,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -547,6 +550,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -661,6 +665,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -789,6 +794,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -947,6 +953,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
}</pre>
</div>

Expand Down Expand Up @@ -1210,6 +1217,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -1324,6 +1332,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -1441,6 +1450,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -1555,6 +1565,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -1683,6 +1694,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -2029,6 +2041,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -2143,6 +2156,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -2260,6 +2274,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -2374,6 +2389,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down Expand Up @@ -2502,6 +2518,7 @@ <h3>Method Details</h3>
},
},
],
&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.
&quot;setParameterActions&quot;: [ # Set parameter values before executing the webhook.
{ # Setting a parameter value.
&quot;parameter&quot;: &quot;A String&quot;, # Display name of the parameter.
Expand Down
Loading

0 comments on commit 512fc42

Please sign in to comment.