1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v2
  6. getEntityType

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.getEntityType

Explore with Pulumi AI

google-native logo

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 entity type.

    Using getEntityType

    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 getEntityType(args: GetEntityTypeArgs, opts?: InvokeOptions): Promise<GetEntityTypeResult>
    function getEntityTypeOutput(args: GetEntityTypeOutputArgs, opts?: InvokeOptions): Output<GetEntityTypeResult>
    def get_entity_type(entity_type_id: Optional[str] = None,
                        language_code: Optional[str] = None,
                        location: Optional[str] = None,
                        project: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetEntityTypeResult
    def get_entity_type_output(entity_type_id: Optional[pulumi.Input[str]] = None,
                        language_code: Optional[pulumi.Input[str]] = None,
                        location: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetEntityTypeResult]
    func LookupEntityType(ctx *Context, args *LookupEntityTypeArgs, opts ...InvokeOption) (*LookupEntityTypeResult, error)
    func LookupEntityTypeOutput(ctx *Context, args *LookupEntityTypeOutputArgs, opts ...InvokeOption) LookupEntityTypeResultOutput

    > Note: This function is named LookupEntityType in the Go SDK.

    public static class GetEntityType 
    {
        public static Task<GetEntityTypeResult> InvokeAsync(GetEntityTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetEntityTypeResult> Invoke(GetEntityTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEntityTypeResult> getEntityType(GetEntityTypeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dialogflow/v2:getEntityType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EntityTypeId string
    Location string
    LanguageCode string
    Project string
    EntityTypeId string
    Location string
    LanguageCode string
    Project string
    entityTypeId String
    location String
    languageCode String
    project String
    entityTypeId string
    location string
    languageCode string
    project string
    entityTypeId String
    location String
    languageCode String
    project String

    getEntityType Result

    The following output properties are available:

    AutoExpansionMode string
    Optional. Indicates whether the entity type can be automatically expanded.
    DisplayName string
    The name of the entity type.
    EnableFuzzyExtraction bool
    Optional. Enables fuzzy entity extraction during classification.
    Entities List<Pulumi.GoogleNative.Dialogflow.V2.Outputs.GoogleCloudDialogflowV2EntityTypeEntityResponse>
    Optional. The collection of entity entries associated with the entity type.
    Kind string
    Indicates the kind of entity type.
    Name string
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.
    AutoExpansionMode string
    Optional. Indicates whether the entity type can be automatically expanded.
    DisplayName string
    The name of the entity type.
    EnableFuzzyExtraction bool
    Optional. Enables fuzzy entity extraction during classification.
    Entities []GoogleCloudDialogflowV2EntityTypeEntityResponse
    Optional. The collection of entity entries associated with the entity type.
    Kind string
    Indicates the kind of entity type.
    Name string
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.
    autoExpansionMode String
    Optional. Indicates whether the entity type can be automatically expanded.
    displayName String
    The name of the entity type.
    enableFuzzyExtraction Boolean
    Optional. Enables fuzzy entity extraction during classification.
    entities List<GoogleCloudDialogflowV2EntityTypeEntityResponse>
    Optional. The collection of entity entries associated with the entity type.
    kind String
    Indicates the kind of entity type.
    name String
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.
    autoExpansionMode string
    Optional. Indicates whether the entity type can be automatically expanded.
    displayName string
    The name of the entity type.
    enableFuzzyExtraction boolean
    Optional. Enables fuzzy entity extraction during classification.
    entities GoogleCloudDialogflowV2EntityTypeEntityResponse[]
    Optional. The collection of entity entries associated with the entity type.
    kind string
    Indicates the kind of entity type.
    name string
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.
    auto_expansion_mode str
    Optional. Indicates whether the entity type can be automatically expanded.
    display_name str
    The name of the entity type.
    enable_fuzzy_extraction bool
    Optional. Enables fuzzy entity extraction during classification.
    entities Sequence[GoogleCloudDialogflowV2EntityTypeEntityResponse]
    Optional. The collection of entity entries associated with the entity type.
    kind str
    Indicates the kind of entity type.
    name str
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.
    autoExpansionMode String
    Optional. Indicates whether the entity type can be automatically expanded.
    displayName String
    The name of the entity type.
    enableFuzzyExtraction Boolean
    Optional. Enables fuzzy entity extraction during classification.
    entities List<Property Map>
    Optional. The collection of entity entries associated with the entity type.
    kind String
    Indicates the kind of entity type.
    name String
    The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/.

    Supporting Types

    GoogleCloudDialogflowV2EntityTypeEntityResponse

    Synonyms List<string>
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    Value string
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).
    Synonyms []string
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    Value string
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).
    synonyms List<String>
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    value String
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).
    synonyms string[]
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    value string
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).
    synonyms Sequence[str]
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    value str
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).
    synonyms List<String>
    A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
    value String
    The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases).

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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