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.
2746 2747 2748 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
Corresponds to the JSON property disambiguationInfo
2712 2713 2714 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2712 def disambiguation_info @disambiguation_info end |
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
Corresponds to the JSON property header
2717 2718 2719 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2717 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
2722 2723 2724 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2722 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
2728 2729 2730 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2728 def relation_type @relation_type end |
#response_status ⇒ String
The response status.
Corresponds to the JSON property responseStatus
2733 2734 2735 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2733 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
2739 2740 2741 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2739 def @status_message end |
#subject ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property subject
2744 2745 2746 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2744 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2751 2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2751 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 |