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:
- resources.projects.resources.locations.resources.agent.resources.environments.resources.intents.methods.list (Total Keys: 20)

#### dialogflow:v2beta1

The following keys were added:
- resources.projects.resources.locations.resources.agent.resources.environments.resources.intents.methods.list (Total Keys: 20)
- schemas.GoogleCloudDialogflowV2beta1AutomatedAgentReply.properties.matchConfidence (Total Keys: 2)
- schemas.GoogleCloudDialogflowV2beta1AutomatedAgentReply.properties.parameters (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 20, 2021
1 parent f16179f commit 254b941
Show file tree
Hide file tree
Showing 24 changed files with 1,072 additions and 66 deletions.
Expand Up @@ -94,7 +94,7 @@ <h3>Method Details</h3>
<pre>Returns the list of all intents in the specified agent.

Args:
parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
parent: string, Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment. (required)
intentView: string, Optional. The resource view to apply to the returned intent.
Allowed values
INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/dialogflow_v2.projects.agent.intents.html
Expand Up @@ -1488,7 +1488,7 @@ <h3>Method Details</h3>
<pre>Returns the list of all intents in the specified agent.

Args:
parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
parent: string, Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment. (required)
intentView: string, Optional. The resource view to apply to the returned intent.
Allowed values
INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
Expand Down
Expand Up @@ -191,7 +191,7 @@ <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;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Required. 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.
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the synthesized audio content.
Expand Down
Expand Up @@ -74,6 +74,11 @@

<h1><a href="dialogflow_v2.html">Dialogflow API</a> . <a href="dialogflow_v2.projects.html">projects</a> . <a href="dialogflow_v2.projects.locations.html">locations</a> . <a href="dialogflow_v2.projects.locations.agent.html">agent</a> . <a href="dialogflow_v2.projects.locations.agent.environments.html">environments</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="dialogflow_v2.projects.locations.agent.environments.intents.html">intents()</a></code>
</p>
<p class="firstline">Returns the intents Resource.</p>

<p class="toc_element">
<code><a href="dialogflow_v2.projects.locations.agent.environments.users.html">users()</a></code>
</p>
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -1488,7 +1488,7 @@ <h3>Method Details</h3>
<pre>Returns the list of all intents in the specified agent.

Args:
parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
parent: string, Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment. (required)
intentView: string, Optional. The resource view to apply to the returned intent.
Allowed values
INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
Expand Down
Expand Up @@ -191,7 +191,7 @@ <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;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Required. 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.
&quot;audioEncoding&quot;: &quot;A String&quot;, # Required. Audio encoding of the synthesized audio content.
Expand Down
Expand Up @@ -94,7 +94,7 @@ <h3>Method Details</h3>
<pre>Returns the list of all intents in the specified agent.

Args:
parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
parent: string, Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment. (required)
intentView: string, Optional. The resource view to apply to the returned intent.
Allowed values
INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/dialogflow_v2beta1.projects.agent.intents.html
Expand Up @@ -1993,7 +1993,7 @@ <h3>Method Details</h3>
<pre>Returns the list of all intents in the specified agent.

Args:
parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
parent: string, Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment. (required)
intentView: string, Optional. The resource view to apply to the returned intent.
Allowed values
INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
Expand Down
Expand Up @@ -201,7 +201,7 @@ <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;cxSessionParameters&quot;: { # The collection of current Dialogflow CX agent session parameters at the time of this response.
&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.
},
&quot;detectIntentResponse&quot;: { # The message returned from the DetectIntent method. # Response of the Dialogflow Sessions.DetectIntent call.
Expand Down Expand Up @@ -1571,6 +1571,10 @@ <h3>Method Details</h3>
},
&quot;event&quot;: &quot;A String&quot;, # Event name if an event is triggered for the query.
&quot;intent&quot;: &quot;A String&quot;, # Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects//locations/ /agent/intents/`. For a V3 query, the value format is `projects//locations/ /agents//intents/`.
&quot;matchConfidence&quot;: 3.14, # The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
&quot;parameters&quot;: { # The collection of current parameters at the time of this response.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
},
&quot;responseMessages&quot;: [ # Response messages from the automated agent.
{ # Response messages from an automated agent.
&quot;endInteraction&quot;: { # Indicates that interaction with the Dialogflow agent has ended. # A signal that indicates the interaction with the Dialogflow agent has ended.
Expand Down
Expand Up @@ -74,6 +74,11 @@

<h1><a href="dialogflow_v2beta1.html">Dialogflow API</a> . <a href="dialogflow_v2beta1.projects.html">projects</a> . <a href="dialogflow_v2beta1.projects.locations.html">locations</a> . <a href="dialogflow_v2beta1.projects.locations.agent.html">agent</a> . <a href="dialogflow_v2beta1.projects.locations.agent.environments.html">environments</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="dialogflow_v2beta1.projects.locations.agent.environments.intents.html">intents()</a></code>
</p>
<p class="firstline">Returns the intents Resource.</p>

<p class="toc_element">
<code><a href="dialogflow_v2beta1.projects.locations.agent.environments.users.html">users()</a></code>
</p>
Expand Down

0 comments on commit 254b941

Please sign in to comment.