Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo

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

Metadata for disambiguation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo

Returns a new instance of EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo.



2591
2592
2593
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2591

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

Instance Attribute Details

#disambiguationArray<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson>

A list of people that also matched the query. This list is not complete. Corresponds to the JSON property disambiguation



2581
2582
2583
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2581

def disambiguation
  @disambiguation
end

#nameString

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

Returns:

  • (String)


2589
2590
2591
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2589

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2596
2597
2598
2599
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2596

def update!(**args)
  @disambiguation = args[:disambiguation] if args.key?(:disambiguation)
  @name = args[:name] if args.key?(:name)
end