mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-29 21:34:03 +01:00
1236 lines
306 KiB
HTML
1236 lines
306 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ProjectMethods` struct in crate `google_dialogflow2`."><meta name="keywords" content="rust, rustlang, rust-lang, ProjectMethods"><title>google_dialogflow2::api::ProjectMethods - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../google_dialogflow2/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct ProjectMethods</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.agent_entity_types_batch_delete">agent_entity_types_batch_delete</a><a href="#method.agent_entity_types_batch_update">agent_entity_types_batch_update</a><a href="#method.agent_entity_types_create">agent_entity_types_create</a><a href="#method.agent_entity_types_delete">agent_entity_types_delete</a><a href="#method.agent_entity_types_entities_batch_create">agent_entity_types_entities_batch_create</a><a href="#method.agent_entity_types_entities_batch_delete">agent_entity_types_entities_batch_delete</a><a href="#method.agent_entity_types_entities_batch_update">agent_entity_types_entities_batch_update</a><a href="#method.agent_entity_types_get">agent_entity_types_get</a><a href="#method.agent_entity_types_list">agent_entity_types_list</a><a href="#method.agent_entity_types_patch">agent_entity_types_patch</a><a href="#method.agent_environments_intents_list">agent_environments_intents_list</a><a href="#method.agent_environments_list">agent_environments_list</a><a href="#method.agent_environments_users_sessions_contexts_create">agent_environments_users_sessions_contexts_create</a><a href="#method.agent_environments_users_sessions_contexts_delete">agent_environments_users_sessions_contexts_delete</a><a href="#method.agent_environments_users_sessions_contexts_get">agent_environments_users_sessions_contexts_get</a><a href="#method.agent_environments_users_sessions_contexts_list">agent_environments_users_sessions_contexts_list</a><a href="#method.agent_environments_users_sessions_contexts_patch">agent_environments_users_sessions_contexts_patch</a><a href="#method.agent_environments_users_sessions_delete_contexts">agent_environments_users_sessions_delete_contexts</a><a href="#method.agent_environments_users_sessions_detect_intent">agent_environments_users_sessions_detect_intent</a><a href="#method.agent_environments_users_sessions_entity_types_create">agent_environments_users_sessions_entity_types_create</a><a href="#method.agent_environments_users_sessions_entity_types_delete">agent_environments_users_sessions_entity_types_delete</a><a href="#method.agent_environments_users_sessions_entity_types_get">agent_environments_users_sessions_entity_types_get</a><a href="#method.agent_environments_users_sessions_entity_types_list">agent_environments_users_sessions_entity_types_list</a><a href="#method.agent_environments_users_sessions_entity_types_patch">agent_environments_users_sessions_entity_types_patch</a><a href="#method.agent_export">agent_export</a><a href="#method.agent_get_fulfillment">agent_get_fulfillment</a><a href="#method.agent_get_validation_result">agent_get_validation_result</a><a href="#method.agent_import">agent_import</a><a href="#method.agent_intents_batch_delete">agent_intents_batch_delete</a><a href="#method.agent_intents_batch_update">agent_intents_batch_update</a><a href="#method.agent_intents_create">agent_intents_create</a><a href="#method.agent_intents_delete">agent_intents_delete</a><a href="#method.agent_intents_get">agent_intents_get</a><a href="#method.agent_intents_list">agent_intents_list</a><a href="#method.agent_intents_patch">agent_intents_patch</a><a href="#method.agent_knowledge_bases_create">agent_knowledge_bases_create</a><a href="#method.agent_knowledge_bases_delete">agent_knowledge_bases_delete</a><a href="#method.agent_knowledge_bases_documents_create">agent_knowledge_bases_documents_create</a><a href="#method.agent_knowledge_bases_documents_delete">agent_knowledge_bases_documents_delete</a><a href="#method.agent_knowledge_bases_documents_get">agent_knowledge_bases_documents_get</a><a href="#method.agent_knowledge_bases_documents_list">agent_knowledge_bases_documents_list</a><a href="#method.agent_knowledge_bases_documents_patch">agent_knowledge_bases_documents_patch</a><a href="#method.agent_knowledge_bases_documents_reload">agent_knowledge_bases_documents_reload</a><a href="#method.agent_knowledge_bases_get">agent_knowledge_bases_get</a><a href="#method.agent_knowledge_bases_list">agent_knowledge_bases_list</a><a href="#method.agent_knowledge_bases_patch">agent_knowledge_bases_patch</a><a href="#method.agent_restore">agent_restore</a><a href="#method.agent_search">agent_search</a><a href="#method.agent_sessions_contexts_create">agent_sessions_contexts_create</a><a href="#method.agent_sessions_contexts_delete">agent_sessions_contexts_delete</a><a href="#method.agent_sessions_contexts_get">agent_sessions_contexts_get</a><a href="#method.agent_sessions_contexts_list">agent_sessions_contexts_list</a><a href="#method.agent_sessions_contexts_patch">agent_sessions_contexts_patch</a><a href="#method.agent_sessions_delete_contexts">agent_sessions_delete_contexts</a><a href="#method.agent_sessions_detect_intent">agent_sessions_detect_intent</a><a href="#method.agent_sessions_entity_types_create">agent_sessions_entity_types_create</a><a href="#method.agent_sessions_entity_types_delete">agent_sessions_entity_types_delete</a><a href="#method.agent_sessions_entity_types_get">agent_sessions_entity_types_get</a><a href="#method.agent_sessions_entity_types_list">agent_sessions_entity_types_list</a><a href="#method.agent_sessions_entity_types_patch">agent_sessions_entity_types_patch</a><a href="#method.agent_train">agent_train</a><a href="#method.agent_update_fulfillment">agent_update_fulfillment</a><a href="#method.answer_records_list">answer_records_list</a><a href="#method.answer_records_patch">answer_records_patch</a><a href="#method.conversation_profiles_create">conversation_profiles_create</a><a href="#method.conversation_profiles_delete">conversation_profiles_delete</a><a href="#method.conversation_profiles_get">conversation_profiles_get</a><a href="#method.conversation_profiles_list">conversation_profiles_list</a><a href="#method.conversation_profiles_patch">conversation_profiles_patch</a><a href="#method.conversations_complete">conversations_complete</a><a href="#method.conversations_create">conversations_create</a><a href="#method.conversations_get">conversations_get</a><a href="#method.conversations_list">conversations_list</a><a href="#method.conversations_messages_list">conversations_messages_list</a><a href="#method.conversations_participants_analyze_content">conversations_participants_analyze_content</a><a href="#method.conversations_participants_create">conversations_participants_create</a><a href="#method.conversations_participants_get">conversations_participants_get</a><a href="#method.conversations_participants_list">conversations_participants_list</a><a href="#method.conversations_participants_patch">conversations_participants_patch</a><a href="#method.conversations_participants_suggestions_suggest_articles">conversations_participants_suggestions_suggest_articles</a><a href="#method.conversations_participants_suggestions_suggest_faq_answers">conversations_participants_suggestions_suggest_faq_answers</a><a href="#method.delete_agent">delete_agent</a><a href="#method.get_agent">get_agent</a><a href="#method.knowledge_bases_create">knowledge_bases_create</a><a href="#method.knowledge_bases_delete">knowledge_bases_delete</a><a href="#method.knowledge_bases_documents_create">knowledge_bases_documents_create</a><a href="#method.knowledge_bases_documents_delete">knowledge_bases_documents_delete</a><a href="#method.knowledge_bases_documents_get">knowledge_bases_documents_get</a><a href="#method.knowledge_bases_documents_list">knowledge_bases_documents_list</a><a href="#method.knowledge_bases_documents_patch">knowledge_bases_documents_patch</a><a href="#method.knowledge_bases_documents_reload">knowledge_bases_documents_reload</a><a href="#method.knowledge_bases_get">knowledge_bases_get</a><a href="#method.knowledge_bases_list">knowledge_bases_list</a><a href="#method.knowledge_bases_patch">knowledge_bases_patch</a><a href="#method.locations_agent_entity_types_batch_delete">locations_agent_entity_types_batch_delete</a><a href="#method.locations_agent_entity_types_batch_update">locations_agent_entity_types_batch_update</a><a href="#method.locations_agent_entity_types_create">locations_agent_entity_types_create</a><a href="#method.locations_agent_entity_types_delete">locations_agent_entity_types_delete</a><a href="#method.locations_agent_entity_types_entities_batch_create">locations_agent_entity_types_entities_batch_create</a><a href="#method.locations_agent_entity_types_entities_batch_delete">locations_agent_entity_types_entities_batch_delete</a><a href="#method.locations_agent_entity_types_entities_batch_update">locations_agent_entity_types_entities_batch_update</a><a href="#method.locations_agent_entity_types_get">locations_agent_entity_types_get</a><a href="#method.locations_agent_entity_types_list">locations_agent_entity_types_list</a><a href="#method.locations_agent_entity_types_patch">locations_agent_entity_types_patch</a><a href="#method.locations_agent_environments_list">locations_agent_environments_list</a><a href="#method.locations_agent_environments_users_sessions_contexts_create">locations_agent_environments_users_sessions_contexts_create</a><a href="#method.locations_agent_environments_users_sessions_contexts_delete">locations_agent_environments_users_sessions_contexts_delete</a><a href="#method.locations_agent_environments_users_sessions_contexts_get">locations_agent_environments_users_sessions_contexts_get</a><a href="#method.locations_agent_environments_users_sessions_contexts_list">locations_agent_environments_users_sessions_contexts_list</a><a href="#method.locations_agent_environments_users_sessions_contexts_patch">locations_agent_environments_users_sessions_contexts_patch</a><a href="#method.locations_agent_environments_users_sessions_delete_contexts">locations_agent_environments_users_sessions_delete_contexts</a><a href="#method.locations_agent_environments_users_sessions_detect_intent">locations_agent_environments_users_sessions_detect_intent</a><a href="#method.locations_agent_environments_users_sessions_entity_types_create">locations_agent_environments_users_sessions_entity_types_create</a><a href="#method.locations_agent_environments_users_sessions_entity_types_delete">locations_agent_environments_users_sessions_entity_types_delete</a><a href="#method.locations_agent_environments_users_sessions_entity_types_get">locations_agent_environments_users_sessions_entity_types_get</a><a href="#method.locations_agent_environments_users_sessions_entity_types_list">locations_agent_environments_users_sessions_entity_types_list</a><a href="#method.locations_agent_environments_users_sessions_entity_types_patch">locations_agent_environments_users_sessions_entity_types_patch</a><a href="#method.locations_agent_export">locations_agent_export</a><a href="#method.locations_agent_get_fulfillment">locations_agent_get_fulfillment</a><a href="#method.locations_agent_get_validation_result">locations_agent_get_validation_result</a><a href="#method.locations_agent_import">locations_agent_import</a><a href="#method.locations_agent_intents_batch_delete">locations_agent_intents_batch_delete</a><a href="#method.locations_agent_intents_batch_update">locations_agent_intents_batch_update</a><a href="#method.locations_agent_intents_create">locations_agent_intents_create</a><a href="#method.locations_agent_intents_delete">locations_agent_intents_delete</a><a href="#method.locations_agent_intents_get">locations_agent_intents_get</a><a href="#method.locations_agent_intents_list">locations_agent_intents_list</a><a href="#method.locations_agent_intents_patch">locations_agent_intents_patch</a><a href="#method.locations_agent_restore">locations_agent_restore</a><a href="#method.locations_agent_search">locations_agent_search</a><a href="#method.locations_agent_sessions_contexts_create">locations_agent_sessions_contexts_create</a><a href="#method.locations_agent_sessions_contexts_delete">locations_agent_sessions_contexts_delete</a><a href="#method.locations_agent_sessions_contexts_get">locations_agent_sessions_contexts_get</a><a href="#method.locations_agent_sessions_contexts_list">locations_agent_sessions_contexts_list</a><a href="#method.locations_agent_sessions_contexts_patch">locations_agent_sessions_contexts_patch</a><a href="#method.locations_agent_sessions_delete_contexts">locations_agent_sessions_delete_contexts</a><a href="#method.locations_agent_sessions_detect_intent">locations_agent_sessions_detect_intent</a><a href="#method.locations_agent_sessions_entity_types_create">locations_agent_sessions_entity_types_create</a><a href="#method.locations_agent_sessions_entity_types_delete">locations_agent_sessions_entity_types_delete</a><a href="#method.locations_agent_sessions_entity_types_get">locations_agent_sessions_entity_types_get</a><a href="#method.locations_agent_sessions_entity_types_list">locations_agent_sessions_entity_types_list</a><a href="#method.locations_agent_sessions_entity_types_patch">locations_agent_sessions_entity_types_patch</a><a href="#method.locations_agent_train">locations_agent_train</a><a href="#method.locations_agent_update_fulfillment">locations_agent_update_fulfillment</a><a href="#method.locations_answer_records_list">locations_answer_records_list</a><a href="#method.locations_answer_records_patch">locations_answer_records_patch</a><a href="#method.locations_conversation_profiles_create">locations_conversation_profiles_create</a><a href="#method.locations_conversation_profiles_delete">locations_conversation_profiles_delete</a><a href="#method.locations_conversation_profiles_get">locations_conversation_profiles_get</a><a href="#method.locations_conversation_profiles_list">locations_conversation_profiles_list</a><a href="#method.locations_conversation_profiles_patch">locations_conversation_profiles_patch</a><a href="#method.locations_conversations_complete">locations_conversations_complete</a><a href="#method.locations_conversations_create">locations_conversations_create</a><a href="#method.locations_conversations_get">locations_conversations_get</a><a href="#method.locations_conversations_list">locations_conversations_list</a><a href="#method.locations_conversations_messages_list">locations_conversations_messages_list</a><a href="#method.locations_conversations_participants_analyze_content">locations_conversations_participants_analyze_content</a><a href="#method.locations_conversations_participants_create">locations_conversations_participants_create</a><a href="#method.locations_conversations_participants_get">locations_conversations_participants_get</a><a href="#method.locations_conversations_participants_list">locations_conversations_participants_list</a><a href="#method.locations_conversations_participants_patch">locations_conversations_participants_patch</a><a href="#method.locations_conversations_participants_suggestions_suggest_articles">locations_conversations_participants_suggestions_suggest_articles</a><a href="#method.locations_conversations_participants_suggestions_suggest_faq_answers">locations_conversations_participants_suggestions_suggest_faq_answers</a><a href="#method.locations_delete_agent">locations_delete_agent</a><a href="#method.locations_get_agent">locations_get_agent</a><a href="#method.locations_knowledge_bases_create">locations_knowledge_bases_create</a><a href="#method.locations_knowledge_bases_delete">locations_knowledge_bases_delete</a><a href="#method.locations_knowledge_bases_documents_create">locations_knowledge_bases_documents_create</a><a href="#method.locations_knowledge_bases_documents_delete">locations_knowledge_bases_documents_delete</a><a href="#method.locations_knowledge_bases_documents_get">locations_knowledge_bases_documents_get</a><a href="#method.locations_knowledge_bases_documents_list">locations_knowledge_bases_documents_list</a><a href="#method.locations_knowledge_bases_documents_patch">locations_knowledge_bases_documents_patch</a><a href="#method.locations_knowledge_bases_documents_reload">locations_knowledge_bases_documents_reload</a><a href="#method.locations_knowledge_bases_get">locations_knowledge_bases_get</a><a href="#method.locations_knowledge_bases_list">locations_knowledge_bases_list</a><a href="#method.locations_knowledge_bases_patch">locations_knowledge_bases_patch</a><a href="#method.locations_operations_cancel">locations_operations_cancel</a><a href="#method.locations_operations_get">locations_operations_get</a><a href="#method.locations_operations_list">locations_operations_list</a><a href="#method.locations_set_agent">locations_set_agent</a><a href="#method.operations_cancel">operations_cancel</a><a href="#method.operations_get">operations_get</a><a href="#method.operations_list">operations_list</a><a href="#method.set_agent">set_agent</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-MethodsBuilder">MethodsBuilder</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class="location"><a href="../index.html">google_dialogflow2</a>::<wbr><a href="index.html">api</a></p><div id="sidebar-vars" data-name="ProjectMethods" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">google_dialogflow2</a>::<wbr><a href="index.html">api</a>::<wbr><a class="struct" href="">ProjectMethods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3308-3312" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct ProjectMethods<'a, C> <span class="where fmt-newline">where<br> C: 'a, </span> { /* fields omitted */ }</pre></div><div class="docblock"><p>A builder providing access to all methods supported on <em>project</em> resources.
|
||
It is not used directly, but through the <code>Dialogflow</code> hub.</p>
|
||
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
|
||
<p>Instantiate a resource builder</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper_rustls</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">yup_oauth2</span> <span class="kw">as</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">google_dialogflow2</span> <span class="kw">as</span> <span class="ident">dialogflow2</span>;
|
||
|
||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">default</span>::<span class="ident">Default</span>;
|
||
<span class="kw">use</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">use</span> <span class="ident">dialogflow2</span>::<span class="ident">Dialogflow</span>;
|
||
|
||
<span class="kw">let</span> <span class="ident">secret</span>: <span class="ident">oauth2</span>::<span class="ident">ApplicationSecret</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||
<span class="kw">let</span> <span class="ident">auth</span> <span class="op">=</span> <span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowAuthenticator</span>::<span class="ident">builder</span>(
|
||
<span class="ident">secret</span>,
|
||
<span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowReturnMethod</span>::<span class="ident">HTTPRedirect</span>,
|
||
).<span class="ident">build</span>().<span class="kw">await</span>.<span class="ident">unwrap</span>();
|
||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">hub</span> <span class="op">=</span> <span class="ident">Dialogflow</span>::<span class="ident">new</span>(<span class="ident">hyper</span>::<span class="ident">Client</span>::<span class="ident">builder</span>().<span class="ident">build</span>(<span class="ident">hyper_rustls</span>::<span class="ident">HttpsConnector</span>::<span class="ident">with_native_roots</span>()), <span class="ident">auth</span>);
|
||
<span class="comment">// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*</span>
|
||
<span class="comment">// like `agent_entity_types_batch_delete(...)`, `agent_entity_types_batch_update(...)`, `agent_entity_types_create(...)`, `agent_entity_types_delete(...)`, `agent_entity_types_entities_batch_create(...)`, `agent_entity_types_entities_batch_delete(...)`, `agent_entity_types_entities_batch_update(...)`, `agent_entity_types_get(...)`, `agent_entity_types_list(...)`, `agent_entity_types_patch(...)`, `agent_environments_intents_list(...)`, `agent_environments_list(...)`, `agent_environments_users_sessions_contexts_create(...)`, `agent_environments_users_sessions_contexts_delete(...)`, `agent_environments_users_sessions_contexts_get(...)`, `agent_environments_users_sessions_contexts_list(...)`, `agent_environments_users_sessions_contexts_patch(...)`, `agent_environments_users_sessions_delete_contexts(...)`, `agent_environments_users_sessions_detect_intent(...)`, `agent_environments_users_sessions_entity_types_create(...)`, `agent_environments_users_sessions_entity_types_delete(...)`, `agent_environments_users_sessions_entity_types_get(...)`, `agent_environments_users_sessions_entity_types_list(...)`, `agent_environments_users_sessions_entity_types_patch(...)`, `agent_export(...)`, `agent_get_fulfillment(...)`, `agent_get_validation_result(...)`, `agent_import(...)`, `agent_intents_batch_delete(...)`, `agent_intents_batch_update(...)`, `agent_intents_create(...)`, `agent_intents_delete(...)`, `agent_intents_get(...)`, `agent_intents_list(...)`, `agent_intents_patch(...)`, `agent_knowledge_bases_create(...)`, `agent_knowledge_bases_delete(...)`, `agent_knowledge_bases_documents_create(...)`, `agent_knowledge_bases_documents_delete(...)`, `agent_knowledge_bases_documents_get(...)`, `agent_knowledge_bases_documents_list(...)`, `agent_knowledge_bases_documents_patch(...)`, `agent_knowledge_bases_documents_reload(...)`, `agent_knowledge_bases_get(...)`, `agent_knowledge_bases_list(...)`, `agent_knowledge_bases_patch(...)`, `agent_restore(...)`, `agent_search(...)`, `agent_sessions_contexts_create(...)`, `agent_sessions_contexts_delete(...)`, `agent_sessions_contexts_get(...)`, `agent_sessions_contexts_list(...)`, `agent_sessions_contexts_patch(...)`, `agent_sessions_delete_contexts(...)`, `agent_sessions_detect_intent(...)`, `agent_sessions_entity_types_create(...)`, `agent_sessions_entity_types_delete(...)`, `agent_sessions_entity_types_get(...)`, `agent_sessions_entity_types_list(...)`, `agent_sessions_entity_types_patch(...)`, `agent_train(...)`, `agent_update_fulfillment(...)`, `answer_records_list(...)`, `answer_records_patch(...)`, `conversation_profiles_create(...)`, `conversation_profiles_delete(...)`, `conversation_profiles_get(...)`, `conversation_profiles_list(...)`, `conversation_profiles_patch(...)`, `conversations_complete(...)`, `conversations_create(...)`, `conversations_get(...)`, `conversations_list(...)`, `conversations_messages_list(...)`, `conversations_participants_analyze_content(...)`, `conversations_participants_create(...)`, `conversations_participants_get(...)`, `conversations_participants_list(...)`, `conversations_participants_patch(...)`, `conversations_participants_suggestions_suggest_articles(...)`, `conversations_participants_suggestions_suggest_faq_answers(...)`, `delete_agent(...)`, `get_agent(...)`, `knowledge_bases_create(...)`, `knowledge_bases_delete(...)`, `knowledge_bases_documents_create(...)`, `knowledge_bases_documents_delete(...)`, `knowledge_bases_documents_get(...)`, `knowledge_bases_documents_list(...)`, `knowledge_bases_documents_patch(...)`, `knowledge_bases_documents_reload(...)`, `knowledge_bases_get(...)`, `knowledge_bases_list(...)`, `knowledge_bases_patch(...)`, `locations_agent_entity_types_batch_delete(...)`, `locations_agent_entity_types_batch_update(...)`, `locations_agent_entity_types_create(...)`, `locations_agent_entity_types_delete(...)`, `locations_agent_entity_types_entities_batch_create(...)`, `locations_agent_entity_types_entities_batch_delete(...)`, `locations_agent_entity_types_entities_batch_update(...)`, `locations_agent_entity_types_get(...)`, `locations_agent_entity_types_list(...)`, `locations_agent_entity_types_patch(...)`, `locations_agent_environments_list(...)`, `locations_agent_environments_users_sessions_contexts_create(...)`, `locations_agent_environments_users_sessions_contexts_delete(...)`, `locations_agent_environments_users_sessions_contexts_get(...)`, `locations_agent_environments_users_sessions_contexts_list(...)`, `locations_agent_environments_users_sessions_contexts_patch(...)`, `locations_agent_environments_users_sessions_delete_contexts(...)`, `locations_agent_environments_users_sessions_detect_intent(...)`, `locations_agent_environments_users_sessions_entity_types_create(...)`, `locations_agent_environments_users_sessions_entity_types_delete(...)`, `locations_agent_environments_users_sessions_entity_types_get(...)`, `locations_agent_environments_users_sessions_entity_types_list(...)`, `locations_agent_environments_users_sessions_entity_types_patch(...)`, `locations_agent_export(...)`, `locations_agent_get_fulfillment(...)`, `locations_agent_get_validation_result(...)`, `locations_agent_import(...)`, `locations_agent_intents_batch_delete(...)`, `locations_agent_intents_batch_update(...)`, `locations_agent_intents_create(...)`, `locations_agent_intents_delete(...)`, `locations_agent_intents_get(...)`, `locations_agent_intents_list(...)`, `locations_agent_intents_patch(...)`, `locations_agent_restore(...)`, `locations_agent_search(...)`, `locations_agent_sessions_contexts_create(...)`, `locations_agent_sessions_contexts_delete(...)`, `locations_agent_sessions_contexts_get(...)`, `locations_agent_sessions_contexts_list(...)`, `locations_agent_sessions_contexts_patch(...)`, `locations_agent_sessions_delete_contexts(...)`, `locations_agent_sessions_detect_intent(...)`, `locations_agent_sessions_entity_types_create(...)`, `locations_agent_sessions_entity_types_delete(...)`, `locations_agent_sessions_entity_types_get(...)`, `locations_agent_sessions_entity_types_list(...)`, `locations_agent_sessions_entity_types_patch(...)`, `locations_agent_train(...)`, `locations_agent_update_fulfillment(...)`, `locations_answer_records_list(...)`, `locations_answer_records_patch(...)`, `locations_conversation_profiles_create(...)`, `locations_conversation_profiles_delete(...)`, `locations_conversation_profiles_get(...)`, `locations_conversation_profiles_list(...)`, `locations_conversation_profiles_patch(...)`, `locations_conversations_complete(...)`, `locations_conversations_create(...)`, `locations_conversations_get(...)`, `locations_conversations_list(...)`, `locations_conversations_messages_list(...)`, `locations_conversations_participants_analyze_content(...)`, `locations_conversations_participants_create(...)`, `locations_conversations_participants_get(...)`, `locations_conversations_participants_list(...)`, `locations_conversations_participants_patch(...)`, `locations_conversations_participants_suggestions_suggest_articles(...)`, `locations_conversations_participants_suggestions_suggest_faq_answers(...)`, `locations_delete_agent(...)`, `locations_get_agent(...)`, `locations_knowledge_bases_create(...)`, `locations_knowledge_bases_delete(...)`, `locations_knowledge_bases_documents_create(...)`, `locations_knowledge_bases_documents_delete(...)`, `locations_knowledge_bases_documents_get(...)`, `locations_knowledge_bases_documents_list(...)`, `locations_knowledge_bases_documents_patch(...)`, `locations_knowledge_bases_documents_reload(...)`, `locations_knowledge_bases_get(...)`, `locations_knowledge_bases_list(...)`, `locations_knowledge_bases_patch(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_set_agent(...)`, `operations_cancel(...)`, `operations_get(...)`, `operations_list(...)` and `set_agent(...)`</span>
|
||
<span class="comment">// to build up your call.</span>
|
||
<span class="kw">let</span> <span class="ident">rb</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">projects</span>();</pre></div>
|
||
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl<'a, C> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3316-6762" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.agent_entity_types_entities_batch_create" class="method"><code>pub fn <a href="#method.agent_entity_types_entities_batch_create" class="fnname">agent_entity_types_entities_batch_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchCreateEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchCreateEntitiesRequest">GoogleCloudDialogflowV2BatchCreateEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeEntityBatchCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeEntityBatchCreateCall">ProjectAgentEntityTypeEntityBatchCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3326-3335" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates multiple new entities in the specified entity type. Operation </p>
|
||
<h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to create entities in. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_entities_batch_delete" class="method"><code>pub fn <a href="#method.agent_entity_types_entities_batch_delete" class="fnname">agent_entity_types_entities_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest">GoogleCloudDialogflowV2BatchDeleteEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeEntityBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeEntityBatchDeleteCall">ProjectAgentEntityTypeEntityBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3345-3354" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes entities in the specified entity type. Operation </p>
|
||
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to delete entries for. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_entities_batch_update" class="method"><code>pub fn <a href="#method.agent_entity_types_entities_batch_update" class="fnname">agent_entity_types_entities_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest">GoogleCloudDialogflowV2BatchUpdateEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeEntityBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeEntityBatchUpdateCall">ProjectAgentEntityTypeEntityBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3364-3373" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Operation </p>
|
||
<h1 id="arguments-2" class="section-header"><a href="#arguments-2">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to update or create entities in. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_batch_delete" class="method"><code>pub fn <a href="#method.agent_entity_types_batch_delete" class="fnname">agent_entity_types_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest">GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeBatchDeleteCall">ProjectAgentEntityTypeBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3383-3392" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes entity types in the specified agent. Operation </p>
|
||
<h1 id="arguments-3" class="section-header"><a href="#arguments-3">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to delete all entities types for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_batch_update" class="method"><code>pub fn <a href="#method.agent_entity_types_batch_update" class="fnname">agent_entity_types_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest">GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeBatchUpdateCall">ProjectAgentEntityTypeBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3402-3411" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates/Creates multiple entity types in the specified agent. Operation </p>
|
||
<h1 id="arguments-4" class="section-header"><a href="#arguments-4">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to update or create entity types in. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_create" class="method"><code>pub fn <a href="#method.agent_entity_types_create" class="fnname">agent_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2EntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2EntityType">GoogleCloudDialogflowV2EntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeCreateCall">ProjectAgentEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3421-3431" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates an entity type in the specified agent.</p>
|
||
<h1 id="arguments-5" class="section-header"><a href="#arguments-5">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The agent to create a entity type for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_delete" class="method"><code>pub fn <a href="#method.agent_entity_types_delete" class="fnname">agent_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeDeleteCall">ProjectAgentEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3440-3448" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified entity type.</p>
|
||
<h1 id="arguments-6" class="section-header"><a href="#arguments-6">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_get" class="method"><code>pub fn <a href="#method.agent_entity_types_get" class="fnname">agent_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeGetCall">ProjectAgentEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3457-3466" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified entity type.</p>
|
||
<h1 id="arguments-7" class="section-header"><a href="#arguments-7">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_list" class="method"><code>pub fn <a href="#method.agent_entity_types_list" class="fnname">agent_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypeListCall">ProjectAgentEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3475-3486" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all entity types in the specified agent.</p>
|
||
<h1 id="arguments-8" class="section-header"><a href="#arguments-8">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all entity types from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_entity_types_patch" class="method"><code>pub fn <a href="#method.agent_entity_types_patch" class="fnname">agent_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2EntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2EntityType">GoogleCloudDialogflowV2EntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectAgentEntityTypePatchCall">ProjectAgentEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3496-3507" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified entity type.</p>
|
||
<h1 id="arguments-9" class="section-header"><a href="#arguments-9">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_intents_list" class="method"><code>pub fn <a href="#method.agent_environments_intents_list" class="fnname">agent_environments_intents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentIntentListCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentIntentListCall">ProjectAgentEnvironmentIntentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3516-3528" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all intents in the specified agent.</p>
|
||
<h1 id="arguments-10" class="section-header"><a href="#arguments-10">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all intents from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_contexts_create" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_contexts_create" class="fnname">agent_environments_users_sessions_contexts_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionContextCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionContextCreateCall">ProjectAgentEnvironmentUserSessionContextCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3538-3547" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a context. If the specified context already exists, overrides the context.</p>
|
||
<h1 id="arguments-11" class="section-header"><a href="#arguments-11">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a context for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_contexts_delete" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_contexts_delete" class="fnname">agent_environments_users_sessions_contexts_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionContextDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionContextDeleteCall">ProjectAgentEnvironmentUserSessionContextDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3556-3564" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified context.</p>
|
||
<h1 id="arguments-12" class="section-header"><a href="#arguments-12">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context to delete. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_contexts_get" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_contexts_get" class="fnname">agent_environments_users_sessions_contexts_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionContextGetCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionContextGetCall">ProjectAgentEnvironmentUserSessionContextGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3573-3581" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified context.</p>
|
||
<h1 id="arguments-13" class="section-header"><a href="#arguments-13">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_contexts_list" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_contexts_list" class="fnname">agent_environments_users_sessions_contexts_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionContextListCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionContextListCall">ProjectAgentEnvironmentUserSessionContextListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3590-3600" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all contexts in the specified session.</p>
|
||
<h1 id="arguments-14" class="section-header"><a href="#arguments-14">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_contexts_patch" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_contexts_patch" class="fnname">agent_environments_users_sessions_contexts_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionContextPatchCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionContextPatchCall">ProjectAgentEnvironmentUserSessionContextPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3610-3620" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified context.</p>
|
||
<h1 id="arguments-15" class="section-header"><a href="#arguments-15">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the context. Format: <code>projects//agent/sessions//contexts/</code>, or <code>projects//agent/environments//users//sessions//contexts/</code>. The <code>Context ID</code> is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * <code>__system_counters__</code> * <code>*_id_dialog_context</code> * <code>*_dialog_params_size</code></li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_entity_types_create" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_entity_types_create" class="fnname">agent_environments_users_sessions_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall">ProjectAgentEnvironmentUserSessionEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3630-3639" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-16" class="section-header"><a href="#arguments-16">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a session entity type for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_entity_types_delete" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_entity_types_delete" class="fnname">agent_environments_users_sessions_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall">ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3648-3656" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-17" class="section-header"><a href="#arguments-17">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_entity_types_get" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_entity_types_get" class="fnname">agent_environments_users_sessions_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall">ProjectAgentEnvironmentUserSessionEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3665-3673" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-18" class="section-header"><a href="#arguments-18">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the session entity type. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_entity_types_list" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_entity_types_list" class="fnname">agent_environments_users_sessions_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionEntityTypeListCall">ProjectAgentEnvironmentUserSessionEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3682-3692" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-19" class="section-header"><a href="#arguments-19">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all session entity types from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_entity_types_patch" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_entity_types_patch" class="fnname">agent_environments_users_sessions_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall">ProjectAgentEnvironmentUserSessionEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3702-3712" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-20" class="section-header"><a href="#arguments-20">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of this session entity type. Format: <code>projects//agent/sessions//entityTypes/</code>, or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_delete_contexts" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_delete_contexts" class="fnname">agent_environments_users_sessions_delete_contexts</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionDeleteContextCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionDeleteContextCall">ProjectAgentEnvironmentUserSessionDeleteContextCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3721-3729" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes all active contexts in the specified session.</p>
|
||
<h1 id="arguments-21" class="section-header"><a href="#arguments-21">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the session to delete all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_users_sessions_detect_intent" class="method"><code>pub fn <a href="#method.agent_environments_users_sessions_detect_intent" class="fnname">agent_environments_users_sessions_detect_intent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2DetectIntentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2DetectIntentRequest">GoogleCloudDialogflowV2DetectIntentRequest</a>, <br> session: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentUserSessionDetectIntentCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentUserSessionDetectIntentCall">ProjectAgentEnvironmentUserSessionDetectIntentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3739-3748" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-22" class="section-header"><a href="#arguments-22">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>session</code> - Required. The name of the session this query is sent to. Format: <code>projects//agent/sessions/</code>, or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment (<code>Environment ID</code> might be referred to as environment name at some places). If <code>User ID</code> is not specified, we are using "-". It's up to the API caller to choose an appropriate <code>Session ID</code> and <code>User Id</code>. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the <code>Session ID</code> and <code>User ID</code> must not exceed 36 characters. For more information, see the <a href="https://cloud.google.com/dialogflow/docs/api-overview">API interactions guide</a>. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_environments_list" class="method"><code>pub fn <a href="#method.agent_environments_list" class="fnname">agent_environments_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentEnvironmentListCall.html" title="struct google_dialogflow2::api::ProjectAgentEnvironmentListCall">ProjectAgentEnvironmentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3757-3767" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all non-draft environments of the specified agent.</p>
|
||
<h1 id="arguments-23" class="section-header"><a href="#arguments-23">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all environments from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_batch_delete" class="method"><code>pub fn <a href="#method.agent_intents_batch_delete" class="fnname">agent_intents_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteIntentsRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteIntentsRequest">GoogleCloudDialogflowV2BatchDeleteIntentsRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentBatchDeleteCall">ProjectAgentIntentBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3777-3786" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes intents in the specified agent. Operation </p>
|
||
<h1 id="arguments-24" class="section-header"><a href="#arguments-24">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to delete all entities types for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_batch_update" class="method"><code>pub fn <a href="#method.agent_intents_batch_update" class="fnname">agent_intents_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateIntentsRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateIntentsRequest">GoogleCloudDialogflowV2BatchUpdateIntentsRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentBatchUpdateCall">ProjectAgentIntentBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3796-3805" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates/Creates multiple intents in the specified agent. Operation </p>
|
||
<h1 id="arguments-25" class="section-header"><a href="#arguments-25">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to update or create intents in. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_create" class="method"><code>pub fn <a href="#method.agent_intents_create" class="fnname">agent_intents_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Intent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Intent">GoogleCloudDialogflowV2Intent</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentCreateCall">ProjectAgentIntentCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3815-3826" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates an intent in the specified agent.</p>
|
||
<h1 id="arguments-26" class="section-header"><a href="#arguments-26">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The agent to create a intent for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_delete" class="method"><code>pub fn <a href="#method.agent_intents_delete" class="fnname">agent_intents_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentDeleteCall">ProjectAgentIntentDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3835-3843" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified intent and its direct or indirect followup intents.</p>
|
||
<h1 id="arguments-27" class="section-header"><a href="#arguments-27">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_get" class="method"><code>pub fn <a href="#method.agent_intents_get" class="fnname">agent_intents_get</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentGetCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentGetCall">ProjectAgentIntentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3852-3862" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified intent.</p>
|
||
<h1 id="arguments-28" class="section-header"><a href="#arguments-28">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the intent. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_list" class="method"><code>pub fn <a href="#method.agent_intents_list" class="fnname">agent_intents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentListCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentListCall">ProjectAgentIntentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3871-3883" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all intents in the specified agent.</p>
|
||
<h1 id="arguments-29" class="section-header"><a href="#arguments-29">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all intents from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_intents_patch" class="method"><code>pub fn <a href="#method.agent_intents_patch" class="fnname">agent_intents_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Intent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Intent">GoogleCloudDialogflowV2Intent</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentIntentPatchCall.html" title="struct google_dialogflow2::api::ProjectAgentIntentPatchCall">ProjectAgentIntentPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3893-3905" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified intent.</p>
|
||
<h1 id="arguments-30" class="section-header"><a href="#arguments-30">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_create" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_create" class="fnname">agent_knowledge_bases_documents_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentCreateCall">ProjectAgentKnowledgeBaseDocumentCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3915-3924" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new document. Operation </p>
|
||
<h1 id="arguments-31" class="section-header"><a href="#arguments-31">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The knowledge base to create a document for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_delete" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_delete" class="fnname">agent_knowledge_bases_documents_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentDeleteCall">ProjectAgentKnowledgeBaseDocumentDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3933-3941" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified document. Operation </p>
|
||
<h1 id="arguments-32" class="section-header"><a href="#arguments-32">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to delete. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_get" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_get" class="fnname">agent_knowledge_bases_documents_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentGetCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentGetCall">ProjectAgentKnowledgeBaseDocumentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3950-3958" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified document.</p>
|
||
<h1 id="arguments-33" class="section-header"><a href="#arguments-33">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to retrieve. Format <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_list" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_list" class="fnname">agent_knowledge_bases_documents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentListCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentListCall">ProjectAgentKnowledgeBaseDocumentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3967-3977" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all documents of the knowledge base.</p>
|
||
<h1 id="arguments-34" class="section-header"><a href="#arguments-34">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The knowledge base to list all documents for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_patch" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_patch" class="fnname">agent_knowledge_bases_documents_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentPatchCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentPatchCall">ProjectAgentKnowledgeBaseDocumentPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3987-3997" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified document. Operation </p>
|
||
<h1 id="arguments-35" class="section-header"><a href="#arguments-35">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The document resource name. The name must be empty when creating a document. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_documents_reload" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_documents_reload" class="fnname">agent_knowledge_bases_documents_reload</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ReloadDocumentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ReloadDocumentRequest">GoogleCloudDialogflowV2ReloadDocumentRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDocumentReloadCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDocumentReloadCall">ProjectAgentKnowledgeBaseDocumentReloadCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4007-4016" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: The <code>projects.agent.knowledgeBases.documents</code> resource is deprecated; only use <code>projects.knowledgeBases.documents</code>. Operation </p>
|
||
<h1 id="arguments-36" class="section-header"><a href="#arguments-36">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The name of the document to reload. Format: <code>projects//locations//knowledgeBases//documents/</code></li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_create" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_create" class="fnname">agent_knowledge_bases_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseCreateCall">ProjectAgentKnowledgeBaseCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4026-4035" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a knowledge base.</p>
|
||
<h1 id="arguments-37" class="section-header"><a href="#arguments-37">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project to create a knowledge base for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_delete" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_delete" class="fnname">agent_knowledge_bases_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseDeleteCall">ProjectAgentKnowledgeBaseDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4044-4053" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified knowledge base.</p>
|
||
<h1 id="arguments-38" class="section-header"><a href="#arguments-38">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to delete. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_get" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_get" class="fnname">agent_knowledge_bases_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseGetCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseGetCall">ProjectAgentKnowledgeBaseGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4062-4070" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified knowledge base.</p>
|
||
<h1 id="arguments-39" class="section-header"><a href="#arguments-39">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to retrieve. Format <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_list" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_list" class="fnname">agent_knowledge_bases_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBaseListCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBaseListCall">ProjectAgentKnowledgeBaseListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4079-4089" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all knowledge bases of the specified agent.</p>
|
||
<h1 id="arguments-40" class="section-header"><a href="#arguments-40">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list of knowledge bases for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_knowledge_bases_patch" class="method"><code>pub fn <a href="#method.agent_knowledge_bases_patch" class="fnname">agent_knowledge_bases_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentKnowledgeBasePatchCall.html" title="struct google_dialogflow2::api::ProjectAgentKnowledgeBasePatchCall">ProjectAgentKnowledgeBasePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4099-4109" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified knowledge base.</p>
|
||
<h1 id="arguments-41" class="section-header"><a href="#arguments-41">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The knowledge base resource name. The name must be empty when creating a knowledge base. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_contexts_create" class="method"><code>pub fn <a href="#method.agent_sessions_contexts_create" class="fnname">agent_sessions_contexts_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionContextCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionContextCreateCall">ProjectAgentSessionContextCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4119-4128" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a context. If the specified context already exists, overrides the context.</p>
|
||
<h1 id="arguments-42" class="section-header"><a href="#arguments-42">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a context for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_contexts_delete" class="method"><code>pub fn <a href="#method.agent_sessions_contexts_delete" class="fnname">agent_sessions_contexts_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionContextDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionContextDeleteCall">ProjectAgentSessionContextDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4137-4145" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified context.</p>
|
||
<h1 id="arguments-43" class="section-header"><a href="#arguments-43">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context to delete. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_contexts_get" class="method"><code>pub fn <a href="#method.agent_sessions_contexts_get" class="fnname">agent_sessions_contexts_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionContextGetCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionContextGetCall">ProjectAgentSessionContextGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4154-4162" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified context.</p>
|
||
<h1 id="arguments-44" class="section-header"><a href="#arguments-44">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_contexts_list" class="method"><code>pub fn <a href="#method.agent_sessions_contexts_list" class="fnname">agent_sessions_contexts_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionContextListCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionContextListCall">ProjectAgentSessionContextListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4171-4181" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all contexts in the specified session.</p>
|
||
<h1 id="arguments-45" class="section-header"><a href="#arguments-45">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_contexts_patch" class="method"><code>pub fn <a href="#method.agent_sessions_contexts_patch" class="fnname">agent_sessions_contexts_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionContextPatchCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionContextPatchCall">ProjectAgentSessionContextPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4191-4201" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified context.</p>
|
||
<h1 id="arguments-46" class="section-header"><a href="#arguments-46">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the context. Format: <code>projects//agent/sessions//contexts/</code>, or <code>projects//agent/environments//users//sessions//contexts/</code>. The <code>Context ID</code> is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * <code>__system_counters__</code> * <code>*_id_dialog_context</code> * <code>*_dialog_params_size</code></li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_entity_types_create" class="method"><code>pub fn <a href="#method.agent_sessions_entity_types_create" class="fnname">agent_sessions_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionEntityTypeCreateCall">ProjectAgentSessionEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4211-4220" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-47" class="section-header"><a href="#arguments-47">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a session entity type for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_entity_types_delete" class="method"><code>pub fn <a href="#method.agent_sessions_entity_types_delete" class="fnname">agent_sessions_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionEntityTypeDeleteCall">ProjectAgentSessionEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4229-4237" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-48" class="section-header"><a href="#arguments-48">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_entity_types_get" class="method"><code>pub fn <a href="#method.agent_sessions_entity_types_get" class="fnname">agent_sessions_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionEntityTypeGetCall">ProjectAgentSessionEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4246-4254" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-49" class="section-header"><a href="#arguments-49">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the session entity type. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_entity_types_list" class="method"><code>pub fn <a href="#method.agent_sessions_entity_types_list" class="fnname">agent_sessions_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionEntityTypeListCall">ProjectAgentSessionEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4263-4273" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-50" class="section-header"><a href="#arguments-50">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all session entity types from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_entity_types_patch" class="method"><code>pub fn <a href="#method.agent_sessions_entity_types_patch" class="fnname">agent_sessions_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionEntityTypePatchCall">ProjectAgentSessionEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4283-4293" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-51" class="section-header"><a href="#arguments-51">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of this session entity type. Format: <code>projects//agent/sessions//entityTypes/</code>, or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_delete_contexts" class="method"><code>pub fn <a href="#method.agent_sessions_delete_contexts" class="fnname">agent_sessions_delete_contexts</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionDeleteContextCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionDeleteContextCall">ProjectAgentSessionDeleteContextCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4302-4310" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes all active contexts in the specified session.</p>
|
||
<h1 id="arguments-52" class="section-header"><a href="#arguments-52">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the session to delete all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_sessions_detect_intent" class="method"><code>pub fn <a href="#method.agent_sessions_detect_intent" class="fnname">agent_sessions_detect_intent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2DetectIntentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2DetectIntentRequest">GoogleCloudDialogflowV2DetectIntentRequest</a>, <br> session: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSessionDetectIntentCall.html" title="struct google_dialogflow2::api::ProjectAgentSessionDetectIntentCall">ProjectAgentSessionDetectIntentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4320-4329" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-53" class="section-header"><a href="#arguments-53">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>session</code> - Required. The name of the session this query is sent to. Format: <code>projects//agent/sessions/</code>, or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment (<code>Environment ID</code> might be referred to as environment name at some places). If <code>User ID</code> is not specified, we are using "-". It's up to the API caller to choose an appropriate <code>Session ID</code> and <code>User Id</code>. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the <code>Session ID</code> and <code>User ID</code> must not exceed 36 characters. For more information, see the <a href="https://cloud.google.com/dialogflow/docs/api-overview">API interactions guide</a>. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_export" class="method"><code>pub fn <a href="#method.agent_export" class="fnname">agent_export</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ExportAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ExportAgentRequest">GoogleCloudDialogflowV2ExportAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentExportCall.html" title="struct google_dialogflow2::api::ProjectAgentExportCall">ProjectAgentExportCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4339-4348" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Exports the specified agent to a ZIP file. Operation </p>
|
||
<h1 id="arguments-54" class="section-header"><a href="#arguments-54">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to export is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_get_fulfillment" class="method"><code>pub fn <a href="#method.agent_get_fulfillment" class="fnname">agent_get_fulfillment</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentGetFulfillmentCall.html" title="struct google_dialogflow2::api::ProjectAgentGetFulfillmentCall">ProjectAgentGetFulfillmentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4357-4365" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the fulfillment.</p>
|
||
<h1 id="arguments-55" class="section-header"><a href="#arguments-55">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the fulfillment. Format: <code>projects//agent/fulfillment</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_get_validation_result" class="method"><code>pub fn <a href="#method.agent_get_validation_result" class="fnname">agent_get_validation_result</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentGetValidationResultCall.html" title="struct google_dialogflow2::api::ProjectAgentGetValidationResultCall">ProjectAgentGetValidationResultCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4374-4383" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.</p>
|
||
<h1 id="arguments-56" class="section-header"><a href="#arguments-56">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_import" class="method"><code>pub fn <a href="#method.agent_import" class="fnname">agent_import</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ImportAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ImportAgentRequest">GoogleCloudDialogflowV2ImportAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentImportCall.html" title="struct google_dialogflow2::api::ProjectAgentImportCall">ProjectAgentImportCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4393-4402" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</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. 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>
|
||
<h1 id="arguments-57" class="section-header"><a href="#arguments-57">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to import is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_restore" class="method"><code>pub fn <a href="#method.agent_restore" class="fnname">agent_restore</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2RestoreAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2RestoreAgentRequest">GoogleCloudDialogflowV2RestoreAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentRestoreCall.html" title="struct google_dialogflow2::api::ProjectAgentRestoreCall">ProjectAgentRestoreCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4412-4421" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore 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 restoring is complete. It only tracks when the draft agent is updated not when it is done training.</p>
|
||
<h1 id="arguments-58" class="section-header"><a href="#arguments-58">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to restore is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_search" class="method"><code>pub fn <a href="#method.agent_search" class="fnname">agent_search</a>(&self, parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentSearchCall.html" title="struct google_dialogflow2::api::ProjectAgentSearchCall">ProjectAgentSearchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4430-4440" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to <a href="https://cloud.google.com/apis/design/design_patterns#list_sub-collections">List Sub-Collections</a>.</p>
|
||
<h1 id="arguments-59" class="section-header"><a href="#arguments-59">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list agents from. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_train" class="method"><code>pub fn <a href="#method.agent_train" class="fnname">agent_train</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2TrainAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2TrainAgentRequest">GoogleCloudDialogflowV2TrainAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentTrainCall.html" title="struct google_dialogflow2::api::ProjectAgentTrainCall">ProjectAgentTrainCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4450-4459" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Trains the specified agent. Operation </p>
|
||
<h1 id="arguments-60" class="section-header"><a href="#arguments-60">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to train is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.agent_update_fulfillment" class="method"><code>pub fn <a href="#method.agent_update_fulfillment" class="fnname">agent_update_fulfillment</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Fulfillment.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Fulfillment">GoogleCloudDialogflowV2Fulfillment</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAgentUpdateFulfillmentCall.html" title="struct google_dialogflow2::api::ProjectAgentUpdateFulfillmentCall">ProjectAgentUpdateFulfillmentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4469-4479" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the fulfillment.</p>
|
||
<h1 id="arguments-61" class="section-header"><a href="#arguments-61">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the fulfillment. Format: <code>projects//agent/fulfillment</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.answer_records_list" class="method"><code>pub fn <a href="#method.answer_records_list" class="fnname">answer_records_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAnswerRecordListCall.html" title="struct google_dialogflow2::api::ProjectAnswerRecordListCall">ProjectAnswerRecordListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4488-4499" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all answer records in the specified project in reverse chronological order.</p>
|
||
<h1 id="arguments-62" class="section-header"><a href="#arguments-62">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list all answer records for in reverse chronological order. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.answer_records_patch" class="method"><code>pub fn <a href="#method.answer_records_patch" class="fnname">answer_records_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2AnswerRecord.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2AnswerRecord">GoogleCloudDialogflowV2AnswerRecord</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectAnswerRecordPatchCall.html" title="struct google_dialogflow2::api::ProjectAnswerRecordPatchCall">ProjectAnswerRecordPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4509-4519" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified answer record.</p>
|
||
<h1 id="arguments-63" class="section-header"><a href="#arguments-63">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of this answer record. Format: <code>projects//locations//answerRecords/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversation_profiles_create" class="method"><code>pub fn <a href="#method.conversation_profiles_create" class="fnname">conversation_profiles_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ConversationProfile.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ConversationProfile">GoogleCloudDialogflowV2ConversationProfile</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationProfileCreateCall.html" title="struct google_dialogflow2::api::ProjectConversationProfileCreateCall">ProjectConversationProfileCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4529-4538" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.</p>
|
||
<h1 id="arguments-64" class="section-header"><a href="#arguments-64">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project to create a conversation profile for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversation_profiles_delete" class="method"><code>pub fn <a href="#method.conversation_profiles_delete" class="fnname">conversation_profiles_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationProfileDeleteCall.html" title="struct google_dialogflow2::api::ProjectConversationProfileDeleteCall">ProjectConversationProfileDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4547-4555" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified conversation profile.</p>
|
||
<h1 id="arguments-65" class="section-header"><a href="#arguments-65">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the conversation profile to delete. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversation_profiles_get" class="method"><code>pub fn <a href="#method.conversation_profiles_get" class="fnname">conversation_profiles_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationProfileGetCall.html" title="struct google_dialogflow2::api::ProjectConversationProfileGetCall">ProjectConversationProfileGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4564-4572" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified conversation profile.</p>
|
||
<h1 id="arguments-66" class="section-header"><a href="#arguments-66">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The resource name of the conversation profile. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversation_profiles_list" class="method"><code>pub fn <a href="#method.conversation_profiles_list" class="fnname">conversation_profiles_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationProfileListCall.html" title="struct google_dialogflow2::api::ProjectConversationProfileListCall">ProjectConversationProfileListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4581-4591" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all conversation profiles in the specified project.</p>
|
||
<h1 id="arguments-67" class="section-header"><a href="#arguments-67">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list all conversation profiles from. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversation_profiles_patch" class="method"><code>pub fn <a href="#method.conversation_profiles_patch" class="fnname">conversation_profiles_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ConversationProfile.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ConversationProfile">GoogleCloudDialogflowV2ConversationProfile</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationProfilePatchCall.html" title="struct google_dialogflow2::api::ProjectConversationProfilePatchCall">ProjectConversationProfilePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4601-4611" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.</p>
|
||
<h1 id="arguments-68" class="section-header"><a href="#arguments-68">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of this conversation profile. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_messages_list" class="method"><code>pub fn <a href="#method.conversations_messages_list" class="fnname">conversations_messages_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationMessageListCall.html" title="struct google_dialogflow2::api::ProjectConversationMessageListCall">ProjectConversationMessageListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4620-4631" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists messages that belong to a given conversation. <code>messages</code> are ordered by <code>create_time</code> in descending order. To fetch updates without duplication, send request with filter <code>create_time_epoch_microseconds > [first item's create_time of previous request]</code> and empty page_token.</p>
|
||
<h1 id="arguments-69" class="section-header"><a href="#arguments-69">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the conversation to list messages for. Format: <code>projects//locations//conversations/</code></li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_suggestions_suggest_articles" class="method"><code>pub fn <a href="#method.conversations_participants_suggestions_suggest_articles" class="fnname">conversations_participants_suggestions_suggest_articles</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SuggestArticlesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SuggestArticlesRequest">GoogleCloudDialogflowV2SuggestArticlesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantSuggestionSuggestArticleCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantSuggestionSuggestArticleCall">ProjectConversationParticipantSuggestionSuggestArticleCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4641-4650" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets suggested articles for a participant based on specific historical messages.</p>
|
||
<h1 id="arguments-70" class="section-header"><a href="#arguments-70">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the participant to fetch suggestion for. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_suggestions_suggest_faq_answers" class="method"><code>pub fn <a href="#method.conversations_participants_suggestions_suggest_faq_answers" class="fnname">conversations_participants_suggestions_suggest_faq_answers</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SuggestFaqAnswersRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SuggestFaqAnswersRequest">GoogleCloudDialogflowV2SuggestFaqAnswersRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantSuggestionSuggestFaqAnswerCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall">ProjectConversationParticipantSuggestionSuggestFaqAnswerCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4660-4669" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets suggested faq answers for a participant based on specific historical messages.</p>
|
||
<h1 id="arguments-71" class="section-header"><a href="#arguments-71">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the participant to fetch suggestion for. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_analyze_content" class="method"><code>pub fn <a href="#method.conversations_participants_analyze_content" class="fnname">conversations_participants_analyze_content</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2AnalyzeContentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2AnalyzeContentRequest">GoogleCloudDialogflowV2AnalyzeContentRequest</a>, <br> participant: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantAnalyzeContentCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantAnalyzeContentCall">ProjectConversationParticipantAnalyzeContentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4679-4688" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-72" class="section-header"><a href="#arguments-72">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>participant</code> - Required. The name of the participant this text comes from. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_create" class="method"><code>pub fn <a href="#method.conversations_participants_create" class="fnname">conversations_participants_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Participant.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Participant">GoogleCloudDialogflowV2Participant</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantCreateCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantCreateCall">ProjectConversationParticipantCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4698-4707" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new participant in a conversation.</p>
|
||
<h1 id="arguments-73" class="section-header"><a href="#arguments-73">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. Resource identifier of the conversation adding the participant. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_get" class="method"><code>pub fn <a href="#method.conversations_participants_get" class="fnname">conversations_participants_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantGetCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantGetCall">ProjectConversationParticipantGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4716-4724" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves a conversation participant.</p>
|
||
<h1 id="arguments-74" class="section-header"><a href="#arguments-74">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the participant. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_list" class="method"><code>pub fn <a href="#method.conversations_participants_list" class="fnname">conversations_participants_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantListCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantListCall">ProjectConversationParticipantListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4733-4743" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all participants in the specified conversation.</p>
|
||
<h1 id="arguments-75" class="section-header"><a href="#arguments-75">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The conversation to list all participants from. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_participants_patch" class="method"><code>pub fn <a href="#method.conversations_participants_patch" class="fnname">conversations_participants_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Participant.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Participant">GoogleCloudDialogflowV2Participant</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationParticipantPatchCall.html" title="struct google_dialogflow2::api::ProjectConversationParticipantPatchCall">ProjectConversationParticipantPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4753-4763" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified participant.</p>
|
||
<h1 id="arguments-76" class="section-header"><a href="#arguments-76">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The unique identifier of this participant. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_complete" class="method"><code>pub fn <a href="#method.conversations_complete" class="fnname">conversations_complete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2CompleteConversationRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2CompleteConversationRequest">GoogleCloudDialogflowV2CompleteConversationRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationCompleteCall.html" title="struct google_dialogflow2::api::ProjectConversationCompleteCall">ProjectConversationCompleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4773-4782" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Completes the specified conversation. Finished conversations are purged from the database after 30 days.</p>
|
||
<h1 id="arguments-77" class="section-header"><a href="#arguments-77">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. Resource identifier of the conversation to close. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_create" class="method"><code>pub fn <a href="#method.conversations_create" class="fnname">conversations_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Conversation.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Conversation">GoogleCloudDialogflowV2Conversation</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationCreateCall.html" title="struct google_dialogflow2::api::ProjectConversationCreateCall">ProjectConversationCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4792-4802" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from <code>Automated Agent Stage</code>, otherwise, it will start from <code>Assist Stage</code>. And during <code>Automated Agent Stage</code>, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.</p>
|
||
<h1 id="arguments-78" class="section-header"><a href="#arguments-78">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. Resource identifier of the project creating the conversation. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_get" class="method"><code>pub fn <a href="#method.conversations_get" class="fnname">conversations_get</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationGetCall.html" title="struct google_dialogflow2::api::ProjectConversationGetCall">ProjectConversationGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4811-4819" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specific conversation.</p>
|
||
<h1 id="arguments-79" class="section-header"><a href="#arguments-79">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the conversation. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.conversations_list" class="method"><code>pub fn <a href="#method.conversations_list" class="fnname">conversations_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectConversationListCall.html" title="struct google_dialogflow2::api::ProjectConversationListCall">ProjectConversationListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4828-4839" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all conversations in the specified project.</p>
|
||
<h1 id="arguments-80" class="section-header"><a href="#arguments-80">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project from which to list all conversation. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_create" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_create" class="fnname">knowledge_bases_documents_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentCreateCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentCreateCall">ProjectKnowledgeBaseDocumentCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4849-4858" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new document. Operation </p>
|
||
<h1 id="arguments-81" class="section-header"><a href="#arguments-81">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The knowledge base to create a document for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_delete" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_delete" class="fnname">knowledge_bases_documents_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentDeleteCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentDeleteCall">ProjectKnowledgeBaseDocumentDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4867-4875" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified document. Operation </p>
|
||
<h1 id="arguments-82" class="section-header"><a href="#arguments-82">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to delete. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_get" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_get" class="fnname">knowledge_bases_documents_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentGetCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentGetCall">ProjectKnowledgeBaseDocumentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4884-4892" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified document.</p>
|
||
<h1 id="arguments-83" class="section-header"><a href="#arguments-83">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to retrieve. Format <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_list" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_list" class="fnname">knowledge_bases_documents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentListCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentListCall">ProjectKnowledgeBaseDocumentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4901-4911" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all documents of the knowledge base.</p>
|
||
<h1 id="arguments-84" class="section-header"><a href="#arguments-84">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The knowledge base to list all documents for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_patch" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_patch" class="fnname">knowledge_bases_documents_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentPatchCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentPatchCall">ProjectKnowledgeBaseDocumentPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4921-4931" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified document. Operation </p>
|
||
<h1 id="arguments-85" class="section-header"><a href="#arguments-85">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The document resource name. The name must be empty when creating a document. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_documents_reload" class="method"><code>pub fn <a href="#method.knowledge_bases_documents_reload" class="fnname">knowledge_bases_documents_reload</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ReloadDocumentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ReloadDocumentRequest">GoogleCloudDialogflowV2ReloadDocumentRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDocumentReloadCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDocumentReloadCall">ProjectKnowledgeBaseDocumentReloadCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4941-4950" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: The <code>projects.agent.knowledgeBases.documents</code> resource is deprecated; only use <code>projects.knowledgeBases.documents</code>. Operation </p>
|
||
<h1 id="arguments-86" class="section-header"><a href="#arguments-86">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The name of the document to reload. Format: <code>projects//locations//knowledgeBases//documents/</code></li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_create" class="method"><code>pub fn <a href="#method.knowledge_bases_create" class="fnname">knowledge_bases_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseCreateCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseCreateCall">ProjectKnowledgeBaseCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4960-4969" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a knowledge base.</p>
|
||
<h1 id="arguments-87" class="section-header"><a href="#arguments-87">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project to create a knowledge base for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_delete" class="method"><code>pub fn <a href="#method.knowledge_bases_delete" class="fnname">knowledge_bases_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseDeleteCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseDeleteCall">ProjectKnowledgeBaseDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4978-4987" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified knowledge base.</p>
|
||
<h1 id="arguments-88" class="section-header"><a href="#arguments-88">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to delete. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_get" class="method"><code>pub fn <a href="#method.knowledge_bases_get" class="fnname">knowledge_bases_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseGetCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseGetCall">ProjectKnowledgeBaseGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#4996-5004" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified knowledge base.</p>
|
||
<h1 id="arguments-89" class="section-header"><a href="#arguments-89">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to retrieve. Format <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_list" class="method"><code>pub fn <a href="#method.knowledge_bases_list" class="fnname">knowledge_bases_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBaseListCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBaseListCall">ProjectKnowledgeBaseListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5013-5023" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all knowledge bases of the specified agent.</p>
|
||
<h1 id="arguments-90" class="section-header"><a href="#arguments-90">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list of knowledge bases for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.knowledge_bases_patch" class="method"><code>pub fn <a href="#method.knowledge_bases_patch" class="fnname">knowledge_bases_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectKnowledgeBasePatchCall.html" title="struct google_dialogflow2::api::ProjectKnowledgeBasePatchCall">ProjectKnowledgeBasePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5033-5043" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified knowledge base.</p>
|
||
<h1 id="arguments-91" class="section-header"><a href="#arguments-91">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The knowledge base resource name. The name must be empty when creating a knowledge base. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_entities_batch_create" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_entities_batch_create" class="fnname">locations_agent_entity_types_entities_batch_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchCreateEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchCreateEntitiesRequest">GoogleCloudDialogflowV2BatchCreateEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeEntityBatchCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeEntityBatchCreateCall">ProjectLocationAgentEntityTypeEntityBatchCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5053-5062" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates multiple new entities in the specified entity type. Operation </p>
|
||
<h1 id="arguments-92" class="section-header"><a href="#arguments-92">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to create entities in. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_entities_batch_delete" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_entities_batch_delete" class="fnname">locations_agent_entity_types_entities_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest">GoogleCloudDialogflowV2BatchDeleteEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeEntityBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall">ProjectLocationAgentEntityTypeEntityBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5072-5081" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes entities in the specified entity type. Operation </p>
|
||
<h1 id="arguments-93" class="section-header"><a href="#arguments-93">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to delete entries for. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_entities_batch_update" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_entities_batch_update" class="fnname">locations_agent_entity_types_entities_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest">GoogleCloudDialogflowV2BatchUpdateEntitiesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeEntityBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall">ProjectLocationAgentEntityTypeEntityBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5091-5100" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Operation </p>
|
||
<h1 id="arguments-94" class="section-header"><a href="#arguments-94">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the entity type to update or create entities in. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_batch_delete" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_batch_delete" class="fnname">locations_agent_entity_types_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest">GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeBatchDeleteCall">ProjectLocationAgentEntityTypeBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5110-5119" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes entity types in the specified agent. Operation </p>
|
||
<h1 id="arguments-95" class="section-header"><a href="#arguments-95">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to delete all entities types for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_batch_update" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_batch_update" class="fnname">locations_agent_entity_types_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest">GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeBatchUpdateCall">ProjectLocationAgentEntityTypeBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5129-5138" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates/Creates multiple entity types in the specified agent. Operation </p>
|
||
<h1 id="arguments-96" class="section-header"><a href="#arguments-96">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to update or create entity types in. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_create" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_create" class="fnname">locations_agent_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2EntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2EntityType">GoogleCloudDialogflowV2EntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeCreateCall">ProjectLocationAgentEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5148-5158" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates an entity type in the specified agent.</p>
|
||
<h1 id="arguments-97" class="section-header"><a href="#arguments-97">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The agent to create a entity type for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_delete" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_delete" class="fnname">locations_agent_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeDeleteCall">ProjectLocationAgentEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5167-5175" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified entity type.</p>
|
||
<h1 id="arguments-98" class="section-header"><a href="#arguments-98">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_get" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_get" class="fnname">locations_agent_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeGetCall">ProjectLocationAgentEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5184-5193" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified entity type.</p>
|
||
<h1 id="arguments-99" class="section-header"><a href="#arguments-99">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_list" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_list" class="fnname">locations_agent_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypeListCall">ProjectLocationAgentEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5202-5213" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all entity types in the specified agent.</p>
|
||
<h1 id="arguments-100" class="section-header"><a href="#arguments-100">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all entity types from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_entity_types_patch" class="method"><code>pub fn <a href="#method.locations_agent_entity_types_patch" class="fnname">locations_agent_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2EntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2EntityType">GoogleCloudDialogflowV2EntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEntityTypePatchCall">ProjectLocationAgentEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5223-5234" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified entity type.</p>
|
||
<h1 id="arguments-101" class="section-header"><a href="#arguments-101">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: <code>projects//agent/entityTypes/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_contexts_create" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_contexts_create" class="fnname">locations_agent_environments_users_sessions_contexts_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionContextCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall">ProjectLocationAgentEnvironmentUserSessionContextCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5244-5253" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a context. If the specified context already exists, overrides the context.</p>
|
||
<h1 id="arguments-102" class="section-header"><a href="#arguments-102">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a context for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_contexts_delete" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_contexts_delete" class="fnname">locations_agent_environments_users_sessions_contexts_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionContextDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall">ProjectLocationAgentEnvironmentUserSessionContextDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5262-5270" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified context.</p>
|
||
<h1 id="arguments-103" class="section-header"><a href="#arguments-103">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context to delete. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_contexts_get" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_contexts_get" class="fnname">locations_agent_environments_users_sessions_contexts_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionContextGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionContextGetCall">ProjectLocationAgentEnvironmentUserSessionContextGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5279-5287" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified context.</p>
|
||
<h1 id="arguments-104" class="section-header"><a href="#arguments-104">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_contexts_list" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_contexts_list" class="fnname">locations_agent_environments_users_sessions_contexts_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionContextListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionContextListCall">ProjectLocationAgentEnvironmentUserSessionContextListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5296-5306" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all contexts in the specified session.</p>
|
||
<h1 id="arguments-105" class="section-header"><a href="#arguments-105">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_contexts_patch" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_contexts_patch" class="fnname">locations_agent_environments_users_sessions_contexts_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionContextPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall">ProjectLocationAgentEnvironmentUserSessionContextPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5316-5326" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified context.</p>
|
||
<h1 id="arguments-106" class="section-header"><a href="#arguments-106">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the context. Format: <code>projects//agent/sessions//contexts/</code>, or <code>projects//agent/environments//users//sessions//contexts/</code>. The <code>Context ID</code> is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * <code>__system_counters__</code> * <code>*_id_dialog_context</code> * <code>*_dialog_params_size</code></li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_entity_types_create" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_entity_types_create" class="fnname">locations_agent_environments_users_sessions_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall">ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5336-5345" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-107" class="section-header"><a href="#arguments-107">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a session entity type for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_entity_types_delete" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_entity_types_delete" class="fnname">locations_agent_environments_users_sessions_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall">ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5354-5362" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-108" class="section-header"><a href="#arguments-108">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_entity_types_get" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_entity_types_get" class="fnname">locations_agent_environments_users_sessions_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall">ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5371-5379" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-109" class="section-header"><a href="#arguments-109">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the session entity type. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_entity_types_list" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_entity_types_list" class="fnname">locations_agent_environments_users_sessions_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall">ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5388-5398" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-110" class="section-header"><a href="#arguments-110">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all session entity types from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_entity_types_patch" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_entity_types_patch" class="fnname">locations_agent_environments_users_sessions_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall">ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5408-5418" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-111" class="section-header"><a href="#arguments-111">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of this session entity type. Format: <code>projects//agent/sessions//entityTypes/</code>, or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_delete_contexts" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_delete_contexts" class="fnname">locations_agent_environments_users_sessions_delete_contexts</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionDeleteContextCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall">ProjectLocationAgentEnvironmentUserSessionDeleteContextCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5427-5435" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes all active contexts in the specified session.</p>
|
||
<h1 id="arguments-112" class="section-header"><a href="#arguments-112">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the session to delete all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_users_sessions_detect_intent" class="method"><code>pub fn <a href="#method.locations_agent_environments_users_sessions_detect_intent" class="fnname">locations_agent_environments_users_sessions_detect_intent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2DetectIntentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2DetectIntentRequest">GoogleCloudDialogflowV2DetectIntentRequest</a>, <br> session: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentUserSessionDetectIntentCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall">ProjectLocationAgentEnvironmentUserSessionDetectIntentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5445-5454" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-113" class="section-header"><a href="#arguments-113">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>session</code> - Required. The name of the session this query is sent to. Format: <code>projects//agent/sessions/</code>, or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment (<code>Environment ID</code> might be referred to as environment name at some places). If <code>User ID</code> is not specified, we are using "-". It's up to the API caller to choose an appropriate <code>Session ID</code> and <code>User Id</code>. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the <code>Session ID</code> and <code>User ID</code> must not exceed 36 characters. For more information, see the <a href="https://cloud.google.com/dialogflow/docs/api-overview">API interactions guide</a>. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_environments_list" class="method"><code>pub fn <a href="#method.locations_agent_environments_list" class="fnname">locations_agent_environments_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentEnvironmentListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentEnvironmentListCall">ProjectLocationAgentEnvironmentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5463-5473" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all non-draft environments of the specified agent.</p>
|
||
<h1 id="arguments-114" class="section-header"><a href="#arguments-114">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all environments from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_batch_delete" class="method"><code>pub fn <a href="#method.locations_agent_intents_batch_delete" class="fnname">locations_agent_intents_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchDeleteIntentsRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchDeleteIntentsRequest">GoogleCloudDialogflowV2BatchDeleteIntentsRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentBatchDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentBatchDeleteCall">ProjectLocationAgentIntentBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5483-5492" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes intents in the specified agent. Operation </p>
|
||
<h1 id="arguments-115" class="section-header"><a href="#arguments-115">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to delete all entities types for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_batch_update" class="method"><code>pub fn <a href="#method.locations_agent_intents_batch_update" class="fnname">locations_agent_intents_batch_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2BatchUpdateIntentsRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2BatchUpdateIntentsRequest">GoogleCloudDialogflowV2BatchUpdateIntentsRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentBatchUpdateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentBatchUpdateCall">ProjectLocationAgentIntentBatchUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5502-5511" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates/Creates multiple intents in the specified agent. Operation </p>
|
||
<h1 id="arguments-116" class="section-header"><a href="#arguments-116">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the agent to update or create intents in. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_create" class="method"><code>pub fn <a href="#method.locations_agent_intents_create" class="fnname">locations_agent_intents_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Intent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Intent">GoogleCloudDialogflowV2Intent</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentCreateCall">ProjectLocationAgentIntentCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5521-5532" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates an intent in the specified agent.</p>
|
||
<h1 id="arguments-117" class="section-header"><a href="#arguments-117">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The agent to create a intent for. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_delete" class="method"><code>pub fn <a href="#method.locations_agent_intents_delete" class="fnname">locations_agent_intents_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentDeleteCall">ProjectLocationAgentIntentDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5541-5549" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified intent and its direct or indirect followup intents.</p>
|
||
<h1 id="arguments-118" class="section-header"><a href="#arguments-118">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_get" class="method"><code>pub fn <a href="#method.locations_agent_intents_get" class="fnname">locations_agent_intents_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentGetCall">ProjectLocationAgentIntentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5558-5568" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified intent.</p>
|
||
<h1 id="arguments-119" class="section-header"><a href="#arguments-119">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the intent. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_list" class="method"><code>pub fn <a href="#method.locations_agent_intents_list" class="fnname">locations_agent_intents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentListCall">ProjectLocationAgentIntentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5577-5589" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all intents in the specified agent.</p>
|
||
<h1 id="arguments-120" class="section-header"><a href="#arguments-120">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The agent to list all intents from. Format: <code>projects//agent</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_intents_patch" class="method"><code>pub fn <a href="#method.locations_agent_intents_patch" class="fnname">locations_agent_intents_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Intent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Intent">GoogleCloudDialogflowV2Intent</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentIntentPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentIntentPatchCall">ProjectLocationAgentIntentPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5599-5611" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified intent.</p>
|
||
<h1 id="arguments-121" class="section-header"><a href="#arguments-121">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: <code>projects//agent/intents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_contexts_create" class="method"><code>pub fn <a href="#method.locations_agent_sessions_contexts_create" class="fnname">locations_agent_sessions_contexts_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionContextCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionContextCreateCall">ProjectLocationAgentSessionContextCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5621-5630" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a context. If the specified context already exists, overrides the context.</p>
|
||
<h1 id="arguments-122" class="section-header"><a href="#arguments-122">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a context for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_contexts_delete" class="method"><code>pub fn <a href="#method.locations_agent_sessions_contexts_delete" class="fnname">locations_agent_sessions_contexts_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionContextDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionContextDeleteCall">ProjectLocationAgentSessionContextDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5639-5647" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified context.</p>
|
||
<h1 id="arguments-123" class="section-header"><a href="#arguments-123">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context to delete. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_contexts_get" class="method"><code>pub fn <a href="#method.locations_agent_sessions_contexts_get" class="fnname">locations_agent_sessions_contexts_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionContextGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionContextGetCall">ProjectLocationAgentSessionContextGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5656-5664" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified context.</p>
|
||
<h1 id="arguments-124" class="section-header"><a href="#arguments-124">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the context. Format: <code>projects//agent/sessions//contexts/</code> or <code>projects//agent/environments//users//sessions//contexts/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_contexts_list" class="method"><code>pub fn <a href="#method.locations_agent_sessions_contexts_list" class="fnname">locations_agent_sessions_contexts_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionContextListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionContextListCall">ProjectLocationAgentSessionContextListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5673-5683" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all contexts in the specified session.</p>
|
||
<h1 id="arguments-125" class="section-header"><a href="#arguments-125">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_contexts_patch" class="method"><code>pub fn <a href="#method.locations_agent_sessions_contexts_patch" class="fnname">locations_agent_sessions_contexts_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Context.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Context">GoogleCloudDialogflowV2Context</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionContextPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionContextPatchCall">ProjectLocationAgentSessionContextPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5693-5703" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified context.</p>
|
||
<h1 id="arguments-126" class="section-header"><a href="#arguments-126">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the context. Format: <code>projects//agent/sessions//contexts/</code>, or <code>projects//agent/environments//users//sessions//contexts/</code>. The <code>Context ID</code> is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * <code>__system_counters__</code> * <code>*_id_dialog_context</code> * <code>*_dialog_params_size</code></li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_entity_types_create" class="method"><code>pub fn <a href="#method.locations_agent_sessions_entity_types_create" class="fnname">locations_agent_sessions_entity_types_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionEntityTypeCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionEntityTypeCreateCall">ProjectLocationAgentSessionEntityTypeCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5713-5722" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-127" class="section-header"><a href="#arguments-127">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The session to create a session entity type for. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_entity_types_delete" class="method"><code>pub fn <a href="#method.locations_agent_sessions_entity_types_delete" class="fnname">locations_agent_sessions_entity_types_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionEntityTypeDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionEntityTypeDeleteCall">ProjectLocationAgentSessionEntityTypeDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5731-5739" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-128" class="section-header"><a href="#arguments-128">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the entity type to delete. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_entity_types_get" class="method"><code>pub fn <a href="#method.locations_agent_sessions_entity_types_get" class="fnname">locations_agent_sessions_entity_types_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionEntityTypeGetCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionEntityTypeGetCall">ProjectLocationAgentSessionEntityTypeGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5748-5756" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-129" class="section-header"><a href="#arguments-129">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the session entity type. Format: <code>projects//agent/sessions//entityTypes/</code> or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_entity_types_list" class="method"><code>pub fn <a href="#method.locations_agent_sessions_entity_types_list" class="fnname">locations_agent_sessions_entity_types_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionEntityTypeListCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionEntityTypeListCall">ProjectLocationAgentSessionEntityTypeListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5765-5775" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-130" class="section-header"><a href="#arguments-130">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The session to list all session entity types from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users// sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_entity_types_patch" class="method"><code>pub fn <a href="#method.locations_agent_sessions_entity_types_patch" class="fnname">locations_agent_sessions_entity_types_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SessionEntityType.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SessionEntityType">GoogleCloudDialogflowV2SessionEntityType</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionEntityTypePatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionEntityTypePatchCall">ProjectLocationAgentSessionEntityTypePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5785-5795" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.</p>
|
||
<h1 id="arguments-131" class="section-header"><a href="#arguments-131">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of this session entity type. Format: <code>projects//agent/sessions//entityTypes/</code>, or <code>projects//agent/environments//users//sessions//entityTypes/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_delete_contexts" class="method"><code>pub fn <a href="#method.locations_agent_sessions_delete_contexts" class="fnname">locations_agent_sessions_delete_contexts</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionDeleteContextCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionDeleteContextCall">ProjectLocationAgentSessionDeleteContextCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5804-5812" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes all active contexts in the specified session.</p>
|
||
<h1 id="arguments-132" class="section-header"><a href="#arguments-132">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the session to delete all contexts from. Format: <code>projects//agent/sessions/</code> or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified we assume default 'draft' environment. If <code>User ID</code> is not specified, we assume default '-' user.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_sessions_detect_intent" class="method"><code>pub fn <a href="#method.locations_agent_sessions_detect_intent" class="fnname">locations_agent_sessions_detect_intent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2DetectIntentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2DetectIntentRequest">GoogleCloudDialogflowV2DetectIntentRequest</a>, <br> session: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSessionDetectIntentCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSessionDetectIntentCall">ProjectLocationAgentSessionDetectIntentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5822-5831" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-133" class="section-header"><a href="#arguments-133">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>session</code> - Required. The name of the session this query is sent to. Format: <code>projects//agent/sessions/</code>, or <code>projects//agent/environments//users//sessions/</code>. If <code>Environment ID</code> is not specified, we assume default 'draft' environment (<code>Environment ID</code> might be referred to as environment name at some places). If <code>User ID</code> is not specified, we are using "-". It's up to the API caller to choose an appropriate <code>Session ID</code> and <code>User Id</code>. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the <code>Session ID</code> and <code>User ID</code> must not exceed 36 characters. For more information, see the <a href="https://cloud.google.com/dialogflow/docs/api-overview">API interactions guide</a>. Note: Always use agent versions for production traffic. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_export" class="method"><code>pub fn <a href="#method.locations_agent_export" class="fnname">locations_agent_export</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ExportAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ExportAgentRequest">GoogleCloudDialogflowV2ExportAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentExportCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentExportCall">ProjectLocationAgentExportCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5841-5850" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Exports the specified agent to a ZIP file. Operation </p>
|
||
<h1 id="arguments-134" class="section-header"><a href="#arguments-134">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to export is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_get_fulfillment" class="method"><code>pub fn <a href="#method.locations_agent_get_fulfillment" class="fnname">locations_agent_get_fulfillment</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentGetFulfillmentCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentGetFulfillmentCall">ProjectLocationAgentGetFulfillmentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5859-5867" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the fulfillment.</p>
|
||
<h1 id="arguments-135" class="section-header"><a href="#arguments-135">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the fulfillment. Format: <code>projects//agent/fulfillment</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_get_validation_result" class="method"><code>pub fn <a href="#method.locations_agent_get_validation_result" class="fnname">locations_agent_get_validation_result</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentGetValidationResultCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentGetValidationResultCall">ProjectLocationAgentGetValidationResultCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5876-5885" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.</p>
|
||
<h1 id="arguments-136" class="section-header"><a href="#arguments-136">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_import" class="method"><code>pub fn <a href="#method.locations_agent_import" class="fnname">locations_agent_import</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ImportAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ImportAgentRequest">GoogleCloudDialogflowV2ImportAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentImportCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentImportCall">ProjectLocationAgentImportCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5895-5904" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</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. 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>
|
||
<h1 id="arguments-137" class="section-header"><a href="#arguments-137">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to import is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_restore" class="method"><code>pub fn <a href="#method.locations_agent_restore" class="fnname">locations_agent_restore</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2RestoreAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2RestoreAgentRequest">GoogleCloudDialogflowV2RestoreAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentRestoreCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentRestoreCall">ProjectLocationAgentRestoreCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5914-5923" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore 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 restoring is complete. It only tracks when the draft agent is updated not when it is done training.</p>
|
||
<h1 id="arguments-138" class="section-header"><a href="#arguments-138">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to restore is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_search" class="method"><code>pub fn <a href="#method.locations_agent_search" class="fnname">locations_agent_search</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentSearchCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentSearchCall">ProjectLocationAgentSearchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5932-5942" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to <a href="https://cloud.google.com/apis/design/design_patterns#list_sub-collections">List Sub-Collections</a>.</p>
|
||
<h1 id="arguments-139" class="section-header"><a href="#arguments-139">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list agents from. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_train" class="method"><code>pub fn <a href="#method.locations_agent_train" class="fnname">locations_agent_train</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2TrainAgentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2TrainAgentRequest">GoogleCloudDialogflowV2TrainAgentRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentTrainCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentTrainCall">ProjectLocationAgentTrainCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5952-5961" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Trains the specified agent. Operation </p>
|
||
<h1 id="arguments-140" class="section-header"><a href="#arguments-140">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project that the agent to train is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_agent_update_fulfillment" class="method"><code>pub fn <a href="#method.locations_agent_update_fulfillment" class="fnname">locations_agent_update_fulfillment</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Fulfillment.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Fulfillment">GoogleCloudDialogflowV2Fulfillment</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAgentUpdateFulfillmentCall.html" title="struct google_dialogflow2::api::ProjectLocationAgentUpdateFulfillmentCall">ProjectLocationAgentUpdateFulfillmentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5971-5981" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the fulfillment.</p>
|
||
<h1 id="arguments-141" class="section-header"><a href="#arguments-141">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The unique identifier of the fulfillment. Format: <code>projects//agent/fulfillment</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_answer_records_list" class="method"><code>pub fn <a href="#method.locations_answer_records_list" class="fnname">locations_answer_records_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAnswerRecordListCall.html" title="struct google_dialogflow2::api::ProjectLocationAnswerRecordListCall">ProjectLocationAnswerRecordListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#5990-6001" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all answer records in the specified project in reverse chronological order.</p>
|
||
<h1 id="arguments-142" class="section-header"><a href="#arguments-142">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list all answer records for in reverse chronological order. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_answer_records_patch" class="method"><code>pub fn <a href="#method.locations_answer_records_patch" class="fnname">locations_answer_records_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2AnswerRecord.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2AnswerRecord">GoogleCloudDialogflowV2AnswerRecord</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationAnswerRecordPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationAnswerRecordPatchCall">ProjectLocationAnswerRecordPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6011-6021" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified answer record.</p>
|
||
<h1 id="arguments-143" class="section-header"><a href="#arguments-143">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of this answer record. Format: <code>projects//locations//answerRecords/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversation_profiles_create" class="method"><code>pub fn <a href="#method.locations_conversation_profiles_create" class="fnname">locations_conversation_profiles_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ConversationProfile.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ConversationProfile">GoogleCloudDialogflowV2ConversationProfile</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationProfileCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationProfileCreateCall">ProjectLocationConversationProfileCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6031-6040" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.</p>
|
||
<h1 id="arguments-144" class="section-header"><a href="#arguments-144">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project to create a conversation profile for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversation_profiles_delete" class="method"><code>pub fn <a href="#method.locations_conversation_profiles_delete" class="fnname">locations_conversation_profiles_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationProfileDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationProfileDeleteCall">ProjectLocationConversationProfileDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6049-6057" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified conversation profile.</p>
|
||
<h1 id="arguments-145" class="section-header"><a href="#arguments-145">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the conversation profile to delete. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversation_profiles_get" class="method"><code>pub fn <a href="#method.locations_conversation_profiles_get" class="fnname">locations_conversation_profiles_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationProfileGetCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationProfileGetCall">ProjectLocationConversationProfileGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6066-6074" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified conversation profile.</p>
|
||
<h1 id="arguments-146" class="section-header"><a href="#arguments-146">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The resource name of the conversation profile. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversation_profiles_list" class="method"><code>pub fn <a href="#method.locations_conversation_profiles_list" class="fnname">locations_conversation_profiles_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationProfileListCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationProfileListCall">ProjectLocationConversationProfileListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6083-6093" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all conversation profiles in the specified project.</p>
|
||
<h1 id="arguments-147" class="section-header"><a href="#arguments-147">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list all conversation profiles from. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversation_profiles_patch" class="method"><code>pub fn <a href="#method.locations_conversation_profiles_patch" class="fnname">locations_conversation_profiles_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ConversationProfile.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ConversationProfile">GoogleCloudDialogflowV2ConversationProfile</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationProfilePatchCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationProfilePatchCall">ProjectLocationConversationProfilePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6103-6113" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.</p>
|
||
<h1 id="arguments-148" class="section-header"><a href="#arguments-148">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The unique identifier of this conversation profile. Format: <code>projects//locations//conversationProfiles/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_messages_list" class="method"><code>pub fn <a href="#method.locations_conversations_messages_list" class="fnname">locations_conversations_messages_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationMessageListCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationMessageListCall">ProjectLocationConversationMessageListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6122-6133" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists messages that belong to a given conversation. <code>messages</code> are ordered by <code>create_time</code> in descending order. To fetch updates without duplication, send request with filter <code>create_time_epoch_microseconds > [first item's create_time of previous request]</code> and empty page_token.</p>
|
||
<h1 id="arguments-149" class="section-header"><a href="#arguments-149">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The name of the conversation to list messages for. Format: <code>projects//locations//conversations/</code></li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_suggestions_suggest_articles" class="method"><code>pub fn <a href="#method.locations_conversations_participants_suggestions_suggest_articles" class="fnname">locations_conversations_participants_suggestions_suggest_articles</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SuggestArticlesRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SuggestArticlesRequest">GoogleCloudDialogflowV2SuggestArticlesRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantSuggestionSuggestArticleCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall">ProjectLocationConversationParticipantSuggestionSuggestArticleCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6143-6152" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets suggested articles for a participant based on specific historical messages.</p>
|
||
<h1 id="arguments-150" class="section-header"><a href="#arguments-150">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the participant to fetch suggestion for. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_suggestions_suggest_faq_answers" class="method"><code>pub fn <a href="#method.locations_conversations_participants_suggestions_suggest_faq_answers" class="fnname">locations_conversations_participants_suggestions_suggest_faq_answers</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2SuggestFaqAnswersRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2SuggestFaqAnswersRequest">GoogleCloudDialogflowV2SuggestFaqAnswersRequest</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall">ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6162-6171" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets suggested faq answers for a participant based on specific historical messages.</p>
|
||
<h1 id="arguments-151" class="section-header"><a href="#arguments-151">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The name of the participant to fetch suggestion for. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_analyze_content" class="method"><code>pub fn <a href="#method.locations_conversations_participants_analyze_content" class="fnname">locations_conversations_participants_analyze_content</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2AnalyzeContentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2AnalyzeContentRequest">GoogleCloudDialogflowV2AnalyzeContentRequest</a>, <br> participant: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantAnalyzeContentCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantAnalyzeContentCall">ProjectLocationConversationParticipantAnalyzeContentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6181-6190" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See <a href="https://cloud.google.com/dialogflow/es/docs/agents-versions">Versions and environments</a>.</p>
|
||
<h1 id="arguments-152" class="section-header"><a href="#arguments-152">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>participant</code> - Required. The name of the participant this text comes from. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_create" class="method"><code>pub fn <a href="#method.locations_conversations_participants_create" class="fnname">locations_conversations_participants_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Participant.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Participant">GoogleCloudDialogflowV2Participant</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantCreateCall">ProjectLocationConversationParticipantCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6200-6209" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new participant in a conversation.</p>
|
||
<h1 id="arguments-153" class="section-header"><a href="#arguments-153">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. Resource identifier of the conversation adding the participant. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_get" class="method"><code>pub fn <a href="#method.locations_conversations_participants_get" class="fnname">locations_conversations_participants_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantGetCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantGetCall">ProjectLocationConversationParticipantGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6218-6226" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves a conversation participant.</p>
|
||
<h1 id="arguments-154" class="section-header"><a href="#arguments-154">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the participant. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_list" class="method"><code>pub fn <a href="#method.locations_conversations_participants_list" class="fnname">locations_conversations_participants_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantListCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantListCall">ProjectLocationConversationParticipantListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6235-6245" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all participants in the specified conversation.</p>
|
||
<h1 id="arguments-155" class="section-header"><a href="#arguments-155">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The conversation to list all participants from. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_participants_patch" class="method"><code>pub fn <a href="#method.locations_conversations_participants_patch" class="fnname">locations_conversations_participants_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Participant.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Participant">GoogleCloudDialogflowV2Participant</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationParticipantPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationParticipantPatchCall">ProjectLocationConversationParticipantPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6255-6265" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified participant.</p>
|
||
<h1 id="arguments-156" class="section-header"><a href="#arguments-156">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The unique identifier of this participant. Format: <code>projects//locations//conversations//participants/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_complete" class="method"><code>pub fn <a href="#method.locations_conversations_complete" class="fnname">locations_conversations_complete</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2CompleteConversationRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2CompleteConversationRequest">GoogleCloudDialogflowV2CompleteConversationRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationCompleteCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationCompleteCall">ProjectLocationConversationCompleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6275-6284" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Completes the specified conversation. Finished conversations are purged from the database after 30 days.</p>
|
||
<h1 id="arguments-157" class="section-header"><a href="#arguments-157">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. Resource identifier of the conversation to close. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_create" class="method"><code>pub fn <a href="#method.locations_conversations_create" class="fnname">locations_conversations_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Conversation.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Conversation">GoogleCloudDialogflowV2Conversation</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationCreateCall">ProjectLocationConversationCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6294-6304" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from <code>Automated Agent Stage</code>, otherwise, it will start from <code>Assist Stage</code>. And during <code>Automated Agent Stage</code>, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.</p>
|
||
<h1 id="arguments-158" class="section-header"><a href="#arguments-158">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. Resource identifier of the project creating the conversation. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_get" class="method"><code>pub fn <a href="#method.locations_conversations_get" class="fnname">locations_conversations_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationGetCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationGetCall">ProjectLocationConversationGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6313-6321" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specific conversation.</p>
|
||
<h1 id="arguments-159" class="section-header"><a href="#arguments-159">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the conversation. Format: <code>projects//locations//conversations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_conversations_list" class="method"><code>pub fn <a href="#method.locations_conversations_list" class="fnname">locations_conversations_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationConversationListCall.html" title="struct google_dialogflow2::api::ProjectLocationConversationListCall">ProjectLocationConversationListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6330-6341" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all conversations in the specified project.</p>
|
||
<h1 id="arguments-160" class="section-header"><a href="#arguments-160">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project from which to list all conversation. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_create" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_create" class="fnname">locations_knowledge_bases_documents_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentCreateCall">ProjectLocationKnowledgeBaseDocumentCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6351-6360" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new document. Operation </p>
|
||
<h1 id="arguments-161" class="section-header"><a href="#arguments-161">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The knowledge base to create a document for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_delete" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_delete" class="fnname">locations_knowledge_bases_documents_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentDeleteCall">ProjectLocationKnowledgeBaseDocumentDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6369-6377" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified document. Operation </p>
|
||
<h1 id="arguments-162" class="section-header"><a href="#arguments-162">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to delete. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_get" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_get" class="fnname">locations_knowledge_bases_documents_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentGetCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentGetCall">ProjectLocationKnowledgeBaseDocumentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6386-6394" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified document.</p>
|
||
<h1 id="arguments-163" class="section-header"><a href="#arguments-163">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the document to retrieve. Format <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_list" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_list" class="fnname">locations_knowledge_bases_documents_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentListCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentListCall">ProjectLocationKnowledgeBaseDocumentListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6403-6413" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all documents of the knowledge base.</p>
|
||
<h1 id="arguments-164" class="section-header"><a href="#arguments-164">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The knowledge base to list all documents for. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_patch" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_patch" class="fnname">locations_knowledge_bases_documents_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Document.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Document">GoogleCloudDialogflowV2Document</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentPatchCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentPatchCall">ProjectLocationKnowledgeBaseDocumentPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6423-6433" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified document. Operation </p>
|
||
<h1 id="arguments-165" class="section-header"><a href="#arguments-165">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Optional. The document resource name. The name must be empty when creating a document. Format: <code>projects//locations//knowledgeBases//documents/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_documents_reload" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_documents_reload" class="fnname">locations_knowledge_bases_documents_reload</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2ReloadDocumentRequest.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2ReloadDocumentRequest">GoogleCloudDialogflowV2ReloadDocumentRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDocumentReloadCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDocumentReloadCall">ProjectLocationKnowledgeBaseDocumentReloadCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6443-6452" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: The <code>projects.agent.knowledgeBases.documents</code> resource is deprecated; only use <code>projects.knowledgeBases.documents</code>. Operation </p>
|
||
<h1 id="arguments-166" class="section-header"><a href="#arguments-166">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The name of the document to reload. Format: <code>projects//locations//knowledgeBases//documents/</code></li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_create" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_create" class="fnname">locations_knowledge_bases_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseCreateCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseCreateCall">ProjectLocationKnowledgeBaseCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6462-6471" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a knowledge base.</p>
|
||
<h1 id="arguments-167" class="section-header"><a href="#arguments-167">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project to create a knowledge base for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_delete" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_delete" class="fnname">locations_knowledge_bases_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseDeleteCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseDeleteCall">ProjectLocationKnowledgeBaseDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6480-6489" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified knowledge base.</p>
|
||
<h1 id="arguments-168" class="section-header"><a href="#arguments-168">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to delete. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_get" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_get" class="fnname">locations_knowledge_bases_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseGetCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseGetCall">ProjectLocationKnowledgeBaseGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6498-6506" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified knowledge base.</p>
|
||
<h1 id="arguments-169" class="section-header"><a href="#arguments-169">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The name of the knowledge base to retrieve. Format <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_list" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_list" class="fnname">locations_knowledge_bases_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBaseListCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBaseListCall">ProjectLocationKnowledgeBaseListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6515-6525" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Returns the list of all knowledge bases of the specified agent.</p>
|
||
<h1 id="arguments-170" class="section-header"><a href="#arguments-170">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project to list of knowledge bases for. Format: <code>projects//locations/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_knowledge_bases_patch" class="method"><code>pub fn <a href="#method.locations_knowledge_bases_patch" class="fnname">locations_knowledge_bases_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2KnowledgeBase.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase">GoogleCloudDialogflowV2KnowledgeBase</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationKnowledgeBasePatchCall.html" title="struct google_dialogflow2::api::ProjectLocationKnowledgeBasePatchCall">ProjectLocationKnowledgeBasePatchCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6535-6545" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified knowledge base.</p>
|
||
<h1 id="arguments-171" class="section-header"><a href="#arguments-171">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The knowledge base resource name. The name must be empty when creating a knowledge base. Format: <code>projects//locations//knowledgeBases/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_operations_cancel" class="method"><code>pub fn <a href="#method.locations_operations_cancel" class="fnname">locations_operations_cancel</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationOperationCancelCall.html" title="struct google_dialogflow2::api::ProjectLocationOperationCancelCall">ProjectLocationOperationCancelCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6554-6562" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns <code>google.rpc.Code.UNIMPLEMENTED</code>. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to <code>Code.CANCELLED</code>.</p>
|
||
<h1 id="arguments-172" class="section-header"><a href="#arguments-172">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation resource to be cancelled.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_operations_get" class="method"><code>pub fn <a href="#method.locations_operations_get" class="fnname">locations_operations_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationOperationGetCall.html" title="struct google_dialogflow2::api::ProjectLocationOperationGetCall">ProjectLocationOperationGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6571-6579" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
|
||
<h1 id="arguments-173" class="section-header"><a href="#arguments-173">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation resource.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_operations_list" class="method"><code>pub fn <a href="#method.locations_operations_list" class="fnname">locations_operations_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationOperationListCall.html" title="struct google_dialogflow2::api::ProjectLocationOperationListCall">ProjectLocationOperationListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6588-6599" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns <code>UNIMPLEMENTED</code>. NOTE: the <code>name</code> binding allows API services to override the binding to use different resource name schemes, such as <code>users/*/operations</code>. To override the binding, API services can add a binding such as <code>"/v1/{name=users/*}/operations"</code> to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
|
||
<h1 id="arguments-174" class="section-header"><a href="#arguments-174">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation's parent resource.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_delete_agent" class="method"><code>pub fn <a href="#method.locations_delete_agent" class="fnname">locations_delete_agent</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationDeleteAgentCall.html" title="struct google_dialogflow2::api::ProjectLocationDeleteAgentCall">ProjectLocationDeleteAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6608-6616" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified agent.</p>
|
||
<h1 id="arguments-175" class="section-header"><a href="#arguments-175">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent to delete is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_get_agent" class="method"><code>pub fn <a href="#method.locations_get_agent" class="fnname">locations_get_agent</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationGetAgentCall.html" title="struct google_dialogflow2::api::ProjectLocationGetAgentCall">ProjectLocationGetAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6625-6633" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified agent.</p>
|
||
<h1 id="arguments-176" class="section-header"><a href="#arguments-176">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent to fetch is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.locations_set_agent" class="method"><code>pub fn <a href="#method.locations_set_agent" class="fnname">locations_set_agent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Agent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Agent">GoogleCloudDialogflowV2Agent</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectLocationSetAgentCall.html" title="struct google_dialogflow2::api::ProjectLocationSetAgentCall">ProjectLocationSetAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6643-6653" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates/updates the specified agent.</p>
|
||
<h1 id="arguments-177" class="section-header"><a href="#arguments-177">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project of this agent. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.operations_cancel" class="method"><code>pub fn <a href="#method.operations_cancel" class="fnname">operations_cancel</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectOperationCancelCall.html" title="struct google_dialogflow2::api::ProjectOperationCancelCall">ProjectOperationCancelCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6662-6670" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns <code>google.rpc.Code.UNIMPLEMENTED</code>. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to <code>Code.CANCELLED</code>.</p>
|
||
<h1 id="arguments-178" class="section-header"><a href="#arguments-178">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation resource to be cancelled.</li>
|
||
</ul>
|
||
</div><h4 id="method.operations_get" class="method"><code>pub fn <a href="#method.operations_get" class="fnname">operations_get</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectOperationGetCall.html" title="struct google_dialogflow2::api::ProjectOperationGetCall">ProjectOperationGetCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6679-6687" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
|
||
<h1 id="arguments-179" class="section-header"><a href="#arguments-179">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation resource.</li>
|
||
</ul>
|
||
</div><h4 id="method.operations_list" class="method"><code>pub fn <a href="#method.operations_list" class="fnname">operations_list</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectOperationListCall.html" title="struct google_dialogflow2::api::ProjectOperationListCall">ProjectOperationListCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6696-6707" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns <code>UNIMPLEMENTED</code>. NOTE: the <code>name</code> binding allows API services to override the binding to use different resource name schemes, such as <code>users/*/operations</code>. To override the binding, API services can add a binding such as <code>"/v1/{name=users/*}/operations"</code> to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
|
||
<h1 id="arguments-180" class="section-header"><a href="#arguments-180">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - The name of the operation's parent resource.</li>
|
||
</ul>
|
||
</div><h4 id="method.delete_agent" class="method"><code>pub fn <a href="#method.delete_agent" class="fnname">delete_agent</a>(&self, parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectDeleteAgentCall.html" title="struct google_dialogflow2::api::ProjectDeleteAgentCall">ProjectDeleteAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6716-6724" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified agent.</p>
|
||
<h1 id="arguments-181" class="section-header"><a href="#arguments-181">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent to delete is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.get_agent" class="method"><code>pub fn <a href="#method.get_agent" class="fnname">get_agent</a>(&self, parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectGetAgentCall.html" title="struct google_dialogflow2::api::ProjectGetAgentCall">ProjectGetAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6733-6741" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Retrieves the specified agent.</p>
|
||
<h1 id="arguments-182" class="section-header"><a href="#arguments-182">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project that the agent to fetch is associated with. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div><h4 id="method.set_agent" class="method"><code>pub fn <a href="#method.set_agent" class="fnname">set_agent</a>(<br> &self, <br> request: <a class="struct" href="../../google_dialogflow2/api/struct.GoogleCloudDialogflowV2Agent.html" title="struct google_dialogflow2::api::GoogleCloudDialogflowV2Agent">GoogleCloudDialogflowV2Agent</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_dialogflow2/api/struct.ProjectSetAgentCall.html" title="struct google_dialogflow2::api::ProjectSetAgentCall">ProjectSetAgentCall</a><'a, C></code><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#6751-6761" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates/updates the specified agent.</p>
|
||
<h1 id="arguments-183" class="section-header"><a href="#arguments-183">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project of this agent. Format: <code>projects/</code>.</li>
|
||
</ul>
|
||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-MethodsBuilder" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="../../google_dialogflow2/client/trait.MethodsBuilder.html" title="trait google_dialogflow2::client::MethodsBuilder">MethodsBuilder</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-MethodsBuilder" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/api.rs.html#3314" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-RefUnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Send" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Sync" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Unpin" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../google_dialogflow2/api/struct.ProjectMethods.html" title="struct google_dialogflow2::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-UnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_dialogflow2/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></div><h3 id="impl-From%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545-549" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#546" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-Instrument" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</code><a href="#impl-Instrument" class="anchor"></a><a class="srclink" href="../../src/tracing/instrument.rs.html#155" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.instrument" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.instrument" class="fnname">instrument</a>(self, span: <a class="struct" href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#38" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></p>
|
||
</div><h4 id="method.in_current_span" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span" class="fnname">in_current_span</a>(self) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#74" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the <a href="../struct.Span.html#method.current">current</a> <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></p>
|
||
</div></div><h3 id="impl-Into%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#534-541" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#538" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryFrom%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#582-591" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryInto%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#568-577" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error-1" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_dialogflow2"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |