Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_infoGoogle::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

#headerGoogle::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

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
  @related_people
end

#relation_typeString

Defines the type of relation the list of people have with the subject of the card. Corresponds to the JSON property relationType

Returns:

  • (String)


2730
2731
2732
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2730

def relation_type
  @relation_type
end

#response_statusString

The response status. Corresponds to the JSON property responseStatus

Returns:

  • (String)


2735
2736
2737
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2735

def response_status
  @response_status
end

#status_messageString

Localized user friendly message to display to the user in the case of missing data or an error. Corresponds to the JSON property statusMessage

Returns:

  • (String)


2741
2742
2743
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2741

def status_message
  @status_message
end

#subjectGoogle::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