Class: Google::Apis::CloudsearchV1::PeopleSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PeopleSuggestion
- 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
This field contains information about the person being suggested.
Instance Attribute Summary collapse
-
#person ⇒ Google::Apis::CloudsearchV1::Person
Object to represent a person.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PeopleSuggestion
constructor
A new instance of PeopleSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PeopleSuggestion
Returns a new instance of PeopleSuggestion.
2767 2768 2769 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#person ⇒ Google::Apis::CloudsearchV1::Person
Object to represent a person.
Corresponds to the JSON property person
2765 2766 2767 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2765 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2772 2773 2774 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2772 def update!(**args) @person = args[:person] if args.key?(:person) end |