Class: Google::Apis::PeopleV1::SearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::SearchResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/people_v1/classes.rb,
lib/google/apis/people_v1/representations.rb,
lib/google/apis/people_v1/representations.rb
Overview
The response to a search request for the authenticated user, given a query.
Instance Attribute Summary collapse
-
#results ⇒ Array<Google::Apis::PeopleV1::SearchResult>
The results of the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchResponse
constructor
A new instance of SearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchResponse
Returns a new instance of SearchResponse.
2559 2560 2561 |
# File 'lib/google/apis/people_v1/classes.rb', line 2559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#results ⇒ Array<Google::Apis::PeopleV1::SearchResult>
The results of the request.
Corresponds to the JSON property results
2557 2558 2559 |
# File 'lib/google/apis/people_v1/classes.rb', line 2557 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2564 2565 2566 |
# File 'lib/google/apis/people_v1/classes.rb', line 2564 def update!(**args) @results = args[:results] if args.key?(:results) end |