import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a phrase matcher. */ export declare function getPhraseMatcher(args: GetPhraseMatcherArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPhraseMatcherArgs { location: string; phraseMatcherId: string; project?: string; } export interface GetPhraseMatcherResult { /** * The most recent time at which the activation status was updated. */ readonly activationUpdateTime: string; /** * Applies the phrase matcher only when it is active. */ readonly active: boolean; /** * The human-readable name of the phrase matcher. */ readonly displayName: string; /** * The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} */ readonly name: string; /** * A list of phase match rule groups that are included in this matcher. */ readonly phraseMatchRuleGroups: outputs.contactcenterinsights.v1.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse[]; /** * The timestamp of when the revision was created. It is also the create time when a new matcher is added. */ readonly revisionCreateTime: string; /** * 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: string; /** * 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: string; /** * The type of this phrase matcher. */ readonly type: string; /** * The most recent time at which the phrase matcher was updated. */ readonly updateTime: string; /** * The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`. */ readonly versionTag: string; } /** * Gets a phrase matcher. */ export declare function getPhraseMatcherOutput(args: GetPhraseMatcherOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetPhraseMatcherOutputArgs { location: pulumi.Input; phraseMatcherId: pulumi.Input; project?: pulumi.Input; }