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.
1496 1497 1498 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1496 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
1489 1490 1491 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1489 def labeled_answer @labeled_answer end |
#type ⇒ String
Answer type.
Corresponds to the JSON property type
1494 1495 1496 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1494 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1501 1502 1503 1504 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1501 def update!(**args) @labeled_answer = args[:labeled_answer] if args.key?(:labeled_answer) @type = args[:type] if args.key?(:type) end |