class Google::Apis::AdminReportsV1::Activities

JSON template for a collection of activities.

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

items[RW]

Each activity record in the response. Corresponds to the JSON property `items` @return [Array<Google::Apis::AdminReportsV1::Activity>]

kind[RW]

The type of API resource. For an activity report, the value is `reports# activities`. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_reports_v1/classes.rb, line 51
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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