Class: Google::Apis::PeopleV1::ListOtherContactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ListOtherContactsResponse
- 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 the authenticated user's "Other contacts".
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#next_sync_token ⇒ String
A token, which can be sent as
sync_token
to retrieve changes since the last request. -
#other_contacts ⇒ Array<Google::Apis::PeopleV1::Person>
The list of "Other contacts" returned as Person resources.
-
#total_size ⇒ Fixnum
The total number of other contacts in the list without pagination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListOtherContactsResponse
constructor
A new instance of ListOtherContactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListOtherContactsResponse
Returns a new instance of ListOtherContactsResponse.
1388 1389 1390 |
# File 'lib/google/apis/people_v1/classes.rb', line 1388 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
1368 1369 1370 |
# File 'lib/google/apis/people_v1/classes.rb', line 1368 def next_page_token @next_page_token end |
#next_sync_token ⇒ String
A token, which can be sent as sync_token
to retrieve changes since the last
request. Request must set request_sync_token
to return the sync token.
Corresponds to the JSON property nextSyncToken
1374 1375 1376 |
# File 'lib/google/apis/people_v1/classes.rb', line 1374 def next_sync_token @next_sync_token end |
#other_contacts ⇒ Array<Google::Apis::PeopleV1::Person>
The list of "Other contacts" returned as Person resources. "Other contacts"
support a limited subset of fields. See ListOtherContactsRequest.request_mask
for more detailed information.
Corresponds to the JSON property otherContacts
1381 1382 1383 |
# File 'lib/google/apis/people_v1/classes.rb', line 1381 def other_contacts @other_contacts end |
#total_size ⇒ Fixnum
The total number of other contacts in the list without pagination.
Corresponds to the JSON property totalSize
1386 1387 1388 |
# File 'lib/google/apis/people_v1/classes.rb', line 1386 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1393 1394 1395 1396 1397 1398 |
# File 'lib/google/apis/people_v1/classes.rb', line 1393 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) @other_contacts = args[:other_contacts] if args.key?(:other_contacts) @total_size = args[:total_size] if args.key?(:total_size) end |