Class: Google::Apis::PeopleV1::ListConnectionsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PeopleV1::ListConnectionsResponse
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #connections  ⇒ Array<Google::Apis::PeopleV1::Person> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of people that the requestor is connected to. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The token that can be used to retrieve the next page of results. 
- 
  
    
      #next_sync_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The token that can be used to retrieve changes since the last request. 
- 
  
    
      #total_items  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of items in the list without pagination. 
- 
  
    
      #total_people  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DEPRECATED (Please use totalItems) The total number of people in the list without pagination. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListConnectionsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListConnectionsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListConnectionsResponse
Returns a new instance of ListConnectionsResponse
| 891 892 893 | # File 'generated/google/apis/people_v1/classes.rb', line 891 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#connections ⇒ Array<Google::Apis::PeopleV1::Person>
The list of people that the requestor is connected to.
Corresponds to the JSON property connections
| 868 869 870 | # File 'generated/google/apis/people_v1/classes.rb', line 868 def connections @connections end | 
#next_page_token ⇒ String
The token that can be used to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
| 873 874 875 | # File 'generated/google/apis/people_v1/classes.rb', line 873 def next_page_token @next_page_token end | 
#next_sync_token ⇒ String
The token that can be used to retrieve changes since the last request.
Corresponds to the JSON property nextSyncToken
| 878 879 880 | # File 'generated/google/apis/people_v1/classes.rb', line 878 def next_sync_token @next_sync_token end | 
#total_items ⇒ Fixnum
The total number of items in the list without pagination.
Corresponds to the JSON property totalItems
| 883 884 885 | # File 'generated/google/apis/people_v1/classes.rb', line 883 def total_items @total_items end | 
#total_people ⇒ Fixnum
DEPRECATED (Please use totalItems)
The total number of people in the list without pagination.
Corresponds to the JSON property totalPeople
| 889 890 891 | # File 'generated/google/apis/people_v1/classes.rb', line 889 def total_people @total_people end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 896 897 898 899 900 901 902 | # File 'generated/google/apis/people_v1/classes.rb', line 896 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 |