Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard
- 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 list of people that are related to the subject of the query.
Instance Attribute Summary collapse
-
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
-
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
-
#related_people ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson>
A list of people that are related to the query subject.
-
#relation_type ⇒ String
Defines the type of relation the list of people have with the subject of 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) ⇒ EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard
constructor
A new instance of EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard
Returns a new instance of EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard.
2748 2749 2750 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
Corresponds to the JSON property disambiguationInfo
2714 2715 2716 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2714 def disambiguation_info @disambiguation_info end |
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
Corresponds to the JSON property header
2719 2720 2721 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2719 def header @header end |
#related_people ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson>
A list of people that are related to the query subject.
Corresponds to the JSON property relatedPeople
2724 2725 2726 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2724 def @related_people end |
#relation_type ⇒ String
Defines the type of relation the list of people have with the subject of the
card.
Corresponds to the JSON property relationType
2730 2731 2732 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2730 def relation_type @relation_type end |
#response_status ⇒ String
The response status.
Corresponds to the JSON property responseStatus
2735 2736 2737 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2735 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
2741 2742 2743 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2741 def @status_message end |
#subject ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property subject
2746 2747 2748 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2746 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2753 2754 2755 2756 2757 2758 2759 2760 2761 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2753 def update!(**args) @disambiguation_info = args[:disambiguation_info] if args.key?(:disambiguation_info) @header = args[:header] if args.key?(:header) @related_people = args[:related_people] if args.key?(:related_people) @relation_type = args[:relation_type] if args.key?(:relation_type) @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 |