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.
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.
1508 1509 1510 |
# File 'generated/google/apis/people_v1/classes.rb', line 1508 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
1496 1497 1498 |
# File 'generated/google/apis/people_v1/classes.rb', line 1496 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
1501 1502 1503 |
# File 'generated/google/apis/people_v1/classes.rb', line 1501 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
1506 1507 1508 |
# File 'generated/google/apis/people_v1/classes.rb', line 1506 def next_sync_token @next_sync_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1513 1514 1515 1516 1517 |
# File 'generated/google/apis/people_v1/classes.rb', line 1513 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) end |