Class: Google::Apis::PlusV1::ActivityFeed
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::ActivityFeed
- 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.
-
#id ⇒ String
The ID of this collection of activities.
-
#items ⇒ Array<Google::Apis::PlusV1::Activity>
The activities in this page of results.
-
#kind ⇒ String
Identifies this resource as a collection of activities.
-
#next_link ⇒ String
Link to the next page of activities.
-
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#self_link ⇒ String
Link to this activity resource.
-
#title ⇒ String
The title of this collection of activities, which is a truncated portion of the content.
-
#updated ⇒ DateTime
The time at which this collection of activities was last updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActivityFeed
constructor
A new instance of ActivityFeed.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ActivityFeed
Returns a new instance of ActivityFeed
950 951 952 |
# File 'generated/google/apis/plus_v1/classes.rb', line 950 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of this response for caching purposes.
Corresponds to the JSON property etag
904 905 906 |
# File 'generated/google/apis/plus_v1/classes.rb', line 904 def etag @etag end |
#id ⇒ String
The ID of this collection of activities. Deprecated.
Corresponds to the JSON property id
909 910 911 |
# File 'generated/google/apis/plus_v1/classes.rb', line 909 def id @id end |
#items ⇒ Array<Google::Apis::PlusV1::Activity>
The activities in this page of results.
Corresponds to the JSON property items
914 915 916 |
# File 'generated/google/apis/plus_v1/classes.rb', line 914 def items @items end |
#kind ⇒ String
Identifies this resource as a collection of activities. Value: "plus#
activityFeed".
Corresponds to the JSON property kind
920 921 922 |
# File 'generated/google/apis/plus_v1/classes.rb', line 920 def kind @kind end |
#next_link ⇒ String
Link to the next page of activities.
Corresponds to the JSON property nextLink
925 926 927 |
# File 'generated/google/apis/plus_v1/classes.rb', line 925 def next_link @next_link 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
931 932 933 |
# File 'generated/google/apis/plus_v1/classes.rb', line 931 def next_page_token @next_page_token end |
#self_link ⇒ String
Link to this activity resource.
Corresponds to the JSON property selfLink
936 937 938 |
# File 'generated/google/apis/plus_v1/classes.rb', line 936 def self_link @self_link end |
#title ⇒ String
The title of this collection of activities, which is a truncated portion of
the content.
Corresponds to the JSON property title
942 943 944 |
# File 'generated/google/apis/plus_v1/classes.rb', line 942 def title @title end |
#updated ⇒ DateTime
The time at which this collection of activities was last updated. Formatted as
an RFC 3339 timestamp.
Corresponds to the JSON property updated
948 949 950 |
# File 'generated/google/apis/plus_v1/classes.rb', line 948 def updated @updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
955 956 957 958 959 960 961 962 963 964 965 |
# File 'generated/google/apis/plus_v1/classes.rb', line 955 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_link = args[:next_link] if args.key?(:next_link) @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) @updated = args[:updated] if args.key?(:updated) end |