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 a phrase matcher. */ export declare class PhraseMatcher extends pulumi.CustomResource { /** * Get an existing PhraseMatcher 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): PhraseMatcher; /** * Returns true if the given object is an instance of PhraseMatcher. 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 PhraseMatcher; /** * The most recent time at which the activation status was updated. */ readonly activationUpdateTime: pulumi.Output; /** * Applies the phrase matcher only when it is active. */ readonly active: pulumi.Output; /** * The human-readable name of the phrase matcher. */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} */ readonly name: pulumi.Output; /** * A list of phase match rule groups that are included in this matcher. */ readonly phraseMatchRuleGroups: pulumi.Output; readonly project: pulumi.Output; /** * The timestamp of when the revision was created. It is also the create time when a new matcher is added. */ readonly revisionCreateTime: pulumi.Output; /** * Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567 */ readonly revisionId: pulumi.Output; /** * The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript. */ readonly roleMatch: pulumi.Output; /** * The type of this phrase matcher. */ readonly type: pulumi.Output; /** * The most recent time at which the phrase matcher was updated. */ readonly updateTime: pulumi.Output; /** * The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`. */ readonly versionTag: pulumi.Output; /** * Create a PhraseMatcher 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: PhraseMatcherArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PhraseMatcher resource. */ export interface PhraseMatcherArgs { /** * Applies the phrase matcher only when it is active. */ active?: pulumi.Input; /** * The human-readable name of the phrase matcher. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} */ name?: pulumi.Input; /** * A list of phase match rule groups that are included in this matcher. */ phraseMatchRuleGroups?: pulumi.Input[]>; project?: pulumi.Input; /** * The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript. */ roleMatch?: pulumi.Input; /** * The type of this phrase matcher. */ type: pulumi.Input; /** * The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`. */ versionTag?: pulumi.Input; }