Class: Google::Apis::CloudsearchV1::PeopleSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PeopleSuggestion
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
A people suggestion.
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PeopleSuggestion
Returns a new instance of PeopleSuggestion
2484 2485 2486 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2484 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
2482 2483 2484 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2482 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2489 2490 2491 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2489 def update!(**args) @person = args[:person] if args.key?(:person) end |