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.
2521 2522 2523 |
# File 'lib/google/apis/people_v1/classes.rb', line 2521 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
2509 2510 2511 |
# File 'lib/google/apis/people_v1/classes.rb', line 2509 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
2514 2515 2516 |
# File 'lib/google/apis/people_v1/classes.rb', line 2514 def people @people end |
#total_size ⇒ Fixnum
The total number of items in the list without pagination.
Corresponds to the JSON property totalSize
2519 2520 2521 |
# File 'lib/google/apis/people_v1/classes.rb', line 2519 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2526 2527 2528 2529 2530 |
# File 'lib/google/apis/people_v1/classes.rb', line 2526 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 |