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.



2593
2594
2595
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2593

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



2583
2584
2585
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2583

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)


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

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2598
2599
2600
2601
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2598

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