Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata.



11987
11988
11989
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11987

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

Instance Attribute Details

#answer_valueString

Optional. The full body of the question. Corresponds to the JSON property answerValue

Returns:

  • (String)


11970
11971
11972
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11970

def answer_value
  @answer_value
end

#qa_question_idString

Optional. The QA question ID. Corresponds to the JSON property qaQuestionId

Returns:

  • (String)


11975
11976
11977
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11975

def qa_question_id
  @qa_question_id
end

#qa_scorecard_idString

Optional. The QA scorecard ID. Corresponds to the JSON property qaScorecardId

Returns:

  • (String)


11980
11981
11982
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11980

def qa_scorecard_id
  @qa_scorecard_id
end

#question_bodyString

Optional. The full body of the question. Corresponds to the JSON property questionBody

Returns:

  • (String)


11985
11986
11987
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11985

def question_body
  @question_body
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11992
11993
11994
11995
11996
11997
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11992

def update!(**args)
  @answer_value = args[:answer_value] if args.key?(:answer_value)
  @qa_question_id = args[:qa_question_id] if args.key?(:qa_question_id)
  @qa_scorecard_id = args[:qa_scorecard_id] if args.key?(:qa_scorecard_id)
  @question_body = args[:question_body] if args.key?(:question_body)
end