class Google::Apis::PeopleV1::ListConnectionsResponse

The response to a request for the authenticated user's connections.

Attributes

connections[RW]

The list of people that the requestor is connected to. Corresponds to the JSON property `connections` @return [Array<Google::Apis::PeopleV1::Person>]

next_page_token[RW]

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` @return [String]

next_sync_token[RW]

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. When the response is paginated, only the last page will contain `nextSyncToken`. Corresponds to the JSON property `nextSyncToken` @return [String]

total_items[RW]

The total number of items in the list without pagination. Corresponds to the JSON property `totalItems` @return [Fixnum]

total_people[RW]

DEPRECATED (Please use totalItems) The total number of people in the list without pagination. Corresponds to the JSON property `totalPeople` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 1275
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/people_v1/classes.rb, line 1280
def update!(**args)
  @connections = args[:connections] if args.key?(:connections)
  @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)
  @total_items = args[:total_items] if args.key?(:total_items)
  @total_people = args[:total_people] if args.key?(:total_people)
end