NAME

Google::Cloud::Contactcenterinsights::V1::Resources - Compiled Protocol Buffers messages for google/cloud/contactcenterinsights/v1/resources.proto

SYNOPSIS

use Google::Cloud::Contactcenterinsights::V1::Resources;

my $msg = Google::Cloud::Contactcenterinsights::V1::Resources::Conversation->new({
    call_metadata => $call_metadata,
    expire_time => $expire_time,
    ttl => $ttl,
    name => $name,
});

# Read or update a field
my $val = $msg->call_metadata();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Contactcenterinsights::V1::Resources::Conversation->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contactcenterinsights/v1/resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Contactcenterinsights::V1::Resources::Conversation

The conversation resource.

Inherits from Protobuf::Message.

Accessors

Enum: Conversation::Medium

  • MEDIUM_UNSPECIFIED => 0

  • PHONE_CALL => 1

  • CHAT => 2

Google::Cloud::Contactcenterinsights::V1::Resources::Analysis

The analysis resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}

  • $msg->request_time() / $msg->request_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the analysis was requested.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the analysis was created, which occurs when the long-running operation completes.

  • $msg->analysis_result() / $msg->analysis_result($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::AnalysisResult)

    Output only. The result of the analysis, which is populated when the analysis finishes.

  • $msg->annotator_selector() / $msg->annotator_selector($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::AnnotatorSelector)

    To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

Google::Cloud::Contactcenterinsights::V1::Resources::ConversationDataSource

The conversation source, which is a combination of transcript and audio.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::GcsSource

A Cloud Storage source of conversation data.

Inherits from Protobuf::Message.

Accessors

  • $msg->audio_uri() / $msg->audio_uri($value)

    Type: String

    Cloud Storage URI that points to a file that contains the conversation audio.

  • $msg->transcript_uri() / $msg->transcript_uri($value)

    Type: String

    Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.

Google::Cloud::Contactcenterinsights::V1::Resources::DialogflowSource

A Dialogflow source of conversation data.

Inherits from Protobuf::Message.

Accessors

  • $msg->dialogflow_conversation() / $msg->dialogflow_conversation($value)

    Type: String

    Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

  • $msg->audio_uri() / $msg->audio_uri($value)

    Type: String

    Cloud Storage URI that points to a file that contains the conversation audio.

Google::Cloud::Contactcenterinsights::V1::Resources::AnalysisResult

The result of an analysis.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::IssueModelResult

Issue Modeling result on a conversation.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::FeedbackLabel

Represents a conversation, resource, and label provided by the user.

Inherits from Protobuf::Message.

Accessors

  • $msg->label() / $msg->label($value)

    Type: String

    String label.

  • $msg->qa_answer_label() / $msg->qa_answer_label($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaAnswer::AnswerValue)

    QaAnswer label.

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

  • $msg->labeled_resource() / $msg->labeled_resource($value)

    Type: String

    Resource name of the resource to be labeled.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the label.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Update time of the label.

Google::Cloud::Contactcenterinsights::V1::Resources::ConversationLevelSentiment

One channel of conversation-level sentiment data.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::ConversationLevelSilence

Conversation-level silence data.

Inherits from Protobuf::Message.

Accessors

  • $msg->silence_duration() / $msg->silence_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Amount of time calculated to be in silence.

  • $msg->silence_percentage() / $msg->silence_percentage($value)

    Type: Float

    Percentage of the total conversation spent in silence.

Google::Cloud::Contactcenterinsights::V1::Resources::IssueAssignment

Information about the issue.

Inherits from Protobuf::Message.

Accessors

  • $msg->issue() / $msg->issue($value)

    Type: String

    Resource name of the assigned issue.

  • $msg->score() / $msg->score($value)

    Type: Double

    Score indicating the likelihood of the issue assignment. currently bounded on [0,1].

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

Google::Cloud::Contactcenterinsights::V1::Resources::CallAnnotation

A piece of metadata that applies to a window of a call.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::AnnotationBoundary

A point in a conversation that marks the start or the end of an annotation.

Inherits from Protobuf::Message.

Accessors

  • $msg->word_index() / $msg->word_index($value)

    Type: Int32

    The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.

  • $msg->transcript_index() / $msg->transcript_index($value)

    Type: Int32

    The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.

Google::Cloud::Contactcenterinsights::V1::Resources::Entity

The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The representative name for the entity.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::Entity::Type)

    The entity type.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::Entity::MetadataEntry)

    Metadata associated with the entity.

    For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.

  • $msg->salience() / $msg->salience($value)

    Type: Float

    The salience score associated with the entity in the [0, 1.0] range.

    The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.

  • $msg->sentiment() / $msg->sentiment($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::SentimentData)

    The aggregate sentiment expressed for this entity in the conversation.

Enum: Entity::Type

  • TYPE_UNSPECIFIED => 0

  • PERSON => 1

  • LOCATION => 2

  • ORGANIZATION => 3

  • EVENT => 4

  • WORK_OF_ART => 5

  • CONSUMER_GOOD => 6

  • OTHER => 7

  • PHONE_NUMBER => 9

  • ADDRESS => 10

  • DATE => 11

  • NUMBER => 12

  • PRICE => 13

Google::Cloud::Contactcenterinsights::V1::Resources::Intent

The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    The unique identifier of the intent.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable name of the intent.

Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchData

The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.

Inherits from Protobuf::Message.

Accessors

  • $msg->phrase_matcher() / $msg->phrase_matcher($value)

    Type: String

    The unique identifier (the resource name) of the phrase matcher.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable name of the phrase matcher.

Google::Cloud::Contactcenterinsights::V1::Resources::DialogflowIntent

The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable name of the intent.

Google::Cloud::Contactcenterinsights::V1::Resources::InterruptionData

The data for an interruption annotation.

Inherits from Protobuf::Message.

Google::Cloud::Contactcenterinsights::V1::Resources::SilenceData

The data for a silence annotation.

Inherits from Protobuf::Message.

Google::Cloud::Contactcenterinsights::V1::Resources::HoldData

The data for a hold annotation.

Inherits from Protobuf::Message.

Google::Cloud::Contactcenterinsights::V1::Resources::EntityMentionData

The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.

Inherits from Protobuf::Message.

Accessors

Enum: EntityMentionData::MentionType

  • MENTION_TYPE_UNSPECIFIED => 0

  • PROPER => 1

  • COMMON => 2

Google::Cloud::Contactcenterinsights::V1::Resources::IntentMatchData

The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.

Inherits from Protobuf::Message.

Accessors

  • $msg->intent_unique_id() / $msg->intent_unique_id($value)

    Type: String

    The id of the matched intent. Can be used to retrieve the corresponding intent information.

Google::Cloud::Contactcenterinsights::V1::Resources::SentimentData

The data for a sentiment annotation.

Inherits from Protobuf::Message.

Accessors

  • $msg->magnitude() / $msg->magnitude($value)

    Type: Float

    A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.

  • $msg->score() / $msg->score($value)

    Type: Float

    The sentiment score between -1.0 (negative) and 1.0 (positive).

Google::Cloud::Contactcenterinsights::V1::Resources::IssueMatchData

The data for an issue match annotation.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::IssueModel

The issue model resource.

Inherits from Protobuf::Message.

Accessors

Enum: IssueModel::State

  • STATE_UNSPECIFIED => 0

  • UNDEPLOYED => 1

  • DEPLOYING => 2

  • DEPLOYED => 3

  • UNDEPLOYING => 4

  • DELETING => 5

Enum: IssueModel::ModelType

  • MODEL_TYPE_UNSPECIFIED => 0

  • TYPE_V1 => 1

  • TYPE_V2 => 2

Google::Cloud::Contactcenterinsights::V1::Resources::Issue

The issue resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The representative name for the issue.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this issue was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time that this issue was updated.

  • $msg->sample_utterances() / $msg->sample_utterances($value)

    Type: String

    Output only. Resource names of the sample representative utterances that match to this issue.

  • $msg->display_description() / $msg->display_description($value)

    Type: String

    Representative description of the issue.

Google::Cloud::Contactcenterinsights::V1::Resources::IssueModelLabelStats

Aggregated statistics about an issue model.

Inherits from Protobuf::Message.

Accessors

  • $msg->analyzed_conversations_count() / $msg->analyzed_conversations_count($value)

    Type: Int64

    Number of conversations the issue model has analyzed at this point in time.

  • $msg->unclassified_conversations_count() / $msg->unclassified_conversations_count($value)

    Type: Int64

    Number of analyzed conversations for which no issue was applicable at this point in time.

  • $msg->issue_stats() / $msg->issue_stats($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::IssueModelLabelStats::IssueStatsEntry)

    Statistics on each issue. Key is the issue's resource name.

Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatcher

The phrase matcher resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

  • $msg->revision_id() / $msg->revision_id($value)

    Type: 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

  • $msg->version_tag() / $msg->version_tag($value)

    Type: String

    The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.

  • $msg->revision_create_time() / $msg->revision_create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable name of the phrase matcher.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::PhraseMatcher::PhraseMatcherType)

    Required. The type of this phrase matcher.

  • $msg->active() / $msg->active($value)

    Type: Bool

    Applies the phrase matcher only when it is active.

  • $msg->phrase_match_rule_groups() / $msg->phrase_match_rule_groups($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchRuleGroup)

    A list of phase match rule groups that are included in this matcher.

  • $msg->activation_update_time() / $msg->activation_update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which the activation status was updated.

  • $msg->role_match() / $msg->role_match($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::ConversationParticipant::Role)

    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.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which the phrase matcher was updated.

Enum: PhraseMatcher::PhraseMatcherType

  • PHRASE_MATCHER_TYPE_UNSPECIFIED => 0

  • ALL_OF => 1

  • ANY_OF => 2

Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchRuleGroup

A message representing a rule in the phrase matcher.

Inherits from Protobuf::Message.

Accessors

Enum: PhraseMatchRuleGroup::PhraseMatchRuleGroupType

  • PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED => 0

  • ALL_OF => 1

  • ANY_OF => 2

Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchRule

The data for a phrase match rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->query() / $msg->query($value)

    Type: String

    Required. The phrase to be matched.

  • $msg->negated() / $msg->negated($value)

    Type: Bool

    Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.

  • $msg->config() / $msg->config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchRuleConfig)

    Provides additional information about the rule that specifies how to apply the rule.

Google::Cloud::Contactcenterinsights::V1::Resources::PhraseMatchRuleConfig

Configuration information of a phrase match rule.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::ExactMatchConfig

Exact match configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->case_sensitive() / $msg->case_sensitive($value)

    Type: Bool

    Whether to consider case sensitivity when performing an exact match.

Google::Cloud::Contactcenterinsights::V1::Resources::Settings

The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) and change the settings with [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the settings was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the settings were last updated.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

  • $msg->conversation_ttl() / $msg->conversation_ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

  • $msg->pubsub_notification_settings() / $msg->pubsub_notification_settings($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::Settings::PubsubNotificationSettingsEntry)

    A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

    Keys are notification triggers. Supported keys are:

    * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "ingest-conversations": Notify each time an IngestConversations LRO is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. * "upload-conversation": Notify when an UploadConversation LRO is complete.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

  • $msg->analysis_config() / $msg->analysis_config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::Settings::AnalysisConfig)

    Default analysis settings.

  • $msg->redaction_config() / $msg->redaction_config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::RedactionConfig)

    Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform.

  • $msg->speech_config() / $msg->speech_config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::SpeechConfig)

    Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform.

Google::Cloud::Contactcenterinsights::V1::Resources::AnalysisRule

The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this analysis rule was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which this analysis rule was updated.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Display Name of the analysis rule.

  • $msg->conversation_filter() / $msg->conversation_filter($value)

    Type: String

    Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations.

  • $msg->annotator_selector() / $msg->annotator_selector($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::AnnotatorSelector)

    Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.

  • $msg->analysis_percentage() / $msg->analysis_percentage($value)

    Type: Double

    Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation.

  • $msg->active() / $msg->active($value)

    Type: Bool

    If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.

Google::Cloud::Contactcenterinsights::V1::Resources::EncryptionSpec

A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec

  • $msg->kms_key() / $msg->kms_key($value)

    Type: String

    Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`

Google::Cloud::Contactcenterinsights::V1::Resources::RedactionConfig

DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.

Inherits from Protobuf::Message.

Accessors

  • $msg->deidentify_template() / $msg->deidentify_template($value)

    Type: String

    The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`

  • $msg->inspect_template() / $msg->inspect_template($value)

    Type: String

    The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`

Google::Cloud::Contactcenterinsights::V1::Resources::SpeechConfig

Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.

Inherits from Protobuf::Message.

Accessors

  • $msg->speech_recognizer() / $msg->speech_recognizer($value)

    Type: String

    The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`

Google::Cloud::Contactcenterinsights::V1::Resources::RuntimeAnnotation

An annotation that was generated during the customer and agent interaction.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contactcenterinsights::V1::Resources::AnswerFeedback

The feedback that the customer has about a certain answer in the conversation.

Inherits from Protobuf::Message.

Accessors

  • $msg->correctness_level() / $msg->correctness_level($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::AnswerFeedback::CorrectnessLevel)

    The correctness level of an answer.

  • $msg->clicked() / $msg->clicked($value)

    Type: Bool

    Indicates whether an answer or item was clicked by the human agent.

  • $msg->displayed() / $msg->displayed($value)

    Type: Bool

    Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.

Enum: AnswerFeedback::CorrectnessLevel

  • CORRECTNESS_LEVEL_UNSPECIFIED => 0

  • NOT_CORRECT => 1

  • PARTIALLY_CORRECT => 2

  • FULLY_CORRECT => 3

Google::Cloud::Contactcenterinsights::V1::Resources::ArticleSuggestionData

Agent Assist Article Suggestion data.

Inherits from Protobuf::Message.

Accessors

  • $msg->title() / $msg->title($value)

    Type: String

    Article title.

  • $msg->uri() / $msg->uri($value)

    Type: String

    Article URI.

  • $msg->confidence_score() / $msg->confidence_score($value)

    Type: Float

    The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::ArticleSuggestionData::MetadataEntry)

    Map that contains metadata about the Article Suggestion and the document that it originates from.

  • $msg->query_record() / $msg->query_record($value)

    Type: String

    The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

  • $msg->source() / $msg->source($value)

    Type: String

    The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}

Google::Cloud::Contactcenterinsights::V1::Resources::FaqAnswerData

Agent Assist frequently-asked-question answer data.

Inherits from Protobuf::Message.

Accessors

  • $msg->answer() / $msg->answer($value)

    Type: String

    The piece of text from the `source` knowledge base document.

  • $msg->confidence_score() / $msg->confidence_score($value)

    Type: Float

    The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

  • $msg->question() / $msg->question($value)

    Type: String

    The corresponding FAQ question.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::FaqAnswerData::MetadataEntry)

    Map that contains metadata about the FAQ answer and the document that it originates from.

  • $msg->query_record() / $msg->query_record($value)

    Type: String

    The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

  • $msg->source() / $msg->source($value)

    Type: String

    The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

Google::Cloud::Contactcenterinsights::V1::Resources::SmartReplyData

Agent Assist Smart Reply data.

Inherits from Protobuf::Message.

Accessors

  • $msg->reply() / $msg->reply($value)

    Type: String

    The content of the reply.

  • $msg->confidence_score() / $msg->confidence_score($value)

    Type: Double

    The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::SmartReplyData::MetadataEntry)

    Map that contains metadata about the Smart Reply and the document from which it originates.

  • $msg->query_record() / $msg->query_record($value)

    Type: String

    The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

Google::Cloud::Contactcenterinsights::V1::Resources::SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

Inherits from Protobuf::Message.

Accessors

  • $msg->suggestion() / $msg->suggestion($value)

    Type: String

    The content of the suggestion.

  • $msg->confidence_score() / $msg->confidence_score($value)

    Type: Double

    The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::SmartComposeSuggestionData::MetadataEntry)

    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.

  • $msg->query_record() / $msg->query_record($value)

    Type: String

    The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

Google::Cloud::Contactcenterinsights::V1::Resources::DialogflowInteractionData

Dialogflow interaction data.

Inherits from Protobuf::Message.

Accessors

  • $msg->dialogflow_intent_id() / $msg->dialogflow_intent_id($value)

    Type: String

    The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

  • $msg->confidence() / $msg->confidence($value)

    Type: Float

    The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

Google::Cloud::Contactcenterinsights::V1::Resources::ConversationSummarizationSuggestionData

Conversation summarization suggestion data.

Inherits from Protobuf::Message.

Accessors

  • $msg->text() / $msg->text($value)

    Type: String

    The summarization content that is concatenated into one string.

  • $msg->text_sections() / $msg->text_sections($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::ConversationSummarizationSuggestionData::TextSectionsEntry)

    The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.

  • $msg->confidence() / $msg->confidence($value)

    Type: Float

    The confidence score of the summarization.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::ConversationSummarizationSuggestionData::MetadataEntry)

    A map that contains metadata about the summarization and the document from which it originates.

  • $msg->answer_record() / $msg->answer_record($value)

    Type: String

    The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

  • $msg->conversation_model() / $msg->conversation_model($value)

    Type: String

    The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

Google::Cloud::Contactcenterinsights::V1::Resources::ConversationParticipant

The call participant speaking for a given utterance.

Inherits from Protobuf::Message.

Accessors

  • $msg->dialogflow_participant_name() / $msg->dialogflow_participant_name($value)

    Type: String

    The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

  • $msg->user_id() / $msg->user_id($value)

    Type: String

    A user-specified ID representing the participant.

  • $msg->dialogflow_participant() / $msg->dialogflow_participant($value)

    Type: String

    Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

  • $msg->obfuscated_external_user_id() / $msg->obfuscated_external_user_id($value)

    Type: String

    Obfuscated user ID from Dialogflow.

  • $msg->role() / $msg->role($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::ConversationParticipant::Role)

    The role of the participant.

Enum: ConversationParticipant::Role

  • ROLE_UNSPECIFIED => 0

  • HUMAN_AGENT => 1

  • AUTOMATED_AGENT => 2

  • END_USER => 3

  • ANY_AGENT => 4

Google::Cloud::Contactcenterinsights::V1::Resources::View

The View resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable display name of the view.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this view was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which the view was updated.

  • $msg->value() / $msg->value($value)

    Type: String

    String with specific view properties, must be non-empty.

Google::Cloud::Contactcenterinsights::V1::Resources::AnnotatorSelector

Selector of all available annotators and phrase matchers to run.

Inherits from Protobuf::Message.

Accessors

  • $msg->run_interruption_annotator() / $msg->run_interruption_annotator($value)

    Type: Bool

    Whether to run the interruption annotator.

  • $msg->run_silence_annotator() / $msg->run_silence_annotator($value)

    Type: Bool

    Whether to run the silence annotator.

  • $msg->run_phrase_matcher_annotator() / $msg->run_phrase_matcher_annotator($value)

    Type: Bool

    Whether to run the active phrase matcher annotator(s).

  • $msg->phrase_matchers() / $msg->phrase_matchers($value)

    Type: String

    The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

  • $msg->run_sentiment_annotator() / $msg->run_sentiment_annotator($value)

    Type: Bool

    Whether to run the sentiment annotator.

  • $msg->run_entity_annotator() / $msg->run_entity_annotator($value)

    Type: Bool

    Whether to run the entity annotator.

  • $msg->run_intent_annotator() / $msg->run_intent_annotator($value)

    Type: Bool

    Whether to run the intent annotator.

  • $msg->run_issue_model_annotator() / $msg->run_issue_model_annotator($value)

    Type: Bool

    Whether to run the issue model annotator. A model should have already been deployed for this to take effect.

  • $msg->issue_models() / $msg->issue_models($value)

    Type: String

    The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.

  • $msg->run_summarization_annotator() / $msg->run_summarization_annotator($value)

    Type: Bool

    Whether to run the summarization annotator.

  • $msg->summarization_config() / $msg->summarization_config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::AnnotatorSelector::SummarizationConfig)

    Configuration for the summarization annotator.

  • $msg->run_qa_annotator() / $msg->run_qa_annotator($value)

    Type: Bool

    Whether to run the QA annotator.

  • $msg->qa_config() / $msg->qa_config($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::AnnotatorSelector::QaConfig)

    Configuration for the QA annotator.

Google::Cloud::Contactcenterinsights::V1::Resources::QaQuestion

A single question to be scored by the Insights QA feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}

  • $msg->abbreviation() / $msg->abbreviation($value)

    Type: String

    Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this question was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which the question was updated.

  • $msg->question_body() / $msg->question_body($value)

    Type: String

    Question text. E.g., "Did the agent greet the customer?"

  • $msg->answer_instructions() / $msg->answer_instructions($value)

    Type: String

    Instructions describing how to determine the answer.

  • $msg->answer_choices() / $msg->answer_choices($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaQuestion::AnswerChoice)

    A list of valid answers to the question, which the LLM must choose from.

  • $msg->tags() / $msg->tags($value)

    Type: String

    User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.

  • $msg->order() / $msg->order($value)

    Type: Int32

    Defines the order of the question within its parent scorecard revision.

  • $msg->metrics() / $msg->metrics($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaQuestion::Metrics)

    Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

  • $msg->tuning_metadata() / $msg->tuning_metadata($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaQuestion::TuningMetadata)

    Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecard

A QaScorecard represents a collection of questions to be scored during analysis.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The user-specified display name of the scorecard.

  • $msg->description() / $msg->description($value)

    Type: String

    A text description explaining the intent of the scorecard.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this scorecard was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The most recent time at which the scorecard was updated.

Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecardRevision

A revision of a QaScorecard.

Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}

  • $msg->snapshot() / $msg->snapshot($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecard)

    The snapshot of the scorecard at the time of this revision's creation.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp that the revision was created.

  • $msg->alternate_ids() / $msg->alternate_ids($value)

    Type: String

    Output only. Alternative IDs for this revision of the scorecard, e.g., `latest`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Contactcenterinsights::V1::QaScorecardRevision::State)

    Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.

Enum: QaScorecardRevision::State

  • STATE_UNSPECIFIED => 0

  • EDITABLE => 12

  • TRAINING => 2

  • TRAINING_FAILED => 9

  • READY => 11

  • DELETING => 7

  • TRAINING_CANCELLED => 14

Google::Cloud::Contactcenterinsights::V1::Resources::QaAnswer

An answer to a QaQuestion.

Inherits from Protobuf::Message.

Accessors

  • $msg->qa_question() / $msg->qa_question($value)

    Type: String

    The QaQuestion answered by this answer.

  • $msg->conversation() / $msg->conversation($value)

    Type: String

    The conversation the answer applies to.

  • $msg->question_body() / $msg->question_body($value)

    Type: String

    Question text. E.g., "Did the agent greet the customer?"

  • $msg->answer_value() / $msg->answer_value($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaAnswer::AnswerValue)

    The main answer value, incorporating any manual edits if they exist.

  • $msg->tags() / $msg->tags($value)

    Type: String

    User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

  • $msg->answer_sources() / $msg->answer_sources($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaAnswer::AnswerSource)

    List of all individual answers given to the question.

Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecardResult

The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

  • $msg->qa_scorecard_revision() / $msg->qa_scorecard_revision($value)

    Type: String

    The QaScorecardRevision scored by this result.

  • $msg->conversation() / $msg->conversation($value)

    Type: String

    The conversation scored by this result.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp that the revision was created.

  • $msg->agent_id() / $msg->agent_id($value)

    Type: String

    ID of the agent that handled the conversation.

  • $msg->qa_answers() / $msg->qa_answers($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaAnswer)

    Set of QaAnswers represented in the result.

  • $msg->score() / $msg->score($value)

    Type: Double

    The overall numerical score of the result, incorporating any manual edits if they exist.

  • $msg->potential_score() / $msg->potential_score($value)

    Type: Double

    The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.

  • $msg->normalized_score() / $msg->normalized_score($value)

    Type: Double

    The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.

  • $msg->qa_tag_results() / $msg->qa_tag_results($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecardResult::QaTagResult)

    Collection of tags and their scores.

  • $msg->score_sources() / $msg->score_sources($value)

    Type: Message (Google::Cloud::Contactcenterinsights::V1::Resources::QaScorecardResult::ScoreSource)

    List of all individual score sets.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Contactcenterinsights::V1::Resources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.