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.
2715 2716 2717 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disambiguation_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Metadata for disambiguation.
Corresponds to the JSON property disambiguationInfo
2681 2682 2683 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2681 def disambiguation_info @disambiguation_info end |
#header ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
Recommended header to display for the card.
Corresponds to the JSON property header
2686 2687 2688 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2686 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
2691 2692 2693 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2691 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
2697 2698 2699 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2697 def relation_type @relation_type end |
#response_status ⇒ String
The response status.
Corresponds to the JSON property responseStatus
2702 2703 2704 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2702 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
2708 2709 2710 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2708 def @status_message end |
#subject ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property subject
2713 2714 2715 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2713 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2720 2721 2722 2723 2724 2725 2726 2727 2728 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2720 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 |