Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The measure related to conversations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure.



9396
9397
9398
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9396

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#average_agent_sentiment_scoreFloat

The average agent's sentiment score. Corresponds to the JSON property averageAgentSentimentScore

Returns:

  • (Float)


9347
9348
9349
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9347

def average_agent_sentiment_score
  @average_agent_sentiment_score
end

#average_client_sentiment_scoreFloat

The average client's sentiment score. Corresponds to the JSON property averageClientSentimentScore

Returns:

  • (Float)


9352
9353
9354
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9352

def average_client_sentiment_score
  @average_client_sentiment_score
end

#average_customer_satisfaction_ratingFloat

The average customer satisfaction rating. Corresponds to the JSON property averageCustomerSatisfactionRating

Returns:

  • (Float)


9357
9358
9359
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9357

def average_customer_satisfaction_rating
  @average_customer_satisfaction_rating
end

#average_durationString

The average duration. Corresponds to the JSON property averageDuration

Returns:

  • (String)


9362
9363
9364
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9362

def average_duration
  @average_duration
end

#average_qa_normalized_scoreFloat

Average QA normalized score. Will exclude 0's in average calculation. Corresponds to the JSON property averageQaNormalizedScore

Returns:

  • (Float)


9367
9368
9369
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9367

def average_qa_normalized_score
  @average_qa_normalized_score
end

#average_qa_question_normalized_scoreFloat

Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID. Corresponds to the JSON property averageQaQuestionNormalizedScore

Returns:

  • (Float)


9374
9375
9376
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9374

def average_qa_question_normalized_score
  @average_qa_question_normalized_score
end

#average_silence_percentageFloat

The average silence percentage. Corresponds to the JSON property averageSilencePercentage

Returns:

  • (Float)


9379
9380
9381
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9379

def average_silence_percentage
  @average_silence_percentage
end

#average_turn_countFloat

The average turn count. Corresponds to the JSON property averageTurnCount

Returns:

  • (Float)


9384
9385
9386
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9384

def average_turn_count
  @average_turn_count
end

#conversation_countFixnum

The conversation count. Corresponds to the JSON property conversationCount

Returns:

  • (Fixnum)


9389
9390
9391
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9389

def conversation_count
  @conversation_count
end

#qa_tag_scoresArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>

Average QA normalized score for all the tags. Corresponds to the JSON property qaTagScores



9394
9395
9396
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9394

def qa_tag_scores
  @qa_tag_scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9401

def update!(**args)
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
  @average_duration = args[:average_duration] if args.key?(:average_duration)
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
  @average_silence_percentage = args[:average_silence_percentage] if args.key?(:average_silence_percentage)
  @average_turn_count = args[:average_turn_count] if args.key?(:average_turn_count)
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
  @qa_tag_scores = args[:qa_tag_scores] if args.key?(:qa_tag_scores)
end