- [Resource: Analysis](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SCHEMA_REPRESENTATION)
  - [AnalysisResult](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnalysisResult)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnalysisResult.SCHEMA_REPRESENTATION)
  - [CallAnalysisMetadata](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnalysisMetadata)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnalysisMetadata.SCHEMA_REPRESENTATION)
  - [CallAnnotation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnnotation)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnnotation.SCHEMA_REPRESENTATION)
  - [InterruptionData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.InterruptionData)
  - [SilenceData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SilenceData)
  - [HoldData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.HoldData)
  - [EntityMentionData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.EntityMentionData)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.EntityMentionData.SCHEMA_REPRESENTATION)
  - [MentionType](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.MentionType)
  - [IntentMatchData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IntentMatchData)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IntentMatchData.SCHEMA_REPRESENTATION)
  - [PhraseMatchData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData.SCHEMA_REPRESENTATION)
  - [IssueMatchData](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueMatchData)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueMatchData.SCHEMA_REPRESENTATION)
  - [IssueAssignment](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment.SCHEMA_REPRESENTATION)
  - [Entity](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Entity)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Entity.SCHEMA_REPRESENTATION)
  - [Type](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Type)
  - [ConversationLevelSentiment](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSentiment)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSentiment.SCHEMA_REPRESENTATION)
  - [ConversationLevelSilence](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSilence)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSilence.SCHEMA_REPRESENTATION)
  - [Intent](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Intent)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Intent.SCHEMA_REPRESENTATION)
  - [IssueModelResult](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueModelResult)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueModelResult.SCHEMA_REPRESENTATION)
  - [QaScorecardResult](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaScorecardResult)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaScorecardResult.SCHEMA_REPRESENTATION)
  - [QaAnswer](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaAnswer)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaAnswer.SCHEMA_REPRESENTATION)
  - [AnswerSource](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnswerSource)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnswerSource.SCHEMA_REPRESENTATION)
  - [SourceType](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType)
  - [QaTagResult](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult.SCHEMA_REPRESENTATION)
  - [ScoreSource](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ScoreSource)
    - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ScoreSource.SCHEMA_REPRESENTATION)
  - [SourceType](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType_1)
- [Methods](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#METHODS_SUMMARY)

## Resource: Analysis

The analysis resource.

| JSON representation |
|---|
| ``` { "name": string, "requestTime": string, "createTime": string, "analysisResult": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnalysisResult`) }, "annotatorSelector": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotatorSelector`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| `requestTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time at which the analysis was requested. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time at which the analysis was created, which occurs when the long-running operation completes. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `analysisResult` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnalysisResult`)`` Output only. The result of the analysis, which is populated when the analysis finishes. |
| `annotatorSelector` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotatorSelector`)`` To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. |

### AnalysisResult

The result of an analysis.

| JSON representation |
|---|
| ``` { "endTime": string, // Union field `metadata` can be only one of the following: "callAnalysisMetadata": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnalysisMetadata`) } // End of list of possible types for union field `metadata`. } ``` |

| Fields ||
|---|---|
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at which the analysis ended. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| Union field `metadata`. Metadata discovered during analysis. `metadata` can be only one of the following: ||
| `callAnalysisMetadata` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnalysisMetadata`)`` Call-specific metadata created by the analysis. |

### CallAnalysisMetadata

Call-specific metadata created during analysis.

| JSON representation |
|---|
| ``` { "annotations": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnnotation`) } ], "entities": { string: { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Entity`) }, ... }, "sentiments": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSentiment`) } ], "silence": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSilence`) }, "intents": { string: { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Intent`) }, ... }, "phraseMatchers": { string: { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData`) }, ... }, "issueModelResult": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueModelResult`) }, "qaScorecardResults": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaScorecardResult`) } ] } ``` |

| Fields ||
|---|---|
| `annotations[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.CallAnnotation`)`` A list of call annotations that apply to this call. |
| `entities` | ``map (key: string, value: object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Entity`))`` All the entities in the call. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `sentiments[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSentiment`)`` Overall conversation-level sentiment for each channel of the call. |
| `silence` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ConversationLevelSilence`)`` Overall conversation-level silence during the call. |
| `intents` | ``map (key: string, value: object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Intent`))`` All the matched intents in the call. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `phraseMatchers` | ``map (key: string, value: object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData`))`` All the matched phrase matchers in the call. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `issueModelResult` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueModelResult`)`` Overall conversation-level issue modeling result. |
| `qaScorecardResults[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaScorecardResult`)`` Results of scoring QaScorecards. |

### CallAnnotation

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

| JSON representation |
|---|
| ``` { "channelTag": integer, "annotationStartBoundary": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotationBoundary`) }, "annotationEndBoundary": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotationBoundary`) }, // Union field `data` can be only one of the following: "interruptionData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.InterruptionData`) }, "sentimentData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`) }, "silenceData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SilenceData`) }, "holdData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.HoldData`) }, "entityMentionData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.EntityMentionData`) }, "intentMatchData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IntentMatchData`) }, "phraseMatchData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData`) }, "issueMatchData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueMatchData`) } // End of list of possible types for union field `data`. } ``` |

| Fields ||
|---|---|
| `channelTag` | `integer` The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| `annotationStartBoundary` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotationBoundary`)`` The boundary in the conversation where the annotation starts, inclusive. |
| `annotationEndBoundary` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnnotationBoundary`)`` The boundary in the conversation where the annotation ends, inclusive. |
| Union field `data`. The data in the annotation. `data` can be only one of the following: ||
| `interruptionData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.InterruptionData`)`` Data specifying an interruption. |
| `sentimentData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`)`` Data specifying sentiment. |
| `silenceData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SilenceData`)`` Data specifying silence. |
| `holdData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.HoldData`)`` Data specifying a hold. |
| `entityMentionData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.EntityMentionData`)`` Data specifying an entity mention. |
| `intentMatchData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IntentMatchData`)`` Data specifying an intent match. |
| `phraseMatchData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.PhraseMatchData`)`` Data specifying a phrase match. |
| `issueMatchData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueMatchData`)`` Data specifying an issue match. |

### InterruptionData

This type has no fields.
The data for an interruption annotation.

### SilenceData

This type has no fields.
The data for a silence annotation.

### HoldData

This type has no fields.
The data for a hold annotation.

### EntityMentionData

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

| JSON representation |
|---|
| ``` { "entityUniqueId": string, "type": enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.MentionType`), "sentiment": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`) } } ``` |

| Fields ||
|---|---|
| `entityUniqueId` | `string` The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| `type` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.MentionType`)`` The type of the entity mention. |
| `sentiment` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`)`` Sentiment expressed for this mention of the entity. |

### MentionType

The supported types of mentions.

| Enums ||
|---|---|
| `MENTION_TYPE_UNSPECIFIED` | Unspecified. |
| `PROPER` | Proper noun. |
| `COMMON` | Common noun (or noun compound). |

### 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.

| JSON representation |
|---|
| ``` { "intentUniqueId": string } ``` |

| Fields ||
|---|---|
| `intentUniqueId` | `string` The id of the matched intent. Can be used to retrieve the corresponding intent information. |

### PhraseMatchData

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

| JSON representation |
|---|
| ``` { "phraseMatcher": string, "displayName": string } ``` |

| Fields ||
|---|---|
| `phraseMatcher` | `string` The unique identifier (the resource name) of the phrase matcher. |
| `displayName` | `string` The human-readable name of the phrase matcher. |

### IssueMatchData

The data for an issue match annotation.

| JSON representation |
|---|
| ``` { "issueAssignment": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment`) } } ``` |

| Fields ||
|---|---|
| `issueAssignment` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment`)`` Information about the issue's assignment. |

### IssueAssignment

Information about the issue.

| JSON representation |
|---|
| ``` { "issue": string, "score": number, "displayName": string } ``` |

| Fields ||
|---|---|
| `issue` | `string` Resource name of the assigned issue. |
| `score` | `number` Score indicating the likelihood of the issue assignment. currently bounded on \[0,1\]. |
| `displayName` | `string` Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. |

### 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.

| JSON representation |
|---|
| ``` { "displayName": string, "type": enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Type`), "metadata": { string: string, ... }, "salience": number, "sentiment": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`) } } ``` |

| Fields ||
|---|---|
| `displayName` | `string` The representative name for the entity. |
| `type` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.Type`)`` The entity type. |
| `metadata` | `map (key: string, value: string)` 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. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `salience` | `number` 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. |
| `sentiment` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`)`` The aggregate sentiment expressed for this entity in the conversation. |

### Type

The type of the entity. For most entity types, the associated metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table below lists the associated fields for entities that have different metadata.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Unspecified. |
| `PERSON` | Person. |
| `LOCATION` | Location. |
| `ORGANIZATION` | Organization. |
| `EVENT` | Event. |
| `WORK_OF_ART` | Artwork. |
| `CONSUMER_GOOD` | Consumer product. |
| `OTHER` | Other types of entities. |
| `PHONE_NUMBER` | Phone number. The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text: - `number` - The actual number, broken down into sections according to local convention. - `national_prefix` - Country code, if detected. - `area_code` - Region or area code, if detected. - `extension` - Phone extension (to be dialed after connection), if detected. |
| `ADDRESS` | Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text: - `street_number` - Street number. - `locality` - City or town. - `street_name` - Street/route name, if detected. - `postal_code` - Postal code, if detected. - `country` - Country, if detected. - `broad_region` - Administrative area, such as the state, if detected. - `narrow_region` - Smaller administrative area, such as county, if detected. - `sublocality` - Used in Asian addresses to demark a district within a city, if detected. |
| `DATE` | Date. The metadata identifies the components of the date: - `year` - Four digit year, if detected. - `month` - Two digit month number, if detected. - `day` - Two digit day number, if detected. |
| `NUMBER` | Number. The metadata is the number itself. |
| `PRICE` | Price. The metadata identifies the `value` and `currency`. |

### ConversationLevelSentiment

One channel of conversation-level sentiment data.

| JSON representation |
|---|
| ``` { "channelTag": integer, "sentimentData": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`) } } ``` |

| Fields ||
|---|---|
| `channelTag` | `integer` The channel of the audio that the data applies to. |
| `sentimentData` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/SentimentData`)`` Data specifying sentiment. |

### ConversationLevelSilence

Conversation-level silence data.

| JSON representation |
|---|
| ``` { "silenceDuration": string, "silencePercentage": number } ``` |

| Fields ||
|---|---|
| `silenceDuration` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` Amount of time calculated to be in silence. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `silencePercentage` | `number` Percentage of the total conversation spent in silence. |

### Intent

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

| JSON representation |
|---|
| ``` { "id": string, "displayName": string } ``` |

| Fields ||
|---|---|
| `id` | `string` The unique identifier of the intent. |
| `displayName` | `string` The human-readable name of the intent. |

### IssueModelResult

Issue Modeling result on a conversation.

| JSON representation |
|---|
| ``` { "issueModel": string, "issues": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment`) } ] } ``` |

| Fields ||
|---|---|
| `issueModel` | `string` Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issueModel} |
| `issues[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.IssueAssignment`)`` All the matched issues. |

### QaScorecardResult

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

| JSON representation |
|---|
| ``` { "name": string, "qaScorecardRevision": string, "conversation": string, "createTime": string, "agentId": string, "qaAnswers": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaAnswer`) } ], "qaTagResults": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult`) } ], "scoreSources": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ScoreSource`) } ], "score": number, "potentialScore": number, "normalizedScore": number } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} |
| `qaScorecardRevision` | `string` The QaScorecardRevision scored by this result. |
| `conversation` | `string` The conversation scored by this result. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp that the revision was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `agentId` | `string` ID of the agent that handled the conversation. |
| `qaAnswers[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaAnswer`)`` Set of QaAnswers represented in the result. |
| `qaTagResults[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult`)`` Collection of tags and their scores. |
| `scoreSources[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.ScoreSource`)`` List of all individual score sets. |
| `score` | `number` The overall numerical score of the result, incorporating any manual edits if they exist. |
| `potentialScore` | `number` The maximum potential overall score of the scorecard. Any questions answered using `naValue` are excluded from this calculation. |
| `normalizedScore` | `number` The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist. |

### QaAnswer

An answer to a QaQuestion.

| JSON representation |
|---|
| ``` { "qaQuestion": string, "conversation": string, "questionBody": string, "answerValue": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnswerValue`) }, "tags": [ string ], "answerSources": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnswerSource`) } ] } ``` |

| Fields ||
|---|---|
| `qaQuestion` | `string` The QaQuestion answered by this answer. |
| `conversation` | `string` The conversation the answer applies to. |
| `questionBody` | `string` Question text. E.g., "Did the agent greet the customer?" |
| `answerValue` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnswerValue`)`` The main answer value, incorporating any manual edits if they exist. |
| `tags[]` | `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. |
| `answerSources[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.AnswerSource`)`` List of all individual answers given to the question. |

### AnswerSource

A question may have multiple answers from varying sources, one of which becomes the "main" answer above. AnswerSource represents each individual answer.

| JSON representation |
|---|
| ``` { "sourceType": enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType`), "answerValue": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnswerValue`) } } ``` |

| Fields ||
|---|---|
| `sourceType` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType`)`` What created the answer. |
| `answerValue` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/AnswerValue`)`` The answer value from this source. |

### SourceType

What created the answer.

| Enums ||
|---|---|
| `SOURCE_TYPE_UNSPECIFIED` | Source type is unspecified. |
| `SYSTEM_GENERATED` | Answer was system-generated; created during an Insights analysis. |
| `MANUAL_EDIT` | Answer was created by a human via manual edit. |

### QaTagResult

Tags and their corresponding results.

| JSON representation |
|---|
| ``` { "tag": string, "score": number, "potentialScore": number, "normalizedScore": number } ``` |

| Fields ||
|---|---|
| `tag` | `string` The tag the score applies to. |
| `score` | `number` The score the tag applies to. |
| `potentialScore` | `number` The potential score the tag applies to. |
| `normalizedScore` | `number` The normalized score the tag applies to. |

### ScoreSource

A scorecard result may have multiple sets of scores from varying sources, one of which becomes the "main" answer above. A ScoreSource represents each individual set of scores.

| JSON representation |
|---|
| ``` { "sourceType": enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType_1`), "qaTagResults": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult`) } ], "score": number, "potentialScore": number, "normalizedScore": number } ``` |

| Fields ||
|---|---|
| `sourceType` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.SourceType_1`)`` What created the score. |
| `qaTagResults[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis.QaTagResult`)`` Collection of tags and their scores. |
| `score` | `number` The overall numerical score of the result. |
| `potentialScore` | `number` The maximum potential overall score of the scorecard. Any questions answered using `naValue` are excluded from this calculation. |
| `normalizedScore` | `number` The normalized score, which is the score divided by the potential score. |

### SourceType

What created the score.

| Enums ||
|---|---|
| `SOURCE_TYPE_UNSPECIFIED` | Source type is unspecified. |
| `SYSTEM_GENERATED_ONLY` | Score is derived only from system-generated answers. |
| `INCLUDES_MANUAL_EDITS` | Score is derived from both system-generated answers, and includes any manual edits if they exist. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses/create` | Creates an analysis. |
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses/delete` | Deletes an analysis. |
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses/get` | Gets an analysis. |
| ### `https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses/list` | Lists analyses. |