Class: Google::Apis::PeopleV1::ListContactGroupsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ListContactGroupsResponse
- 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 list contact groups request.
Instance Attribute Summary collapse
-
#contact_groups ⇒ Array<Google::Apis::PeopleV1::ContactGroup>
The list of contact groups.
-
#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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListContactGroupsResponse
constructor
A new instance of ListContactGroupsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListContactGroupsResponse
Returns a new instance of ListContactGroupsResponse.
1314 1315 1316 |
# File 'lib/google/apis/people_v1/classes.rb', line 1314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_groups ⇒ Array<Google::Apis::PeopleV1::ContactGroup>
The list of contact groups. Members of the contact groups are not populated.
Corresponds to the JSON property contactGroups
1297 1298 1299 |
# File 'lib/google/apis/people_v1/classes.rb', line 1297 def contact_groups @contact_groups end |
#next_page_token ⇒ String
The token that can be used to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1302 1303 1304 |
# File 'lib/google/apis/people_v1/classes.rb', line 1302 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
1307 1308 1309 |
# File 'lib/google/apis/people_v1/classes.rb', line 1307 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
1312 1313 1314 |
# File 'lib/google/apis/people_v1/classes.rb', line 1312 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1319 1320 1321 1322 1323 1324 |
# File 'lib/google/apis/people_v1/classes.rb', line 1319 def update!(**args) @contact_groups = args[:contact_groups] if args.key?(:contact_groups) @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) end |