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 activites.
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#items ⇒ Array<Google::Apis::AdminReportsV1::Activity>
Each record in read response.
-
#kind ⇒ String
Kind of list response this is.
-
#next_page_token ⇒ String
Token for retrieving the next page Corresponds to the JSON property
nextPageToken
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Activities
constructor
A new instance of Activities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Activities
Returns a new instance of Activities
49 50 51 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 49 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 record in read 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
Kind of list response this is.
Corresponds to the JSON property kind
42 43 44 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 42 def kind @kind end |
#next_page_token ⇒ String
Token for retrieving the next page
Corresponds to the JSON property nextPageToken
47 48 49 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 47 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54 55 56 57 58 59 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 54 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 |