KnowledgeBaseArgs

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. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Constructors

Link copied to clipboard
constructor(displayName: Output<String>? = null, languageCode: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val displayName: Output<String>? = null

The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.

Link copied to clipboard
val languageCode: Output<String>? = null

Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, this is populated for all non en-us languages. If not populated, the default language en-us applies.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.

Link copied to clipboard
val project: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): KnowledgeBaseArgs