Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard
- 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
An answer card for a single person.
Instance Attribute Summary collapse
-
#answer ⇒ Array<Google::Apis::CloudsearchV1::SafeHtmlProto>
List of answers.
-
#answer_text ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerList
A list of answers represented as free text.
-
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
-
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
-
#response_status ⇒ String
The response status.
-
#status_message ⇒ String
Localized user friendly message to display to the user in the case of missing data or an error.
-
#subject ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard
constructor
A new instance of EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard
Returns a new instance of EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard.
2657 2658 2659 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer ⇒ Array<Google::Apis::CloudsearchV1::SafeHtmlProto>
List of answers.
Corresponds to the JSON property answer
2624 2625 2626 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2624 def answer @answer end |
#answer_text ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerAnswerList
A list of answers represented as free text.
Corresponds to the JSON property answerText
2629 2630 2631 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2629 def answer_text @answer_text end |
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
Corresponds to the JSON property disambiguationInfo
2634 2635 2636 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2634 def disambiguation_info @disambiguation_info end |
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
Corresponds to the JSON property header
2639 2640 2641 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2639 def header @header end |
#response_status ⇒ String
The response status.
Corresponds to the JSON property responseStatus
2644 2645 2646 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2644 def response_status @response_status end |
#status_message ⇒ String
Localized user friendly message to display to the user in the case of missing
data or an error.
Corresponds to the JSON property statusMessage
2650 2651 2652 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2650 def @status_message end |
#subject ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property subject
2655 2656 2657 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2655 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2662 def update!(**args) @answer = args[:answer] if args.key?(:answer) @answer_text = args[:answer_text] if args.key?(:answer_text) @disambiguation_info = args[:disambiguation_info] if args.key?(:disambiguation_info) @header = args[:header] if args.key?(:header) @response_status = args[:response_status] if args.key?(:response_status) @status_message = args[:status_message] if args.key?(:status_message) @subject = args[:subject] if args.key?(:subject) end |