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.



2715
2716
2717
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2715

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

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

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

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
  @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)


2697
2698
2699
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2697

def relation_type
  @relation_type
end

#response_statusString

The response status. Corresponds to the JSON property responseStatus

Returns:

  • (String)


2702
2703
2704
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2702

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)


2708
2709
2710
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2708

def status_message
  @status_message
end

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