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. */ 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; readonly agentId: pulumi.Output; /** * Indicates whether the entity type can be automatically expanded. */ readonly autoExpansionMode: pulumi.Output; /** * The human-readable name of the entity type, unique within the agent. */ readonly displayName: pulumi.Output; /** * Enables fuzzy entity extraction during classification. */ readonly enableFuzzyExtraction: pulumi.Output; /** * The collection of entity entries associated with the entity type. */ readonly entities: pulumi.Output; /** * Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive. */ readonly excludedPhrases: pulumi.Output; /** * Indicates the kind of entity type. */ readonly kind: pulumi.Output; /** * The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ readonly languageCode: pulumi.Output; readonly location: pulumi.Output; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name during logging. */ readonly redact: 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 { agentId: pulumi.Input; /** * Indicates whether the entity type can be automatically expanded. */ autoExpansionMode?: pulumi.Input; /** * The human-readable name of the entity type, unique within the agent. */ displayName: pulumi.Input; /** * Enables fuzzy entity extraction during classification. */ enableFuzzyExtraction?: pulumi.Input; /** * The collection of entity entries associated with the entity type. */ entities?: pulumi.Input[]>; /** * Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive. */ excludedPhrases?: pulumi.Input[]>; /** * Indicates the kind of entity type. */ kind: pulumi.Input; /** * The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name during logging. */ redact?: pulumi.Input; }