Google Cloud Contact Center Insights V1 Client - Class Dimension (2.2.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class 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.

Generated from protobuf message google.cloud.contactcenterinsights.v1.Dimension

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ issue_dimension_metadata Dimension\IssueDimensionMetadata

Output only. Metadata about the issue dimension.

↳ agent_dimension_metadata Dimension\AgentDimensionMetadata

Output only. Metadata about the agent dimension.

↳ qa_question_dimension_metadata Dimension\QaQuestionDimensionMetadata

Output only. Metadata about the QA question dimension.

↳ qa_question_answer_dimension_metadata Dimension\QaQuestionAnswerDimensionMetadata

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

↳ dimension_key int

The key of the dimension.

getIssueDimensionMetadata

Output only. Metadata about the issue dimension.

Returns
Type Description
Dimension\IssueDimensionMetadata|null

hasIssueDimensionMetadata

setIssueDimensionMetadata

Output only. Metadata about the issue dimension.

Parameter
Name Description
var Dimension\IssueDimensionMetadata
Returns
Type Description
$this

getAgentDimensionMetadata

Output only. Metadata about the agent dimension.

Returns
Type Description
Dimension\AgentDimensionMetadata|null

hasAgentDimensionMetadata

setAgentDimensionMetadata

Output only. Metadata about the agent dimension.

Parameter
Name Description
var Dimension\AgentDimensionMetadata
Returns
Type Description
$this

getQaQuestionDimensionMetadata

Output only. Metadata about the QA question dimension.

Returns
Type Description
Dimension\QaQuestionDimensionMetadata|null

hasQaQuestionDimensionMetadata

setQaQuestionDimensionMetadata

Output only. Metadata about the QA question dimension.

Parameter
Name Description
var Dimension\QaQuestionDimensionMetadata
Returns
Type Description
$this

getQaQuestionAnswerDimensionMetadata

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

Returns
Type Description
Dimension\QaQuestionAnswerDimensionMetadata|null

hasQaQuestionAnswerDimensionMetadata

setQaQuestionAnswerDimensionMetadata

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

Parameter
Name Description
var Dimension\QaQuestionAnswerDimensionMetadata
Returns
Type Description
$this

getDimensionKey

The key of the dimension.

Returns
Type Description
int

setDimensionKey

The key of the dimension.

Parameter
Name Description
var int
Returns
Type Description
$this

getDimensionMetadata

Returns
Type Description
string