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.
2620 2621 2622 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2620 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
2612 2613 2614 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2612 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
2618 2619 2620 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2618 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2625 2626 2627 2628 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2625 def update!(**args) @person = args[:person] if args.key?(:person) @query = args[:query] if args.key?(:query) end |