Class: Google::Apis::PeopleV1::ListOtherContactsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb

Overview

The response to a request for the authenticated user's "Other contacts".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOtherContactsResponse

Returns a new instance of ListOtherContactsResponse.



1153
1154
1155
# File 'generated/google/apis/people_v1/classes.rb', line 1153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1138
1139
1140
# File 'generated/google/apis/people_v1/classes.rb', line 1138

def next_page_token
  @next_page_token
end

#next_sync_tokenString

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

Returns:

  • (String)


1144
1145
1146
# File 'generated/google/apis/people_v1/classes.rb', line 1144

def next_sync_token
  @next_sync_token
end

#other_contactsArray<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

Returns:



1151
1152
1153
# File 'generated/google/apis/people_v1/classes.rb', line 1151

def other_contacts
  @other_contacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1158
1159
1160
1161
1162
# File 'generated/google/apis/people_v1/classes.rb', line 1158

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)
end