import * as pulumi from "@pulumi/pulumi"; /** * Creates a knowledge base. */ export declare class KnowledgeBase extends pulumi.CustomResource { /** * Get an existing KnowledgeBase resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): KnowledgeBase; /** * Returns true if the given object is an instance of KnowledgeBase. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KnowledgeBase; /** * The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. */ readonly displayName: pulumi.Output; /** * Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies. */ readonly languageCode: pulumi.Output; readonly location: pulumi.Output; /** * The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Create a KnowledgeBase resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KnowledgeBaseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a KnowledgeBase resource. */ export interface KnowledgeBaseArgs { /** * The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. */ displayName: pulumi.Input; /** * Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies. */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`. */ name?: pulumi.Input; project?: pulumi.Input; }