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 activites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

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

#kindString

Kind of list response this is. Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

#next_page_tokenString

Token for retrieving the next page Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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