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_token
to 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.
2538 2539 2540 |
# File 'lib/google/apis/people_v1/classes.rb', line 2538 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
2526 2527 2528 |
# File 'lib/google/apis/people_v1/classes.rb', line 2526 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
2531 2532 2533 |
# File 'lib/google/apis/people_v1/classes.rb', line 2531 def people @people end |
#total_size ⇒ Fixnum
The total number of items in the list without pagination.
Corresponds to the JSON property totalSize
2536 2537 2538 |
# File 'lib/google/apis/people_v1/classes.rb', line 2536 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2543 2544 2545 2546 2547 |
# File 'lib/google/apis/people_v1/classes.rb', line 2543 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 |