Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v2beta1.getKnowledgeBase
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Retrieves the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.
Using getKnowledgeBase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetKnowledgeBaseResult>
function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetKnowledgeBaseResult>def get_knowledge_base(knowledge_base_id: Optional[str] = None,
                       location: Optional[str] = None,
                       project: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetKnowledgeBaseResult
def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None,
                       location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetKnowledgeBaseResult]func LookupKnowledgeBase(ctx *Context, args *LookupKnowledgeBaseArgs, opts ...InvokeOption) (*LookupKnowledgeBaseResult, error)
func LookupKnowledgeBaseOutput(ctx *Context, args *LookupKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupKnowledgeBaseResultOutput> Note: This function is named LookupKnowledgeBase in the Go SDK.
public static class GetKnowledgeBase 
{
    public static Task<GetKnowledgeBaseResult> InvokeAsync(GetKnowledgeBaseArgs args, InvokeOptions? opts = null)
    public static Output<GetKnowledgeBaseResult> Invoke(GetKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
public static Output<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dialogflow/v2beta1:getKnowledgeBase
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KnowledgeBase stringId 
- Location string
- Project string
- KnowledgeBase stringId 
- Location string
- Project string
- knowledgeBase StringId 
- location String
- project String
- knowledgeBase stringId 
- location string
- project string
- knowledge_base_ strid 
- location str
- project str
- knowledgeBase StringId 
- location String
- project String
getKnowledgeBase Result
The following output properties are available:
- DisplayName string
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- LanguageCode 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.
- Name string
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
- DisplayName string
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- LanguageCode 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.
- Name string
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
- displayName String
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- languageCode 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.
- name String
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
- displayName string
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- languageCode 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.
- name string
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
- display_name str
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- language_code str
- 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.
- name str
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
- displayName String
- The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- languageCode 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.
- name String
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.