Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class PhraseMatcher.
The phrase matcher resource.
Generated from protobuf message google.cloud.contactcenterinsights.v1.PhraseMatcher
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
↳ revision_id
string
Output only. 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
↳ version_tag
string
The customized version tag to use for the phrase matcher. If not specified, it will default to revision_id
.
↳ revision_create_time
Google\Protobuf\Timestamp
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
↳ display_name
string
The human-readable name of the phrase matcher.
↳ type
int
Required. The type of this phrase matcher.
↳ active
bool
Applies the phrase matcher only when it is active.
↳ phrase_match_rule_groups
↳ activation_update_time
Google\Protobuf\Timestamp
Output only. The most recent time at which the activation status was updated.
↳ role_match
int
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.
↳ update_time
Google\Protobuf\Timestamp
Output only. The most recent time at which the phrase matcher was updated.
getName
The resource name of the phrase matcher.
Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string
setName
The resource name of the phrase matcher.
Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
var
string
$this
getRevisionId
Output only. 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
string
setRevisionId
Output only. 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
var
string
$this
getVersionTag
The customized version tag to use for the phrase matcher. If not specified,
it will default to revision_id
.
string
setVersionTag
The customized version tag to use for the phrase matcher. If not specified,
it will default to revision_id
.
var
string
$this
getRevisionCreateTime
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
hasRevisionCreateTime
clearRevisionCreateTime
setRevisionCreateTime
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
$this
getDisplayName
The human-readable name of the phrase matcher.
string
setDisplayName
The human-readable name of the phrase matcher.
var
string
$this
getType
Required. The type of this phrase matcher.
int
setType
Required. The type of this phrase matcher.
var
int
$this
getActive
Applies the phrase matcher only when it is active.
bool
setActive
Applies the phrase matcher only when it is active.
var
bool
$this
getPhraseMatchRuleGroups
A list of phase match rule groups that are included in this matcher.
setPhraseMatchRuleGroups
A list of phase match rule groups that are included in this matcher.
$this
getActivationUpdateTime
Output only. The most recent time at which the activation status was updated.
hasActivationUpdateTime
clearActivationUpdateTime
setActivationUpdateTime
Output only. The most recent time at which the activation status was updated.
$this
getRoleMatch
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.
int
setRoleMatch
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.
var
int
$this
getUpdateTime
Output only. The most recent time at which the phrase matcher was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The most recent time at which the phrase matcher was updated.
$this