import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. */ export declare function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetKnowledgeBaseArgs { knowledgeBaseId: string; location: string; project?: string; } export interface GetKnowledgeBaseResult { /** * The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. */ readonly displayName: string; /** * 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. */ readonly languageCode: string; /** * The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`. */ readonly name: string; } /** * Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. */ export declare function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetKnowledgeBaseOutputArgs { knowledgeBaseId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }