Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
- 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
Metadata for disambiguation.
Instance Attribute Summary collapse
-
#disambiguation ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson>
A list of people that also matched the query.
-
#name ⇒ String
The name that was extracted from the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
constructor
A new instance of EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
Returns a new instance of EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo.
2560 2561 2562 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disambiguation ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson>
A list of people that also matched the query. This list is not complete.
Corresponds to the JSON property disambiguation
2550 2551 2552 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2550 def disambiguation @disambiguation end |
#name ⇒ String
The name that was extracted from the query. This may be in the form of the
given name, last name, full name, LDAP, or email address. This name can be
considered suitable for displaying to the user and can largely be considered
to be normalized (e.g. "Bob's" -> "Bob").
Corresponds to the JSON property name
2558 2559 2560 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2558 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2565 2566 2567 2568 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2565 def update!(**args) @disambiguation = args[:disambiguation] if args.key?(:disambiguation) @name = args[:name] if args.key?(:name) end |