import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). * Auto-naming is currently not supported for this resource. */ export declare class EntityType extends pulumi.CustomResource { /** * Get an existing EntityType 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): EntityType; /** * Returns true if the given object is an instance of EntityType. 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 EntityType; /** * Optional. Indicates whether the entity type can be automatically expanded. */ readonly autoExpansionMode: pulumi.Output; /** * The name of the entity type. */ readonly displayName: pulumi.Output; /** * Optional. Enables fuzzy entity extraction during classification. */ readonly enableFuzzyExtraction: pulumi.Output; /** * Optional. The collection of entity entries associated with the entity type. */ readonly entities: pulumi.Output; /** * Indicates the kind of entity type. */ readonly kind: pulumi.Output; /** * Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). */ readonly languageCode: pulumi.Output; readonly location: pulumi.Output; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Create a EntityType 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: EntityTypeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EntityType resource. */ export interface EntityTypeArgs { /** * Optional. Indicates whether the entity type can be automatically expanded. */ autoExpansionMode?: pulumi.Input; /** * The name of the entity type. */ displayName: pulumi.Input; /** * Optional. Enables fuzzy entity extraction during classification. */ enableFuzzyExtraction?: pulumi.Input; /** * Optional. The collection of entity entries associated with the entity type. */ entities?: pulumi.Input[]>; /** * Indicates the kind of entity type. */ kind: pulumi.Input; /** * Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/` */ name?: pulumi.Input; project?: pulumi.Input; }