Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata
- 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
-
#answer_value ⇒ String
Optional.
-
#qa_question_id ⇒ String
Optional.
-
#qa_scorecard_id ⇒ String
Optional.
-
#question_body ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata
constructor
A new instance of GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata
Returns a new instance of GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata.
4555 4556 4557 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_value ⇒ String
Optional. The full body of the question.
Corresponds to the JSON property answerValue
4538 4539 4540 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4538 def answer_value @answer_value end |
#qa_question_id ⇒ String
Optional. The QA question ID.
Corresponds to the JSON property qaQuestionId
4543 4544 4545 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4543 def qa_question_id @qa_question_id end |
#qa_scorecard_id ⇒ String
Optional. The QA scorecard ID.
Corresponds to the JSON property qaScorecardId
4548 4549 4550 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4548 def qa_scorecard_id @qa_scorecard_id end |
#question_body ⇒ String
Optional. The full body of the question.
Corresponds to the JSON property questionBody
4553 4554 4555 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4553 def question_body @question_body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4560 4561 4562 4563 4564 4565 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4560 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 |