Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata

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) ⇒ GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata

Returns a new instance of GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata.



19151
19152
19153
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19151

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)


19134
19135
19136
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19134

def answer_value
  @answer_value
end

#qa_question_idString

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

Returns:

  • (String)


19139
19140
19141
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19139

def qa_question_id
  @qa_question_id
end

#qa_scorecard_idString

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

Returns:

  • (String)


19144
19145
19146
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19144

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)


19149
19150
19151
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19149

def question_body
  @question_body
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19156
19157
19158
19159
19160
19161
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 19156

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