import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates an entity type in the specified agent. */ export declare class AgentEntityType extends pulumi.CustomResource { /** * Get an existing AgentEntityType 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): AgentEntityType; /** * Returns true if the given object is an instance of AgentEntityType. 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 AgentEntityType; /** * Indicates whether the entity type can be automatically expanded. */ readonly autoExpansionMode: pulumi.Output; /** * Required. 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; /** * Required. Indicates the kind of entity type. */ readonly kind: pulumi.Output; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. */ readonly name: 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 when logging. */ readonly redact: pulumi.Output; /** * Create a AgentEntityType 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: AgentEntityTypeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AgentEntityType resource. */ export interface AgentEntityTypeArgs { readonly agentsId: pulumi.Input; /** * Indicates whether the entity type can be automatically expanded. */ readonly autoExpansionMode?: pulumi.Input; /** * Required. The human-readable name of the entity type, unique within the agent. */ readonly displayName?: pulumi.Input; /** * Enables fuzzy entity extraction during classification. */ readonly enableFuzzyExtraction?: pulumi.Input; /** * The collection of entity entries associated with the entity type. */ readonly entities?: pulumi.Input[]>; readonly entityTypesId: 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. */ readonly excludedPhrases?: pulumi.Input[]>; /** * Required. Indicates the kind of entity type. */ readonly kind?: pulumi.Input; readonly locationsId: pulumi.Input; /** * The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. */ readonly name?: pulumi.Input; readonly projectsId: 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 when logging. */ readonly redact?: pulumi.Input; }