Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dialogflow/v2.getKnowledgeBase
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves the specified knowledge base.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dialogflow/v2:getKnowledgeBase
arguments:
# arguments dictionary
The following arguments are supported:
- Knowledge
Base stringId - Location string
- Project string
- Knowledge
Base stringId - Location string
- Project string
- knowledge
Base StringId - location String
- project String
- knowledge
Base stringId - location string
- project string
- knowledge_
base_ strid - location str
- project str
- knowledge
Base StringId - location String
- project String
getKnowledgeBase Result
The following output properties are available:
- Display
Name string - The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- Language
Code string - 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.
- Name string
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:
projects//locations//knowledgeBases/
.
- Display
Name string - The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- Language
Code string - 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.
- Name string
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:
projects//locations//knowledgeBases/
.
- display
Name String - The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- language
Code String - 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.
- name String
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:
projects//locations//knowledgeBases/
.
- display
Name string - The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- language
Code string - 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.
- 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, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies.
- name str
- The knowledge base resource name. The name must be empty when creating a knowledge base. Format:
projects//locations//knowledgeBases/
.
- display
Name String - The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
- language
Code String - 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.
- 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi