Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson
- 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
A person that also matches the query, but was not selected due to a lower affinity with the requesting user.
Instance Attribute Summary collapse
-
#person ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
-
#query ⇒ String
The query that can be used to produce an answer card with the same attribute, but for this person.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson
constructor
A new instance of EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson
Returns a new instance of EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson.
2587 2588 2589 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#person ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property person
2579 2580 2581 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2579 def person @person end |
#query ⇒ String
The query that can be used to produce an answer card with the same attribute,
but for this person.
Corresponds to the JSON property query
2585 2586 2587 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2585 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2592 2593 2594 2595 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2592 def update!(**args) @person = args[:person] if args.key?(:person) @query = args[:query] if args.key?(:query) end |