Struct google_dialogflow2::api::ProjectMethods [−][src]
A builder providing access to all methods supported on project resources.
It is not used directly, but through the Dialogflow hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dialogflow2 as dialogflow2; use std::default::Default; use oauth2; use dialogflow2::Dialogflow; let secret: oauth2::ApplicationSecret = Default::default(); let auth = yup_oauth2::InstalledFlowAuthenticator::builder( secret, yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // 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(...)` // to build up your call. let rb = hub.projects();
Implementations
impl<'a, C> ProjectMethods<'a, C>[src]
pub fn agent_entity_types_entities_batch_create(
&self,
request: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates multiple new entities in the specified entity type. Operation
Arguments
request- No description provided.parent- Required. The name of the entity type to create entities in. Format:projects//agent/entityTypes/.
pub fn agent_entity_types_entities_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes entities in the specified entity type. Operation
Arguments
request- No description provided.parent- Required. The name of the entity type to delete entries for. Format:projects//agent/entityTypes/.
pub fn agent_entity_types_entities_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
parent: &str
) -> ProjectAgentEntityTypeEntityBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
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
Arguments
request- No description provided.parent- Required. The name of the entity type to update or create entities in. Format:projects//agent/entityTypes/.
pub fn agent_entity_types_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
parent: &str
) -> ProjectAgentEntityTypeBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
parent: &str
) -> ProjectAgentEntityTypeBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes entity types in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to delete all entities types for. Format:projects//agent.
pub fn agent_entity_types_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
parent: &str
) -> ProjectAgentEntityTypeBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
parent: &str
) -> ProjectAgentEntityTypeBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates/Creates multiple entity types in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to update or create entity types in. Format:projects//agent.
pub fn agent_entity_types_create(
&self,
request: GoogleCloudDialogflowV2EntityType,
parent: &str
) -> ProjectAgentEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2EntityType,
parent: &str
) -> ProjectAgentEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates an entity type in the specified agent.
Arguments
request- No description provided.parent- Required. The agent to create a entity type for. Format:projects//agent.
pub fn agent_entity_types_delete(
&self,
name: &str
) -> ProjectAgentEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified entity type.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/entityTypes/.
pub fn agent_entity_types_get(
&self,
name: &str
) -> ProjectAgentEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified entity type.
Arguments
name- Required. The name of the entity type. Format:projects//agent/entityTypes/.
pub fn agent_entity_types_list(
&self,
parent: &str
) -> ProjectAgentEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all entity types in the specified agent.
Arguments
parent- Required. The agent to list all entity types from. Format:projects//agent.
pub fn agent_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2EntityType,
name: &str
) -> ProjectAgentEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2EntityType,
name: &str
) -> ProjectAgentEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified entity type.
Arguments
request- No description provided.name- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:projects//agent/entityTypes/.
pub fn agent_environments_intents_list(
&self,
parent: &str
) -> ProjectAgentEnvironmentIntentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEnvironmentIntentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all intents in the specified agent.
Arguments
parent- Required. The agent to list all intents from. Format:projects//agent.
pub fn agent_environments_users_sessions_contexts_create(
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectAgentEnvironmentUserSessionContextCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectAgentEnvironmentUserSessionContextCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a context. If the specified context already exists, overrides the context.
Arguments
request- No description provided.parent- Required. The session to create a context for. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_contexts_delete(
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified context.
Arguments
name- Required. The name of the context to delete. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_contexts_get(
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified context.
Arguments
name- Required. The name of the context. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_contexts_list(
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionContextListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionContextListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all contexts in the specified session.
Arguments
parent- Required. The session to list all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_contexts_patch(
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectAgentEnvironmentUserSessionContextPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified context.
Arguments
request- No description provided.name- Required. The unique identifier of the context. Format:projects//agent/sessions//contexts/, orprojects//agent/environments//users//sessions//contexts/. TheContext IDis always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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: *__system_counters__**_id_dialog_context**_dialog_params_size
pub fn agent_environments_users_sessions_entity_types_create(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The session to create a session entity type for. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_entity_types_delete(
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_entity_types_get(
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the session entity type. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_entity_types_list(
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
parent- Required. The session to list all session entity types from. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectAgentEnvironmentUserSessionEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.name- Required. The unique identifier of this session entity type. Format:projects//agent/sessions//entityTypes/, orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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.
pub fn agent_environments_users_sessions_delete_contexts(
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionDeleteContextCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEnvironmentUserSessionDeleteContextCall<'a, C>
Create a builder to help you perform the following task:
Deletes all active contexts in the specified session.
Arguments
parent- Required. The name of the session to delete all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_environments_users_sessions_detect_intent(
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectAgentEnvironmentUserSessionDetectIntentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectAgentEnvironmentUserSessionDetectIntentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.session- Required. The name of the session this query is sent to. Format:projects//agent/sessions/, orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment (Environment IDmight be referred to as environment name at some places). IfUser IDis not specified, we are using "-". It's up to the API caller to choose an appropriateSession IDandUser Id. They can be a random number or some type of user and session identifiers (preferably hashed). The length of theSession IDandUser IDmust not exceed 36 characters. For more information, see the API interactions guide. Note: Always use agent versions for production traffic. See Versions and environments.
pub fn agent_environments_list(
&self,
parent: &str
) -> ProjectAgentEnvironmentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentEnvironmentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all non-draft environments of the specified agent.
Arguments
parent- Required. The agent to list all environments from. Format:projects//agent.
pub fn agent_intents_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
parent: &str
) -> ProjectAgentIntentBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
parent: &str
) -> ProjectAgentIntentBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes intents in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to delete all entities types for. Format:projects//agent.
pub fn agent_intents_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
parent: &str
) -> ProjectAgentIntentBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
parent: &str
) -> ProjectAgentIntentBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates/Creates multiple intents in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to update or create intents in. Format:projects//agent.
pub fn agent_intents_create(
&self,
request: GoogleCloudDialogflowV2Intent,
parent: &str
) -> ProjectAgentIntentCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Intent,
parent: &str
) -> ProjectAgentIntentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates an intent in the specified agent.
Arguments
request- No description provided.parent- Required. The agent to create a intent for. Format:projects//agent.
pub fn agent_intents_delete(
&self,
name: &str
) -> ProjectAgentIntentDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentIntentDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified intent and its direct or indirect followup intents.
Arguments
name- Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format:projects//agent/intents/.
pub fn agent_intents_get(&self, name: &str) -> ProjectAgentIntentGetCall<'a, C>[src]
Create a builder to help you perform the following task:
Retrieves the specified intent.
Arguments
name- Required. The name of the intent. Format:projects//agent/intents/.
pub fn agent_intents_list(
&self,
parent: &str
) -> ProjectAgentIntentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentIntentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all intents in the specified agent.
Arguments
parent- Required. The agent to list all intents from. Format:projects//agent.
pub fn agent_intents_patch(
&self,
request: GoogleCloudDialogflowV2Intent,
name: &str
) -> ProjectAgentIntentPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Intent,
name: &str
) -> ProjectAgentIntentPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified intent.
Arguments
request- No description provided.name- Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format:projects//agent/intents/.
pub fn agent_knowledge_bases_documents_create(
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectAgentKnowledgeBaseDocumentCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectAgentKnowledgeBaseDocumentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new document. Operation
Arguments
request- No description provided.parent- Required. The knowledge base to create a document for. Format:projects//locations//knowledgeBases/.
pub fn agent_knowledge_bases_documents_delete(
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified document. Operation
Arguments
name- Required. The name of the document to delete. Format:projects//locations//knowledgeBases//documents/.
pub fn agent_knowledge_bases_documents_get(
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified document.
Arguments
name- Required. The name of the document to retrieve. Formatprojects//locations//knowledgeBases//documents/.
pub fn agent_knowledge_bases_documents_list(
&self,
parent: &str
) -> ProjectAgentKnowledgeBaseDocumentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentKnowledgeBaseDocumentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all documents of the knowledge base.
Arguments
parent- Required. The knowledge base to list all documents for. Format:projects//locations//knowledgeBases/.
pub fn agent_knowledge_bases_documents_patch(
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified document. Operation
Arguments
request- No description provided.name- Optional. The document resource name. The name must be empty when creating a document. Format:projects//locations//knowledgeBases//documents/.
pub fn agent_knowledge_bases_documents_reload(
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentReloadCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectAgentKnowledgeBaseDocumentReloadCall<'a, C>
Create a builder to help you perform the following task:
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 projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents. Operation
Arguments
request- No description provided.name- Required. The name of the document to reload. Format:projects//locations//knowledgeBases//documents/
pub fn agent_knowledge_bases_create(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectAgentKnowledgeBaseCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectAgentKnowledgeBaseCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a knowledge base.
Arguments
request- No description provided.parent- Required. The project to create a knowledge base for. Format:projects//locations/.
pub fn agent_knowledge_bases_delete(
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentKnowledgeBaseDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to delete. Format:projects//locations//knowledgeBases/.
pub fn agent_knowledge_bases_get(
&self,
name: &str
) -> ProjectAgentKnowledgeBaseGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentKnowledgeBaseGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to retrieve. Formatprojects//locations//knowledgeBases/.
pub fn agent_knowledge_bases_list(
&self,
parent: &str
) -> ProjectAgentKnowledgeBaseListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentKnowledgeBaseListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all knowledge bases of the specified agent.
Arguments
parent- Required. The project to list of knowledge bases for. Format:projects//locations/.
pub fn agent_knowledge_bases_patch(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectAgentKnowledgeBasePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectAgentKnowledgeBasePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified knowledge base.
Arguments
request- No description provided.name- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:projects//locations//knowledgeBases/.
pub fn agent_sessions_contexts_create(
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectAgentSessionContextCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectAgentSessionContextCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a context. If the specified context already exists, overrides the context.
Arguments
request- No description provided.parent- Required. The session to create a context for. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_contexts_delete(
&self,
name: &str
) -> ProjectAgentSessionContextDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentSessionContextDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified context.
Arguments
name- Required. The name of the context to delete. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_contexts_get(
&self,
name: &str
) -> ProjectAgentSessionContextGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentSessionContextGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified context.
Arguments
name- Required. The name of the context. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_contexts_list(
&self,
parent: &str
) -> ProjectAgentSessionContextListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentSessionContextListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all contexts in the specified session.
Arguments
parent- Required. The session to list all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_contexts_patch(
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectAgentSessionContextPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectAgentSessionContextPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified context.
Arguments
request- No description provided.name- Required. The unique identifier of the context. Format:projects//agent/sessions//contexts/, orprojects//agent/environments//users//sessions//contexts/. TheContext IDis always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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: *__system_counters__**_id_dialog_context**_dialog_params_size
pub fn agent_sessions_entity_types_create(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectAgentSessionEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectAgentSessionEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The session to create a session entity type for. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_entity_types_delete(
&self,
name: &str
) -> ProjectAgentSessionEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentSessionEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_entity_types_get(
&self,
name: &str
) -> ProjectAgentSessionEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentSessionEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the session entity type. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_entity_types_list(
&self,
parent: &str
) -> ProjectAgentSessionEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentSessionEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
parent- Required. The session to list all session entity types from. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectAgentSessionEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectAgentSessionEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.name- Required. The unique identifier of this session entity type. Format:projects//agent/sessions//entityTypes/, orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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.
pub fn agent_sessions_delete_contexts(
&self,
parent: &str
) -> ProjectAgentSessionDeleteContextCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentSessionDeleteContextCall<'a, C>
Create a builder to help you perform the following task:
Deletes all active contexts in the specified session.
Arguments
parent- Required. The name of the session to delete all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn agent_sessions_detect_intent(
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectAgentSessionDetectIntentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectAgentSessionDetectIntentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.session- Required. The name of the session this query is sent to. Format:projects//agent/sessions/, orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment (Environment IDmight be referred to as environment name at some places). IfUser IDis not specified, we are using "-". It's up to the API caller to choose an appropriateSession IDandUser Id. They can be a random number or some type of user and session identifiers (preferably hashed). The length of theSession IDandUser IDmust not exceed 36 characters. For more information, see the API interactions guide. Note: Always use agent versions for production traffic. See Versions and environments.
pub fn agent_export(
&self,
request: GoogleCloudDialogflowV2ExportAgentRequest,
parent: &str
) -> ProjectAgentExportCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ExportAgentRequest,
parent: &str
) -> ProjectAgentExportCall<'a, C>
Create a builder to help you perform the following task:
Exports the specified agent to a ZIP file. Operation
Arguments
request- No description provided.parent- Required. The project that the agent to export is associated with. Format:projects/.
pub fn agent_get_fulfillment(
&self,
name: &str
) -> ProjectAgentGetFulfillmentCall<'a, C>[src]
&self,
name: &str
) -> ProjectAgentGetFulfillmentCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the fulfillment.
Arguments
name- Required. The name of the fulfillment. Format:projects//agent/fulfillment.
pub fn agent_get_validation_result(
&self,
parent: &str
) -> ProjectAgentGetValidationResultCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAgentGetValidationResultCall<'a, C>
Create a builder to help you perform the following task:
Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.
Arguments
parent- Required. The project that the agent is associated with. Format:projects/.
pub fn agent_import(
&self,
request: GoogleCloudDialogflowV2ImportAgentRequest,
parent: &str
) -> ProjectAgentImportCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ImportAgentRequest,
parent: &str
) -> ProjectAgentImportCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project that the agent to import is associated with. Format:projects/.
pub fn agent_restore(
&self,
request: GoogleCloudDialogflowV2RestoreAgentRequest,
parent: &str
) -> ProjectAgentRestoreCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2RestoreAgentRequest,
parent: &str
) -> ProjectAgentRestoreCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project that the agent to restore is associated with. Format:projects/.
pub fn agent_search(&self, parent: &str) -> ProjectAgentSearchCall<'a, C>[src]
Create a builder to help you perform the following task:
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 List Sub-Collections.
Arguments
parent- Required. The project to list agents from. Format:projects/.
pub fn agent_train(
&self,
request: GoogleCloudDialogflowV2TrainAgentRequest,
parent: &str
) -> ProjectAgentTrainCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2TrainAgentRequest,
parent: &str
) -> ProjectAgentTrainCall<'a, C>
Create a builder to help you perform the following task:
Trains the specified agent. Operation
Arguments
request- No description provided.parent- Required. The project that the agent to train is associated with. Format:projects/.
pub fn agent_update_fulfillment(
&self,
request: GoogleCloudDialogflowV2Fulfillment,
name: &str
) -> ProjectAgentUpdateFulfillmentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Fulfillment,
name: &str
) -> ProjectAgentUpdateFulfillmentCall<'a, C>
Create a builder to help you perform the following task:
Updates the fulfillment.
Arguments
request- No description provided.name- Required. The unique identifier of the fulfillment. Format:projects//agent/fulfillment.
pub fn answer_records_list(
&self,
parent: &str
) -> ProjectAnswerRecordListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectAnswerRecordListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all answer records in the specified project in reverse chronological order.
Arguments
parent- Required. The project to list all answer records for in reverse chronological order. Format:projects//locations/.
pub fn answer_records_patch(
&self,
request: GoogleCloudDialogflowV2AnswerRecord,
name: &str
) -> ProjectAnswerRecordPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2AnswerRecord,
name: &str
) -> ProjectAnswerRecordPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified answer record.
Arguments
request- No description provided.name- The unique identifier of this answer record. Format:projects//locations//answerRecords/.
pub fn conversation_profiles_create(
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
parent: &str
) -> ProjectConversationProfileCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
parent: &str
) -> ProjectConversationProfileCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project to create a conversation profile for. Format:projects//locations/.
pub fn conversation_profiles_delete(
&self,
name: &str
) -> ProjectConversationProfileDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectConversationProfileDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified conversation profile.
Arguments
name- Required. The name of the conversation profile to delete. Format:projects//locations//conversationProfiles/.
pub fn conversation_profiles_get(
&self,
name: &str
) -> ProjectConversationProfileGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectConversationProfileGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified conversation profile.
Arguments
name- Required. The resource name of the conversation profile. Format:projects//locations//conversationProfiles/.
pub fn conversation_profiles_list(
&self,
parent: &str
) -> ProjectConversationProfileListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectConversationProfileListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all conversation profiles in the specified project.
Arguments
parent- Required. The project to list all conversation profiles from. Format:projects//locations/.
pub fn conversation_profiles_patch(
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
name: &str
) -> ProjectConversationProfilePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
name: &str
) -> ProjectConversationProfilePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
Arguments
request- No description provided.name- The unique identifier of this conversation profile. Format:projects//locations//conversationProfiles/.
pub fn conversations_messages_list(
&self,
parent: &str
) -> ProjectConversationMessageListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectConversationMessageListCall<'a, C>
Create a builder to help you perform the following task:
Lists messages that belong to a given conversation. messages are ordered by create_time in descending order. To fetch updates without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.
Arguments
parent- Required. The name of the conversation to list messages for. Format:projects//locations//conversations/
pub fn conversations_participants_suggestions_suggest_articles(
&self,
request: GoogleCloudDialogflowV2SuggestArticlesRequest,
parent: &str
) -> ProjectConversationParticipantSuggestionSuggestArticleCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SuggestArticlesRequest,
parent: &str
) -> ProjectConversationParticipantSuggestionSuggestArticleCall<'a, C>
Create a builder to help you perform the following task:
Gets suggested articles for a participant based on specific historical messages.
Arguments
request- No description provided.parent- Required. The name of the participant to fetch suggestion for. Format:projects//locations//conversations//participants/.
pub fn conversations_participants_suggestions_suggest_faq_answers(
&self,
request: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
parent: &str
) -> ProjectConversationParticipantSuggestionSuggestFaqAnswerCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
parent: &str
) -> ProjectConversationParticipantSuggestionSuggestFaqAnswerCall<'a, C>
Create a builder to help you perform the following task:
Gets suggested faq answers for a participant based on specific historical messages.
Arguments
request- No description provided.parent- Required. The name of the participant to fetch suggestion for. Format:projects//locations//conversations//participants/.
pub fn conversations_participants_analyze_content(
&self,
request: GoogleCloudDialogflowV2AnalyzeContentRequest,
participant: &str
) -> ProjectConversationParticipantAnalyzeContentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2AnalyzeContentRequest,
participant: &str
) -> ProjectConversationParticipantAnalyzeContentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.participant- Required. The name of the participant this text comes from. Format:projects//locations//conversations//participants/.
pub fn conversations_participants_create(
&self,
request: GoogleCloudDialogflowV2Participant,
parent: &str
) -> ProjectConversationParticipantCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Participant,
parent: &str
) -> ProjectConversationParticipantCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new participant in a conversation.
Arguments
request- No description provided.parent- Required. Resource identifier of the conversation adding the participant. Format:projects//locations//conversations/.
pub fn conversations_participants_get(
&self,
name: &str
) -> ProjectConversationParticipantGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectConversationParticipantGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves a conversation participant.
Arguments
name- Required. The name of the participant. Format:projects//locations//conversations//participants/.
pub fn conversations_participants_list(
&self,
parent: &str
) -> ProjectConversationParticipantListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectConversationParticipantListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all participants in the specified conversation.
Arguments
parent- Required. The conversation to list all participants from. Format:projects//locations//conversations/.
pub fn conversations_participants_patch(
&self,
request: GoogleCloudDialogflowV2Participant,
name: &str
) -> ProjectConversationParticipantPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Participant,
name: &str
) -> ProjectConversationParticipantPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified participant.
Arguments
request- No description provided.name- Optional. The unique identifier of this participant. Format:projects//locations//conversations//participants/.
pub fn conversations_complete(
&self,
request: GoogleCloudDialogflowV2CompleteConversationRequest,
name: &str
) -> ProjectConversationCompleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2CompleteConversationRequest,
name: &str
) -> ProjectConversationCompleteCall<'a, C>
Create a builder to help you perform the following task:
Completes the specified conversation. Finished conversations are purged from the database after 30 days.
Arguments
request- No description provided.name- Required. Resource identifier of the conversation to close. Format:projects//locations//conversations/.
pub fn conversations_create(
&self,
request: GoogleCloudDialogflowV2Conversation,
parent: &str
) -> ProjectConversationCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Conversation,
parent: &str
) -> ProjectConversationCreateCall<'a, C>
Create a builder to help you perform the following task:
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 Automated Agent Stage, otherwise, it will start from Assist Stage. And during Automated Agent Stage, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.
Arguments
request- No description provided.parent- Required. Resource identifier of the project creating the conversation. Format:projects//locations/.
pub fn conversations_get(&self, name: &str) -> ProjectConversationGetCall<'a, C>[src]
Create a builder to help you perform the following task:
Retrieves the specific conversation.
Arguments
name- Required. The name of the conversation. Format:projects//locations//conversations/.
pub fn conversations_list(
&self,
parent: &str
) -> ProjectConversationListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectConversationListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all conversations in the specified project.
Arguments
parent- Required. The project from which to list all conversation. Format:projects//locations/.
pub fn knowledge_bases_documents_create(
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectKnowledgeBaseDocumentCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectKnowledgeBaseDocumentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new document. Operation
Arguments
request- No description provided.parent- Required. The knowledge base to create a document for. Format:projects//locations//knowledgeBases/.
pub fn knowledge_bases_documents_delete(
&self,
name: &str
) -> ProjectKnowledgeBaseDocumentDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectKnowledgeBaseDocumentDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified document. Operation
Arguments
name- Required. The name of the document to delete. Format:projects//locations//knowledgeBases//documents/.
pub fn knowledge_bases_documents_get(
&self,
name: &str
) -> ProjectKnowledgeBaseDocumentGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectKnowledgeBaseDocumentGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified document.
Arguments
name- Required. The name of the document to retrieve. Formatprojects//locations//knowledgeBases//documents/.
pub fn knowledge_bases_documents_list(
&self,
parent: &str
) -> ProjectKnowledgeBaseDocumentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectKnowledgeBaseDocumentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all documents of the knowledge base.
Arguments
parent- Required. The knowledge base to list all documents for. Format:projects//locations//knowledgeBases/.
pub fn knowledge_bases_documents_patch(
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectKnowledgeBaseDocumentPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectKnowledgeBaseDocumentPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified document. Operation
Arguments
request- No description provided.name- Optional. The document resource name. The name must be empty when creating a document. Format:projects//locations//knowledgeBases//documents/.
pub fn knowledge_bases_documents_reload(
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectKnowledgeBaseDocumentReloadCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectKnowledgeBaseDocumentReloadCall<'a, C>
Create a builder to help you perform the following task:
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 projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents. Operation
Arguments
request- No description provided.name- Required. The name of the document to reload. Format:projects//locations//knowledgeBases//documents/
pub fn knowledge_bases_create(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectKnowledgeBaseCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectKnowledgeBaseCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a knowledge base.
Arguments
request- No description provided.parent- Required. The project to create a knowledge base for. Format:projects//locations/.
pub fn knowledge_bases_delete(
&self,
name: &str
) -> ProjectKnowledgeBaseDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectKnowledgeBaseDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to delete. Format:projects//locations//knowledgeBases/.
pub fn knowledge_bases_get(
&self,
name: &str
) -> ProjectKnowledgeBaseGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectKnowledgeBaseGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to retrieve. Formatprojects//locations//knowledgeBases/.
pub fn knowledge_bases_list(
&self,
parent: &str
) -> ProjectKnowledgeBaseListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectKnowledgeBaseListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all knowledge bases of the specified agent.
Arguments
parent- Required. The project to list of knowledge bases for. Format:projects//locations/.
pub fn knowledge_bases_patch(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectKnowledgeBasePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectKnowledgeBasePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified knowledge base.
Arguments
request- No description provided.name- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:projects//locations//knowledgeBases/.
pub fn locations_agent_entity_types_entities_batch_create(
&self,
request: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates multiple new entities in the specified entity type. Operation
Arguments
request- No description provided.parent- Required. The name of the entity type to create entities in. Format:projects//agent/entityTypes/.
pub fn locations_agent_entity_types_entities_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes entities in the specified entity type. Operation
Arguments
request- No description provided.parent- Required. The name of the entity type to delete entries for. Format:projects//agent/entityTypes/.
pub fn locations_agent_entity_types_entities_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeEntityBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
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
Arguments
request- No description provided.parent- Required. The name of the entity type to update or create entities in. Format:projects//agent/entityTypes/.
pub fn locations_agent_entity_types_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes entity types in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to delete all entities types for. Format:projects//agent.
pub fn locations_agent_entity_types_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
parent: &str
) -> ProjectLocationAgentEntityTypeBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates/Creates multiple entity types in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to update or create entity types in. Format:projects//agent.
pub fn locations_agent_entity_types_create(
&self,
request: GoogleCloudDialogflowV2EntityType,
parent: &str
) -> ProjectLocationAgentEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2EntityType,
parent: &str
) -> ProjectLocationAgentEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates an entity type in the specified agent.
Arguments
request- No description provided.parent- Required. The agent to create a entity type for. Format:projects//agent.
pub fn locations_agent_entity_types_delete(
&self,
name: &str
) -> ProjectLocationAgentEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified entity type.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/entityTypes/.
pub fn locations_agent_entity_types_get(
&self,
name: &str
) -> ProjectLocationAgentEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified entity type.
Arguments
name- Required. The name of the entity type. Format:projects//agent/entityTypes/.
pub fn locations_agent_entity_types_list(
&self,
parent: &str
) -> ProjectLocationAgentEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all entity types in the specified agent.
Arguments
parent- Required. The agent to list all entity types from. Format:projects//agent.
pub fn locations_agent_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2EntityType,
name: &str
) -> ProjectLocationAgentEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2EntityType,
name: &str
) -> ProjectLocationAgentEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified entity type.
Arguments
request- No description provided.name- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:projects//agent/entityTypes/.
pub fn locations_agent_environments_users_sessions_contexts_create(
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a context. If the specified context already exists, overrides the context.
Arguments
request- No description provided.parent- Required. The session to create a context for. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_contexts_delete(
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified context.
Arguments
name- Required. The name of the context to delete. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_contexts_get(
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified context.
Arguments
name- Required. The name of the context. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_contexts_list(
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all contexts in the specified session.
Arguments
parent- Required. The session to list all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_contexts_patch(
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionContextPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified context.
Arguments
request- No description provided.name- Required. The unique identifier of the context. Format:projects//agent/sessions//contexts/, orprojects//agent/environments//users//sessions//contexts/. TheContext IDis always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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: *__system_counters__**_id_dialog_context**_dialog_params_size
pub fn locations_agent_environments_users_sessions_entity_types_create(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The session to create a session entity type for. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_entity_types_delete(
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_entity_types_get(
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the session entity type. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_entity_types_list(
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
parent- Required. The session to list all session entity types from. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.name- Required. The unique identifier of this session entity type. Format:projects//agent/sessions//entityTypes/, orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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.
pub fn locations_agent_environments_users_sessions_delete_contexts(
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionDeleteContextCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentUserSessionDeleteContextCall<'a, C>
Create a builder to help you perform the following task:
Deletes all active contexts in the specified session.
Arguments
parent- Required. The name of the session to delete all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_environments_users_sessions_detect_intent(
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectLocationAgentEnvironmentUserSessionDetectIntentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectLocationAgentEnvironmentUserSessionDetectIntentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.session- Required. The name of the session this query is sent to. Format:projects//agent/sessions/, orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment (Environment IDmight be referred to as environment name at some places). IfUser IDis not specified, we are using "-". It's up to the API caller to choose an appropriateSession IDandUser Id. They can be a random number or some type of user and session identifiers (preferably hashed). The length of theSession IDandUser IDmust not exceed 36 characters. For more information, see the API interactions guide. Note: Always use agent versions for production traffic. See Versions and environments.
pub fn locations_agent_environments_list(
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentEnvironmentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all non-draft environments of the specified agent.
Arguments
parent- Required. The agent to list all environments from. Format:projects//agent.
pub fn locations_agent_intents_batch_delete(
&self,
request: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
parent: &str
) -> ProjectLocationAgentIntentBatchDeleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
parent: &str
) -> ProjectLocationAgentIntentBatchDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes intents in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to delete all entities types for. Format:projects//agent.
pub fn locations_agent_intents_batch_update(
&self,
request: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
parent: &str
) -> ProjectLocationAgentIntentBatchUpdateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
parent: &str
) -> ProjectLocationAgentIntentBatchUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates/Creates multiple intents in the specified agent. Operation
Arguments
request- No description provided.parent- Required. The name of the agent to update or create intents in. Format:projects//agent.
pub fn locations_agent_intents_create(
&self,
request: GoogleCloudDialogflowV2Intent,
parent: &str
) -> ProjectLocationAgentIntentCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Intent,
parent: &str
) -> ProjectLocationAgentIntentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates an intent in the specified agent.
Arguments
request- No description provided.parent- Required. The agent to create a intent for. Format:projects//agent.
pub fn locations_agent_intents_delete(
&self,
name: &str
) -> ProjectLocationAgentIntentDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentIntentDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified intent and its direct or indirect followup intents.
Arguments
name- Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format:projects//agent/intents/.
pub fn locations_agent_intents_get(
&self,
name: &str
) -> ProjectLocationAgentIntentGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentIntentGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified intent.
Arguments
name- Required. The name of the intent. Format:projects//agent/intents/.
pub fn locations_agent_intents_list(
&self,
parent: &str
) -> ProjectLocationAgentIntentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentIntentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all intents in the specified agent.
Arguments
parent- Required. The agent to list all intents from. Format:projects//agent.
pub fn locations_agent_intents_patch(
&self,
request: GoogleCloudDialogflowV2Intent,
name: &str
) -> ProjectLocationAgentIntentPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Intent,
name: &str
) -> ProjectLocationAgentIntentPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified intent.
Arguments
request- No description provided.name- Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format:projects//agent/intents/.
pub fn locations_agent_sessions_contexts_create(
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectLocationAgentSessionContextCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
parent: &str
) -> ProjectLocationAgentSessionContextCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a context. If the specified context already exists, overrides the context.
Arguments
request- No description provided.parent- Required. The session to create a context for. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_contexts_delete(
&self,
name: &str
) -> ProjectLocationAgentSessionContextDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentSessionContextDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified context.
Arguments
name- Required. The name of the context to delete. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_contexts_get(
&self,
name: &str
) -> ProjectLocationAgentSessionContextGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentSessionContextGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified context.
Arguments
name- Required. The name of the context. Format:projects//agent/sessions//contexts/orprojects//agent/environments//users//sessions//contexts/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_contexts_list(
&self,
parent: &str
) -> ProjectLocationAgentSessionContextListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentSessionContextListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all contexts in the specified session.
Arguments
parent- Required. The session to list all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_contexts_patch(
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectLocationAgentSessionContextPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Context,
name: &str
) -> ProjectLocationAgentSessionContextPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified context.
Arguments
request- No description provided.name- Required. The unique identifier of the context. Format:projects//agent/sessions//contexts/, orprojects//agent/environments//users//sessions//contexts/. TheContext IDis always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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: *__system_counters__**_id_dialog_context**_dialog_params_size
pub fn locations_agent_sessions_entity_types_create(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectLocationAgentSessionEntityTypeCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
parent: &str
) -> ProjectLocationAgentSessionEntityTypeCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The session to create a session entity type for. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_entity_types_delete(
&self,
name: &str
) -> ProjectLocationAgentSessionEntityTypeDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentSessionEntityTypeDeleteCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the entity type to delete. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_entity_types_get(
&self,
name: &str
) -> ProjectLocationAgentSessionEntityTypeGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentSessionEntityTypeGetCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- Required. The name of the session entity type. Format:projects//agent/sessions//entityTypes/orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_entity_types_list(
&self,
parent: &str
) -> ProjectLocationAgentSessionEntityTypeListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentSessionEntityTypeListCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
parent- Required. The session to list all session entity types from. Format:projects//agent/sessions/orprojects//agent/environments//users// sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_entity_types_patch(
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectLocationAgentSessionEntityTypePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SessionEntityType,
name: &str
) -> ProjectLocationAgentSessionEntityTypePatchCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.name- Required. The unique identifier of this session entity type. Format:projects//agent/sessions//entityTypes/, orprojects//agent/environments//users//sessions//entityTypes/. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis 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.
pub fn locations_agent_sessions_delete_contexts(
&self,
parent: &str
) -> ProjectLocationAgentSessionDeleteContextCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentSessionDeleteContextCall<'a, C>
Create a builder to help you perform the following task:
Deletes all active contexts in the specified session.
Arguments
parent- Required. The name of the session to delete all contexts from. Format:projects//agent/sessions/orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
pub fn locations_agent_sessions_detect_intent(
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectLocationAgentSessionDetectIntentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2DetectIntentRequest,
session: &str
) -> ProjectLocationAgentSessionDetectIntentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.session- Required. The name of the session this query is sent to. Format:projects//agent/sessions/, orprojects//agent/environments//users//sessions/. IfEnvironment IDis not specified, we assume default 'draft' environment (Environment IDmight be referred to as environment name at some places). IfUser IDis not specified, we are using "-". It's up to the API caller to choose an appropriateSession IDandUser Id. They can be a random number or some type of user and session identifiers (preferably hashed). The length of theSession IDandUser IDmust not exceed 36 characters. For more information, see the API interactions guide. Note: Always use agent versions for production traffic. See Versions and environments.
pub fn locations_agent_export(
&self,
request: GoogleCloudDialogflowV2ExportAgentRequest,
parent: &str
) -> ProjectLocationAgentExportCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ExportAgentRequest,
parent: &str
) -> ProjectLocationAgentExportCall<'a, C>
Create a builder to help you perform the following task:
Exports the specified agent to a ZIP file. Operation
Arguments
request- No description provided.parent- Required. The project that the agent to export is associated with. Format:projects/.
pub fn locations_agent_get_fulfillment(
&self,
name: &str
) -> ProjectLocationAgentGetFulfillmentCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationAgentGetFulfillmentCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the fulfillment.
Arguments
name- Required. The name of the fulfillment. Format:projects//agent/fulfillment.
pub fn locations_agent_get_validation_result(
&self,
parent: &str
) -> ProjectLocationAgentGetValidationResultCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentGetValidationResultCall<'a, C>
Create a builder to help you perform the following task:
Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.
Arguments
parent- Required. The project that the agent is associated with. Format:projects/.
pub fn locations_agent_import(
&self,
request: GoogleCloudDialogflowV2ImportAgentRequest,
parent: &str
) -> ProjectLocationAgentImportCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ImportAgentRequest,
parent: &str
) -> ProjectLocationAgentImportCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project that the agent to import is associated with. Format:projects/.
pub fn locations_agent_restore(
&self,
request: GoogleCloudDialogflowV2RestoreAgentRequest,
parent: &str
) -> ProjectLocationAgentRestoreCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2RestoreAgentRequest,
parent: &str
) -> ProjectLocationAgentRestoreCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project that the agent to restore is associated with. Format:projects/.
pub fn locations_agent_search(
&self,
parent: &str
) -> ProjectLocationAgentSearchCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAgentSearchCall<'a, C>
Create a builder to help you perform the following task:
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 List Sub-Collections.
Arguments
parent- Required. The project to list agents from. Format:projects/.
pub fn locations_agent_train(
&self,
request: GoogleCloudDialogflowV2TrainAgentRequest,
parent: &str
) -> ProjectLocationAgentTrainCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2TrainAgentRequest,
parent: &str
) -> ProjectLocationAgentTrainCall<'a, C>
Create a builder to help you perform the following task:
Trains the specified agent. Operation
Arguments
request- No description provided.parent- Required. The project that the agent to train is associated with. Format:projects/.
pub fn locations_agent_update_fulfillment(
&self,
request: GoogleCloudDialogflowV2Fulfillment,
name: &str
) -> ProjectLocationAgentUpdateFulfillmentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Fulfillment,
name: &str
) -> ProjectLocationAgentUpdateFulfillmentCall<'a, C>
Create a builder to help you perform the following task:
Updates the fulfillment.
Arguments
request- No description provided.name- Required. The unique identifier of the fulfillment. Format:projects//agent/fulfillment.
pub fn locations_answer_records_list(
&self,
parent: &str
) -> ProjectLocationAnswerRecordListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationAnswerRecordListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all answer records in the specified project in reverse chronological order.
Arguments
parent- Required. The project to list all answer records for in reverse chronological order. Format:projects//locations/.
pub fn locations_answer_records_patch(
&self,
request: GoogleCloudDialogflowV2AnswerRecord,
name: &str
) -> ProjectLocationAnswerRecordPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2AnswerRecord,
name: &str
) -> ProjectLocationAnswerRecordPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified answer record.
Arguments
request- No description provided.name- The unique identifier of this answer record. Format:projects//locations//answerRecords/.
pub fn locations_conversation_profiles_create(
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
parent: &str
) -> ProjectLocationConversationProfileCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
parent: &str
) -> ProjectLocationConversationProfileCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
request- No description provided.parent- Required. The project to create a conversation profile for. Format:projects//locations/.
pub fn locations_conversation_profiles_delete(
&self,
name: &str
) -> ProjectLocationConversationProfileDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationConversationProfileDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified conversation profile.
Arguments
name- Required. The name of the conversation profile to delete. Format:projects//locations//conversationProfiles/.
pub fn locations_conversation_profiles_get(
&self,
name: &str
) -> ProjectLocationConversationProfileGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationConversationProfileGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified conversation profile.
Arguments
name- Required. The resource name of the conversation profile. Format:projects//locations//conversationProfiles/.
pub fn locations_conversation_profiles_list(
&self,
parent: &str
) -> ProjectLocationConversationProfileListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationConversationProfileListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all conversation profiles in the specified project.
Arguments
parent- Required. The project to list all conversation profiles from. Format:projects//locations/.
pub fn locations_conversation_profiles_patch(
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
name: &str
) -> ProjectLocationConversationProfilePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ConversationProfile,
name: &str
) -> ProjectLocationConversationProfilePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
Arguments
request- No description provided.name- The unique identifier of this conversation profile. Format:projects//locations//conversationProfiles/.
pub fn locations_conversations_messages_list(
&self,
parent: &str
) -> ProjectLocationConversationMessageListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationConversationMessageListCall<'a, C>
Create a builder to help you perform the following task:
Lists messages that belong to a given conversation. messages are ordered by create_time in descending order. To fetch updates without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.
Arguments
parent- Required. The name of the conversation to list messages for. Format:projects//locations//conversations/
pub fn locations_conversations_participants_suggestions_suggest_articles(
&self,
request: GoogleCloudDialogflowV2SuggestArticlesRequest,
parent: &str
) -> ProjectLocationConversationParticipantSuggestionSuggestArticleCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SuggestArticlesRequest,
parent: &str
) -> ProjectLocationConversationParticipantSuggestionSuggestArticleCall<'a, C>
Create a builder to help you perform the following task:
Gets suggested articles for a participant based on specific historical messages.
Arguments
request- No description provided.parent- Required. The name of the participant to fetch suggestion for. Format:projects//locations//conversations//participants/.
pub fn locations_conversations_participants_suggestions_suggest_faq_answers(
&self,
request: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
parent: &str
) -> ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
parent: &str
) -> ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall<'a, C>
Create a builder to help you perform the following task:
Gets suggested faq answers for a participant based on specific historical messages.
Arguments
request- No description provided.parent- Required. The name of the participant to fetch suggestion for. Format:projects//locations//conversations//participants/.
pub fn locations_conversations_participants_analyze_content(
&self,
request: GoogleCloudDialogflowV2AnalyzeContentRequest,
participant: &str
) -> ProjectLocationConversationParticipantAnalyzeContentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2AnalyzeContentRequest,
participant: &str
) -> ProjectLocationConversationParticipantAnalyzeContentCall<'a, C>
Create a builder to help you perform the following task:
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 Versions and environments.
Arguments
request- No description provided.participant- Required. The name of the participant this text comes from. Format:projects//locations//conversations//participants/.
pub fn locations_conversations_participants_create(
&self,
request: GoogleCloudDialogflowV2Participant,
parent: &str
) -> ProjectLocationConversationParticipantCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Participant,
parent: &str
) -> ProjectLocationConversationParticipantCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new participant in a conversation.
Arguments
request- No description provided.parent- Required. Resource identifier of the conversation adding the participant. Format:projects//locations//conversations/.
pub fn locations_conversations_participants_get(
&self,
name: &str
) -> ProjectLocationConversationParticipantGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationConversationParticipantGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves a conversation participant.
Arguments
name- Required. The name of the participant. Format:projects//locations//conversations//participants/.
pub fn locations_conversations_participants_list(
&self,
parent: &str
) -> ProjectLocationConversationParticipantListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationConversationParticipantListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all participants in the specified conversation.
Arguments
parent- Required. The conversation to list all participants from. Format:projects//locations//conversations/.
pub fn locations_conversations_participants_patch(
&self,
request: GoogleCloudDialogflowV2Participant,
name: &str
) -> ProjectLocationConversationParticipantPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Participant,
name: &str
) -> ProjectLocationConversationParticipantPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified participant.
Arguments
request- No description provided.name- Optional. The unique identifier of this participant. Format:projects//locations//conversations//participants/.
pub fn locations_conversations_complete(
&self,
request: GoogleCloudDialogflowV2CompleteConversationRequest,
name: &str
) -> ProjectLocationConversationCompleteCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2CompleteConversationRequest,
name: &str
) -> ProjectLocationConversationCompleteCall<'a, C>
Create a builder to help you perform the following task:
Completes the specified conversation. Finished conversations are purged from the database after 30 days.
Arguments
request- No description provided.name- Required. Resource identifier of the conversation to close. Format:projects//locations//conversations/.
pub fn locations_conversations_create(
&self,
request: GoogleCloudDialogflowV2Conversation,
parent: &str
) -> ProjectLocationConversationCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Conversation,
parent: &str
) -> ProjectLocationConversationCreateCall<'a, C>
Create a builder to help you perform the following task:
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 Automated Agent Stage, otherwise, it will start from Assist Stage. And during Automated Agent Stage, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.
Arguments
request- No description provided.parent- Required. Resource identifier of the project creating the conversation. Format:projects//locations/.
pub fn locations_conversations_get(
&self,
name: &str
) -> ProjectLocationConversationGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationConversationGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specific conversation.
Arguments
name- Required. The name of the conversation. Format:projects//locations//conversations/.
pub fn locations_conversations_list(
&self,
parent: &str
) -> ProjectLocationConversationListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationConversationListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all conversations in the specified project.
Arguments
parent- Required. The project from which to list all conversation. Format:projects//locations/.
pub fn locations_knowledge_bases_documents_create(
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectLocationKnowledgeBaseDocumentCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
parent: &str
) -> ProjectLocationKnowledgeBaseDocumentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new document. Operation
Arguments
request- No description provided.parent- Required. The knowledge base to create a document for. Format:projects//locations//knowledgeBases/.
pub fn locations_knowledge_bases_documents_delete(
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified document. Operation
Arguments
name- Required. The name of the document to delete. Format:projects//locations//knowledgeBases//documents/.
pub fn locations_knowledge_bases_documents_get(
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified document.
Arguments
name- Required. The name of the document to retrieve. Formatprojects//locations//knowledgeBases//documents/.
pub fn locations_knowledge_bases_documents_list(
&self,
parent: &str
) -> ProjectLocationKnowledgeBaseDocumentListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationKnowledgeBaseDocumentListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all documents of the knowledge base.
Arguments
parent- Required. The knowledge base to list all documents for. Format:projects//locations//knowledgeBases/.
pub fn locations_knowledge_bases_documents_patch(
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentPatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Document,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified document. Operation
Arguments
request- No description provided.name- Optional. The document resource name. The name must be empty when creating a document. Format:projects//locations//knowledgeBases//documents/.
pub fn locations_knowledge_bases_documents_reload(
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentReloadCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2ReloadDocumentRequest,
name: &str
) -> ProjectLocationKnowledgeBaseDocumentReloadCall<'a, C>
Create a builder to help you perform the following task:
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 projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents. Operation
Arguments
request- No description provided.name- Required. The name of the document to reload. Format:projects//locations//knowledgeBases//documents/
pub fn locations_knowledge_bases_create(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectLocationKnowledgeBaseCreateCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
parent: &str
) -> ProjectLocationKnowledgeBaseCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a knowledge base.
Arguments
request- No description provided.parent- Required. The project to create a knowledge base for. Format:projects//locations/.
pub fn locations_knowledge_bases_delete(
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDeleteCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationKnowledgeBaseDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to delete. Format:projects//locations//knowledgeBases/.
pub fn locations_knowledge_bases_get(
&self,
name: &str
) -> ProjectLocationKnowledgeBaseGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationKnowledgeBaseGetCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified knowledge base.
Arguments
name- Required. The name of the knowledge base to retrieve. Formatprojects//locations//knowledgeBases/.
pub fn locations_knowledge_bases_list(
&self,
parent: &str
) -> ProjectLocationKnowledgeBaseListCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationKnowledgeBaseListCall<'a, C>
Create a builder to help you perform the following task:
Returns the list of all knowledge bases of the specified agent.
Arguments
parent- Required. The project to list of knowledge bases for. Format:projects//locations/.
pub fn locations_knowledge_bases_patch(
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectLocationKnowledgeBasePatchCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2KnowledgeBase,
name: &str
) -> ProjectLocationKnowledgeBasePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified knowledge base.
Arguments
request- No description provided.name- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:projects//locations//knowledgeBases/.
pub fn locations_operations_cancel(
&self,
name: &str
) -> ProjectLocationOperationCancelCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationOperationCancelCall<'a, C>
Create a builder to help you perform the following task:
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 google.rpc.Code.UNIMPLEMENTED. 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.CANCELLED.
Arguments
name- The name of the operation resource to be cancelled.
pub fn locations_operations_get(
&self,
name: &str
) -> ProjectLocationOperationGetCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationOperationGetCall<'a, C>
Create a builder to help you perform the following task:
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.
Arguments
name- The name of the operation resource.
pub fn locations_operations_list(
&self,
name: &str
) -> ProjectLocationOperationListCall<'a, C>[src]
&self,
name: &str
) -> ProjectLocationOperationListCall<'a, C>
Create a builder to help you perform the following task:
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" 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.
Arguments
name- The name of the operation's parent resource.
pub fn locations_delete_agent(
&self,
parent: &str
) -> ProjectLocationDeleteAgentCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationDeleteAgentCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified agent.
Arguments
parent- Required. The project that the agent to delete is associated with. Format:projects/.
pub fn locations_get_agent(
&self,
parent: &str
) -> ProjectLocationGetAgentCall<'a, C>[src]
&self,
parent: &str
) -> ProjectLocationGetAgentCall<'a, C>
Create a builder to help you perform the following task:
Retrieves the specified agent.
Arguments
parent- Required. The project that the agent to fetch is associated with. Format:projects/.
pub fn locations_set_agent(
&self,
request: GoogleCloudDialogflowV2Agent,
parent: &str
) -> ProjectLocationSetAgentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Agent,
parent: &str
) -> ProjectLocationSetAgentCall<'a, C>
Create a builder to help you perform the following task:
Creates/updates the specified agent.
Arguments
request- No description provided.parent- Required. The project of this agent. Format:projects/.
pub fn operations_cancel(&self, name: &str) -> ProjectOperationCancelCall<'a, C>[src]
Create a builder to help you perform the following task:
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 google.rpc.Code.UNIMPLEMENTED. 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.CANCELLED.
Arguments
name- The name of the operation resource to be cancelled.
pub fn operations_get(&self, name: &str) -> ProjectOperationGetCall<'a, C>[src]
Create a builder to help you perform the following task:
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.
Arguments
name- The name of the operation resource.
pub fn operations_list(&self, name: &str) -> ProjectOperationListCall<'a, C>[src]
Create a builder to help you perform the following task:
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" 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.
Arguments
name- The name of the operation's parent resource.
pub fn delete_agent(&self, parent: &str) -> ProjectDeleteAgentCall<'a, C>[src]
Create a builder to help you perform the following task:
Deletes the specified agent.
Arguments
parent- Required. The project that the agent to delete is associated with. Format:projects/.
pub fn get_agent(&self, parent: &str) -> ProjectGetAgentCall<'a, C>[src]
Create a builder to help you perform the following task:
Retrieves the specified agent.
Arguments
parent- Required. The project that the agent to fetch is associated with. Format:projects/.
pub fn set_agent(
&self,
request: GoogleCloudDialogflowV2Agent,
parent: &str
) -> ProjectSetAgentCall<'a, C>[src]
&self,
request: GoogleCloudDialogflowV2Agent,
parent: &str
) -> ProjectSetAgentCall<'a, C>
Create a builder to help you perform the following task:
Creates/updates the specified agent.
Arguments
request- No description provided.parent- Required. The project of this agent. Format:projects/.
Trait Implementations
impl<'a, C> MethodsBuilder for ProjectMethods<'a, C>[src]
Auto Trait Implementations
impl<'a, C> !RefUnwindSafe for ProjectMethods<'a, C>[src]
impl<'a, C> !Send for ProjectMethods<'a, C>[src]
impl<'a, C> !Sync for ProjectMethods<'a, C>[src]
impl<'a, C> Unpin for ProjectMethods<'a, C>[src]
impl<'a, C> !UnwindSafe for ProjectMethods<'a, C>[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,