mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update documentation
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Locations Agent Import - Dialogflow v2.0.4+20210329</title>
|
||||
<title>Locations Agent Import - Dialogflow v3.0.0+20220228</title>
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
||||
<div class="wy-side-nav-search">
|
||||
<a href=".." class="icon icon-home"> Dialogflow v2.0.4+20210329</a>
|
||||
<a href=".." class="icon icon-home"> Dialogflow v3.0.0+20220228</a>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -94,6 +94,26 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-create">Agent Environments Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-delete">Agent Environments Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-get">Agent Environments Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-get-history">Agent Environments Get History</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-intents-list">Agent Environments Intents List</a>
|
||||
|
||||
@@ -104,6 +124,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-patch">Agent Environments Patch</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-environments-users-sessions-contexts-create">Agent Environments Users Sessions Contexts Create</a>
|
||||
|
||||
@@ -354,6 +379,31 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-versions-create">Agent Versions Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-versions-delete">Agent Versions Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-versions-get">Agent Versions Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-versions-list">Agent Versions List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_agent-versions-patch">Agent Versions Patch</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_answer-records-list">Answer Records List</a>
|
||||
|
||||
@@ -364,6 +414,66 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-datasets-get">Conversation Datasets Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-datasets-import-conversation-data">Conversation Datasets Import Conversation Data</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-datasets-list">Conversation Datasets List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-create">Conversation Models Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-delete">Conversation Models Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-deploy">Conversation Models Deploy</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-evaluations-get">Conversation Models Evaluations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-evaluations-list">Conversation Models Evaluations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-get">Conversation Models Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-list">Conversation Models List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-models-undeploy">Conversation Models Undeploy</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-profiles-clear-suggestion-feature-config">Conversation Profiles Clear Suggestion Feature Config</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-profiles-create">Conversation Profiles Create</a>
|
||||
|
||||
@@ -389,6 +499,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversation-profiles-set-suggestion-feature-config">Conversation Profiles Set Suggestion Feature Config</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversations-complete">Conversations Complete</a>
|
||||
|
||||
@@ -449,6 +564,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_conversations-participants-suggestions-suggest-smart-replies">Conversations Participants Suggestions Suggest Smart Replies</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_delete-agent">Delete Agent</a>
|
||||
|
||||
@@ -479,11 +599,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_knowledge-bases-documents-export">Knowledge Bases Documents Export</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_knowledge-bases-documents-get">Knowledge Bases Documents Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_knowledge-bases-documents-import">Knowledge Bases Documents Import</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_knowledge-bases-documents-list">Knowledge Bases Documents List</a>
|
||||
|
||||
@@ -564,11 +694,41 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-create">Locations Agent Environments Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-delete">Locations Agent Environments Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-get">Locations Agent Environments Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-get-history">Locations Agent Environments Get History</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-intents-list">Locations Agent Environments Intents List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-list">Locations Agent Environments List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-patch">Locations Agent Environments Patch</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-environments-users-sessions-contexts-create">Locations Agent Environments Users Sessions Contexts Create</a>
|
||||
|
||||
@@ -785,6 +945,31 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-versions-create">Locations Agent Versions Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-versions-delete">Locations Agent Versions Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-versions-get">Locations Agent Versions Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-versions-list">Locations Agent Versions List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-agent-versions-patch">Locations Agent Versions Patch</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-answer-records-list">Locations Answer Records List</a>
|
||||
|
||||
@@ -795,6 +980,81 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-datasets-create">Locations Conversation Datasets Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-datasets-delete">Locations Conversation Datasets Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-datasets-get">Locations Conversation Datasets Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-datasets-import-conversation-data">Locations Conversation Datasets Import Conversation Data</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-datasets-list">Locations Conversation Datasets List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-create">Locations Conversation Models Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-delete">Locations Conversation Models Delete</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-deploy">Locations Conversation Models Deploy</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-evaluations-create">Locations Conversation Models Evaluations Create</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-evaluations-get">Locations Conversation Models Evaluations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-evaluations-list">Locations Conversation Models Evaluations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-get">Locations Conversation Models Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-list">Locations Conversation Models List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-models-undeploy">Locations Conversation Models Undeploy</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-profiles-clear-suggestion-feature-config">Locations Conversation Profiles Clear Suggestion Feature Config</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-profiles-create">Locations Conversation Profiles Create</a>
|
||||
|
||||
@@ -820,6 +1080,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversation-profiles-set-suggestion-feature-config">Locations Conversation Profiles Set Suggestion Feature Config</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversations-complete">Locations Conversations Complete</a>
|
||||
|
||||
@@ -880,11 +1145,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-conversations-participants-suggestions-suggest-smart-replies">Locations Conversations Participants Suggestions Suggest Smart Replies</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-delete-agent">Locations Delete Agent</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-get">Locations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-get-agent">Locations Get Agent</a>
|
||||
|
||||
@@ -910,11 +1185,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-knowledge-bases-documents-export">Locations Knowledge Bases Documents Export</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-knowledge-bases-documents-get">Locations Knowledge Bases Documents Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-knowledge-bases-documents-import">Locations Knowledge Bases Documents Import</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-knowledge-bases-documents-list">Locations Knowledge Bases Documents List</a>
|
||||
|
||||
@@ -945,6 +1230,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-list">Locations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-operations-cancel">Locations Operations Cancel</a>
|
||||
|
||||
@@ -1021,7 +1311,7 @@
|
||||
</div>
|
||||
<div role="main">
|
||||
<div class="section">
|
||||
<p>Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. Operation An operation which tracks when importing is complete. It only tracks when the draft agent is updated not when it is done training.</p>
|
||||
<p>Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a <a href="https://cloud.google.com/dialogflow/es/docs/how/long-running-operations">long-running operation</a>. The returned <code>Operation</code> type has the following method-specific fields: - <code>metadata</code>: An empty <a href="https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct">Struct message</a> - <code>response</code>: An <a href="https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty">Empty message</a> The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the <a href="https://cloud.google.com/dialogflow/es/docs/training">training documentation</a>.</p>
|
||||
<h1 id="scopes">Scopes</h1>
|
||||
<p>You will need authorization for at least one of the following scopes to make a valid call:</p>
|
||||
<ul>
|
||||
@@ -1049,11 +1339,11 @@ In the latter case it is advised to set the field-cursor to the data-structure's
|
||||
|
||||
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
|
||||
<ul>
|
||||
<li><code>-r . agent-content=duo</code><ul>
|
||||
<li><code>-r . agent-content=invidunt</code><ul>
|
||||
<li>Zip compressed raw byte content for agent.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>agent-uri=sea</code><ul>
|
||||
<li><code>agent-uri=invidunt</code><ul>
|
||||
<li>The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user