Dimension

A dimension determines the grouping key for the query. In SQL terms, these would be part of both the "SELECT" and "GROUP BY" clauses.

JSON representation
{
  "dimensionKey": enum (DimensionKey),

  // Union field dimension_metadata can be only one of the following:
  "issueDimensionMetadata": {
    object (IssueDimensionMetadata)
  },
  "agentDimensionMetadata": {
    object (AgentDimensionMetadata)
  },
  "qaQuestionDimensionMetadata": {
    object (QaQuestionDimensionMetadata)
  },
  "qaQuestionAnswerDimensionMetadata": {
    object (QaQuestionAnswerDimensionMetadata)
  }
  // End of list of possible types for union field dimension_metadata.
}
Fields
dimensionKey

enum (DimensionKey)

The key of the dimension.

Union field dimension_metadata. Output-only metadata about the dimension. dimension_metadata can be only one of the following:
issueDimensionMetadata

object (IssueDimensionMetadata)

Output only. Metadata about the issue dimension.

agentDimensionMetadata

object (AgentDimensionMetadata)

Output only. Metadata about the agent dimension.

qaQuestionDimensionMetadata

object (QaQuestionDimensionMetadata)

Output only. Metadata about the QA question dimension.

qaQuestionAnswerDimensionMetadata

object (QaQuestionAnswerDimensionMetadata)

Output only. Metadata about the QA question-answer dimension.

IssueDimensionMetadata

Metadata about the issue dimension.

JSON representation
{
  "issueId": string,
  "issueDisplayName": string,
  "issueModelId": string
}
Fields
issueId

string

The issue ID.

issueDisplayName

string

The issue display name.

issueModelId

string

The parent issue model ID.

AgentDimensionMetadata

Metadata about the agent dimension.

JSON representation
{
  "agentId": string,
  "agentDisplayName": string,
  "agentTeam": string
}
Fields
agentId

string

Optional. A user-specified string representing the agent.

agentDisplayName

string

Optional. The agent's name

agentTeam

string

Optional. A user-specified string representing the agent's team.

QaQuestionDimensionMetadata

Metadata about the QA question dimension.

JSON representation
{
  "qaScorecardId": string,
  "qaQuestionId": string,
  "questionBody": string
}
Fields
qaScorecardId

string

Optional. The QA scorecard ID.

qaQuestionId

string

Optional. The QA question ID.

questionBody

string

Optional. The full body of the question.

QaQuestionAnswerDimensionMetadata

Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.

JSON representation
{
  "qaScorecardId": string,
  "qaQuestionId": string,
  "questionBody": string,
  "answerValue": string
}
Fields
qaScorecardId

string

Optional. The QA scorecard ID.

qaQuestionId

string

Optional. The QA question ID.

questionBody

string

Optional. The full body of the question.

answerValue

string

Optional. The full body of the question.

DimensionKey

The key of the dimension.

Enums
DIMENSION_KEY_UNSPECIFIED The key of the dimension is unspecified.
ISSUE The dimension is keyed by issues.
ISSUE_NAME The dimension is keyed by issue names.
AGENT The dimension is keyed by agents.
AGENT_TEAM The dimension is keyed by agent teams.
QA_QUESTION_ID The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.
QA_QUESTION_ANSWER_VALUE The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.
CONVERSATION_PROFILE_ID The dimension is keyed by the conversation profile ID.
MEDIUM The dimension is keyed by the conversation medium.