Dialogflow_v2beta1Functions

Functions

Link copied to clipboard

Retrieves the specified context.

suspend fun getContext(argument: suspend GetContextPlainArgsBuilder.() -> Unit): GetContextResult
suspend fun getContext(contextId: String, environmentId: String, location: String, project: String? = null, sessionId: String, userId: String): GetContextResult
Link copied to clipboard

Retrieves the specific conversation.

suspend fun getConversation(conversationId: String, location: String, project: String? = null): GetConversationResult
Link copied to clipboard

Retrieves the specified conversation profile.

suspend fun getConversationProfile(conversationProfileId: String, location: String, project: String? = null): GetConversationProfileResult
Link copied to clipboard

Retrieves the specified document. Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

suspend fun getDocument(argument: suspend GetDocumentPlainArgsBuilder.() -> Unit): GetDocumentResult
suspend fun getDocument(documentId: String, knowledgeBaseId: String, location: String, project: String? = null): GetDocumentResult
Link copied to clipboard

Retrieves the specified entity type.

suspend fun getEntityType(entityTypeId: String, languageCode: String? = null, location: String, project: String? = null): GetEntityTypeResult
Link copied to clipboard

Retrieves the specified agent environment.

suspend fun getEnvironment(environmentId: String, location: String, project: String? = null): GetEnvironmentResult
Link copied to clipboard

Retrieves the specified intent.

suspend fun getIntent(argument: suspend GetIntentPlainArgsBuilder.() -> Unit): GetIntentResult
suspend fun getIntent(intentId: String, intentView: String? = null, languageCode: String? = null, location: String, project: String? = null): GetIntentResult
Link copied to clipboard

Retrieves the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

suspend fun getKnowledgeBase(knowledgeBaseId: String, location: String, project: String? = null): GetKnowledgeBaseResult
Link copied to clipboard

Retrieves a conversation participant.

suspend fun getParticipant(conversationId: String, location: String, participantId: String, project: String? = null): GetParticipantResult
Link copied to clipboard

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.

suspend fun getSessionEntityType(entityTypeId: String, environmentId: String, location: String, project: String? = null, sessionId: String, userId: String): GetSessionEntityTypeResult
Link copied to clipboard

Retrieves the specified agent version.

suspend fun getVersion(argument: suspend GetVersionPlainArgsBuilder.() -> Unit): GetVersionResult
suspend fun getVersion(location: String, project: String? = null, versionId: String): GetVersionResult