Class: Google::Apis::AdminReportsV1::Activities

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 32

def etag
  @etag
end

#itemsArray<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

#kindString

The type of API resource. For an activity report, the value is reports# activities. Corresponds to the JSON property kind

Returns:

  • (String)


43
44
45
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 43

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


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