Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerList
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
A list of answers represented as free text.
Instance Attribute Summary collapse
-
#labeled_answer ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer>
Answers that have a corresponding label.
-
#type ⇒ String
Answer type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickAnswerAnswerList
constructor
A new instance of EnterpriseTopazSidekickAnswerAnswerList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickAnswerAnswerList
Returns a new instance of EnterpriseTopazSidekickAnswerAnswerList.
1463 1464 1465 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labeled_answer ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer>
Answers that have a corresponding label.
Corresponds to the JSON property labeledAnswer
1456 1457 1458 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1456 def labeled_answer @labeled_answer end |
#type ⇒ String
Answer type.
Corresponds to the JSON property type
1461 1462 1463 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1461 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1468 1469 1470 1471 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1468 def update!(**args) @labeled_answer = args[:labeled_answer] if args.key?(:labeled_answer) @type = args[:type] if args.key?(:type) end |