Class: Google::Apis::AdminReportsV1::Activities
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::Activities
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Overview
JSON template for a collection of activities.
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#items ⇒ Array<Google::Apis::AdminReportsV1::Activity>
Each activity record in the response.
-
#kind ⇒ String
The type of API resource.
-
#next_page_token ⇒ String
Token for retrieving the follow-on next page of the report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Activities
constructor
A new instance of Activities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Activities
Returns a new instance of Activities.
51 52 53 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 51 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
32 33 34 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 32 def etag @etag end |
#items ⇒ Array<Google::Apis::AdminReportsV1::Activity>
Each activity record in the response.
Corresponds to the JSON property items
37 38 39 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 37 def items @items end |
#kind ⇒ String
The type of API resource. For an activity report, the value is reports#
activities
.
Corresponds to the JSON property kind
43 44 45 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 43 def kind @kind end |
#next_page_token ⇒ String
Token for retrieving the follow-on next page of the report. The nextPageToken
value is used in the request's pageToken
query string.
Corresponds to the JSON property nextPageToken
49 50 51 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 49 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
56 57 58 59 60 61 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 56 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) end |