Package-level declarations

Types

Link copied to clipboard
class Context : KotlinCustomResource

Creates a context. If the specified context already exists, overrides the context. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class ContextArgs(val environmentId: Output<String>? = null, val lifespanCount: Output<Int>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val project: Output<String>? = null, val sessionId: Output<String>? = null, val userId: Output<String>? = null) : ConvertibleToJava<ContextArgs>

Creates a context. If the specified context already exists, overrides the context. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object ContextMapper : ResourceMapper<Context>
Link copied to clipboard
Link copied to clipboard
class Conversation : KotlinCustomResource

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. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class ConversationArgs(val conversationId: Output<String>? = null, val conversationProfile: Output<String>? = null, val conversationStage: Output<ConversationConversationStage>? = null, val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ConversationArgs>

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. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
class ConversationDataset : KotlinCustomResource

Creates a new conversation dataset. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationDatasetOperationMetadata - response: ConversationDataset Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class ConversationDatasetArgs(val description: Output<String>? = null, val displayName: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ConversationDatasetArgs>

Creates a new conversation dataset. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationDatasetOperationMetadata - response: ConversationDataset Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object ConversationMapper : ResourceMapper<Conversation>
Link copied to clipboard
class ConversationModel : KotlinCustomResource

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

Link copied to clipboard
data class ConversationModelArgs(val articleSuggestionModelMetadata: Output<GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs>? = null, val datasets: Output<List<GoogleCloudDialogflowV2InputDatasetArgs>>? = null, val displayName: Output<String>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val smartReplyModelMetadata: Output<GoogleCloudDialogflowV2SmartReplyModelMetadataArgs>? = null) : ConvertibleToJava<ConversationModelArgs>

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

Link copied to clipboard
object ConversationModelMapper : ResourceMapper<ConversationModel>
Link copied to clipboard
class ConversationProfile : KotlinCustomResource

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.

Link copied to clipboard
data class ConversationProfileArgs(val automatedAgentConfig: Output<GoogleCloudDialogflowV2AutomatedAgentConfigArgs>? = null, val displayName: Output<String>? = null, val humanAgentAssistantConfig: Output<GoogleCloudDialogflowV2HumanAgentAssistantConfigArgs>? = null, val humanAgentHandoffConfig: Output<GoogleCloudDialogflowV2HumanAgentHandoffConfigArgs>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val loggingConfig: Output<GoogleCloudDialogflowV2LoggingConfigArgs>? = null, val name: Output<String>? = null, val newMessageEventNotificationConfig: Output<GoogleCloudDialogflowV2NotificationConfigArgs>? = null, val notificationConfig: Output<GoogleCloudDialogflowV2NotificationConfigArgs>? = null, val project: Output<String>? = null, val securitySettings: Output<String>? = null, val sttConfig: Output<GoogleCloudDialogflowV2SpeechToTextConfigArgs>? = null, val timeZone: Output<String>? = null, val ttsConfig: Output<GoogleCloudDialogflowV2SynthesizeSpeechConfigArgs>? = null) : ConvertibleToJava<ConversationProfileArgs>

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Document : KotlinCustomResource

Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

Link copied to clipboard
data class DocumentArgs(val contentUri: Output<String>? = null, val displayName: Output<String>? = null, val enableAutoReload: Output<Boolean>? = null, val knowledgeBaseId: Output<String>? = null, val knowledgeTypes: Output<List<DocumentKnowledgeTypesItem>>? = null, val location: Output<String>? = null, val metadata: Output<Map<String, String>>? = null, val mimeType: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val rawContent: Output<String>? = null) : ConvertibleToJava<DocumentArgs>

Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

Link copied to clipboard
Link copied to clipboard
object DocumentMapper : ResourceMapper<Document>
Link copied to clipboard
Link copied to clipboard
class EntityType : KotlinCustomResource

Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class EntityTypeArgs(val autoExpansionMode: Output<EntityTypeAutoExpansionMode>? = null, val displayName: Output<String>? = null, val enableFuzzyExtraction: Output<Boolean>? = null, val entities: Output<List<GoogleCloudDialogflowV2EntityTypeEntityArgs>>? = null, val kind: Output<EntityTypeKind>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<EntityTypeArgs>

Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object EntityTypeMapper : ResourceMapper<EntityType>
Link copied to clipboard
Link copied to clipboard
class Environment : KotlinCustomResource

Creates an agent environment. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class EnvironmentArgs(val agentVersion: Output<String>? = null, val description: Output<String>? = null, val environmentId: Output<String>? = null, val fulfillment: Output<GoogleCloudDialogflowV2FulfillmentArgs>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val textToSpeechSettings: Output<GoogleCloudDialogflowV2TextToSpeechSettingsArgs>? = null) : ConvertibleToJava<EnvironmentArgs>

Creates an agent environment. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object EnvironmentMapper : ResourceMapper<Environment>
Link copied to clipboard
Link copied to clipboard
class Evaluation : KotlinCustomResource

Creates evaluation of a conversation model. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class EvaluationArgs(val conversationModelId: Output<String>? = null, val displayName: Output<String>? = null, val evaluationConfig: Output<GoogleCloudDialogflowV2EvaluationConfigArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<EvaluationArgs>

Creates evaluation of a conversation model. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
object EvaluationMapper : ResourceMapper<Evaluation>
Link copied to clipboard
Link copied to clipboard
class Intent : KotlinCustomResource

Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class IntentArgs(val action: Output<String>? = null, val defaultResponsePlatforms: Output<List<IntentDefaultResponsePlatformsItem>>? = null, val displayName: Output<String>? = null, val endInteraction: Output<Boolean>? = null, val events: Output<List<String>>? = null, val inputContextNames: Output<List<String>>? = null, val intentView: Output<String>? = null, val isFallback: Output<Boolean>? = null, val languageCode: Output<String>? = null, val liveAgentHandoff: Output<Boolean>? = null, val location: Output<String>? = null, val messages: Output<List<GoogleCloudDialogflowV2IntentMessageArgs>>? = null, val mlDisabled: Output<Boolean>? = null, val name: Output<String>? = null, val outputContexts: Output<List<GoogleCloudDialogflowV2ContextArgs>>? = null, val parameters: Output<List<GoogleCloudDialogflowV2IntentParameterArgs>>? = null, val parentFollowupIntentName: Output<String>? = null, val priority: Output<Int>? = null, val project: Output<String>? = null, val resetContexts: Output<Boolean>? = null, val trainingPhrases: Output<List<GoogleCloudDialogflowV2IntentTrainingPhraseArgs>>? = null, val webhookState: Output<IntentWebhookState>? = null) : ConvertibleToJava<IntentArgs>

Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for IntentArgs.

Link copied to clipboard
object IntentMapper : ResourceMapper<Intent>
Link copied to clipboard

Builder for Intent.

Link copied to clipboard
class KnowledgeBase : KotlinCustomResource

Creates a knowledge base.

Link copied to clipboard
data class KnowledgeBaseArgs(val displayName: Output<String>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<KnowledgeBaseArgs>

Creates a knowledge base.

Link copied to clipboard
Link copied to clipboard
object KnowledgeBaseMapper : ResourceMapper<KnowledgeBase>
Link copied to clipboard
Link copied to clipboard
class Participant : KotlinCustomResource

Creates a new participant in a conversation. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class ParticipantArgs(val conversationId: Output<String>? = null, val documentsMetadataFilters: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val obfuscatedExternalUserId: Output<String>? = null, val project: Output<String>? = null, val role: Output<ParticipantRole>? = null, val sipRecordingMediaLabel: Output<String>? = null) : ConvertibleToJava<ParticipantArgs>

Creates a new participant in a conversation. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
object ParticipantMapper : ResourceMapper<Participant>
Link copied to clipboard
Link copied to clipboard
class SessionEntityType : KotlinCustomResource

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class SessionEntityTypeArgs(val entities: Output<List<GoogleCloudDialogflowV2EntityTypeEntityArgs>>? = null, val entityOverrideMode: Output<SessionEntityTypeEntityOverrideMode>? = null, val environmentId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val sessionId: Output<String>? = null, val userId: Output<String>? = null) : ConvertibleToJava<SessionEntityTypeArgs>

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
object SessionEntityTypeMapper : ResourceMapper<SessionEntityType>
Link copied to clipboard
class Version : KotlinCustomResource

Creates an agent version. The new version points to the agent instance in the "default" environment. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class VersionArgs(val description: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<VersionArgs>

Creates an agent version. The new version points to the agent instance in the "default" environment. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object VersionMapper : ResourceMapper<Version>
Link copied to clipboard

Functions

Link copied to clipboard
fun context(name: String): Context
suspend fun context(name: String, block: suspend ContextResourceBuilder.() -> Unit): Context
Link copied to clipboard
Link copied to clipboard
suspend fun document(name: String, block: suspend DocumentResourceBuilder.() -> Unit): Document
Link copied to clipboard
suspend fun entityType(name: String, block: suspend EntityTypeResourceBuilder.() -> Unit): EntityType
Link copied to clipboard
suspend fun environment(name: String, block: suspend EnvironmentResourceBuilder.() -> Unit): Environment
Link copied to clipboard
suspend fun evaluation(name: String, block: suspend EvaluationResourceBuilder.() -> Unit): Evaluation
Link copied to clipboard
fun intent(name: String): Intent
suspend fun intent(name: String, block: suspend IntentResourceBuilder.() -> Unit): Intent
Link copied to clipboard
Link copied to clipboard
suspend fun participant(name: String, block: suspend ParticipantResourceBuilder.() -> Unit): Participant
Link copied to clipboard
fun version(name: String): Version
suspend fun version(name: String, block: suspend VersionResourceBuilder.() -> Unit): Version