Class: Google::Apis::PeopleV1::SearchDirectoryPeopleResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::SearchDirectoryPeopleResponse
- 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 request for people in the authenticated user's domain directory that match the specified query.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#people ⇒ Array<Google::Apis::PeopleV1::Person>
The list of people in the domain directory that match the query.
-
#total_size ⇒ Fixnum
The total number of items in the list without pagination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchDirectoryPeopleResponse
constructor
A new instance of SearchDirectoryPeopleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchDirectoryPeopleResponse
Returns a new instance of SearchDirectoryPeopleResponse.
2326 2327 2328 |
# File 'lib/google/apis/people_v1/classes.rb', line 2326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
2314 2315 2316 |
# File 'lib/google/apis/people_v1/classes.rb', line 2314 def next_page_token @next_page_token end |
#people ⇒ Array<Google::Apis::PeopleV1::Person>
The list of people in the domain directory that match the query.
Corresponds to the JSON property people
2319 2320 2321 |
# File 'lib/google/apis/people_v1/classes.rb', line 2319 def people @people end |
#total_size ⇒ Fixnum
The total number of items in the list without pagination.
Corresponds to the JSON property totalSize
2324 2325 2326 |
# File 'lib/google/apis/people_v1/classes.rb', line 2324 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2331 2332 2333 2334 2335 |
# File 'lib/google/apis/people_v1/classes.rb', line 2331 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @people = args[:people] if args.key?(:people) @total_size = args[:total_size] if args.key?(:total_size) end |