Class: Google::Apis::AppsactivityV1::ListActivitiesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AppsactivityV1::ListActivitiesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsactivity_v1/classes.rb,
generated/google/apis/appsactivity_v1/representations.rb,
generated/google/apis/appsactivity_v1/representations.rb
Overview
The response from the list request. Contains a list of activities and a token to retrieve the next page of results.
Instance Attribute Summary collapse
-
#activities ⇒ Array<Google::Apis::AppsactivityV1::Activity>
List of activities.
-
#next_page_token ⇒ String
Token for the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListActivitiesResponse
constructor
A new instance of ListActivitiesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListActivitiesResponse
Returns a new instance of ListActivitiesResponse
139 140 141 |
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activities ⇒ Array<Google::Apis::AppsactivityV1::Activity>
List of activities.
Corresponds to the JSON property activities
132 133 134 |
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 132 def activities @activities end |
#next_page_token ⇒ String
Token for the next page of results.
Corresponds to the JSON property nextPageToken
137 138 139 |
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 137 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
144 145 146 147 |
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 144 def update!(**args) @activities = args[:activities] if args.key?(:activities) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |