Class: Google::Apis::PlusV1::PeopleFeed
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::PeopleFeed
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of this response for caching purposes.
-
#items ⇒ Array<Google::Apis::PlusV1::Person>
The people in this page of results.
-
#kind ⇒ String
Identifies this resource as a collection of people.
-
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#self_link ⇒ String
Link to this resource.
-
#title ⇒ String
The title of this collection of people.
-
#total_items ⇒ Fixnum
The total number of people available in this list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PeopleFeed
constructor
A new instance of PeopleFeed.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PeopleFeed
Returns a new instance of PeopleFeed
1364 1365 1366 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of this response for caching purposes.
Corresponds to the JSON property etag
1327 1328 1329 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1327 def etag @etag end |
#items ⇒ Array<Google::Apis::PlusV1::Person>
The people in this page of results. Each item includes the id, displayName,
image, and url for the person. To retrieve additional profile data, see the
people.get method.
Corresponds to the JSON property items
1334 1335 1336 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1334 def items @items end |
#kind ⇒ String
Identifies this resource as a collection of people. Value: "plus#peopleFeed".
Corresponds to the JSON property kind
1339 1340 1341 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1339 def kind @kind end |
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
Provide this value in a subsequent request to return the next page of results.
Corresponds to the JSON property nextPageToken
1345 1346 1347 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1345 def next_page_token @next_page_token end |
#self_link ⇒ String
Link to this resource.
Corresponds to the JSON property selfLink
1350 1351 1352 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1350 def self_link @self_link end |
#title ⇒ String
The title of this collection of people.
Corresponds to the JSON property title
1355 1356 1357 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1355 def title @title end |
#total_items ⇒ Fixnum
The total number of people available in this list. The number of people in a
response might be smaller due to paging. This might not be set for all
collections.
Corresponds to the JSON property totalItems
1362 1363 1364 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1362 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1369 1370 1371 1372 1373 1374 1375 1376 1377 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1369 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) @title = args[:title] if args.key?(:title) @total_items = args[:total_items] if args.key?(:total_items) end |