class Google::Apis::AdminReportsV1::Activity

JSON template for the activity resource.

Attributes

actor[RW]

User doing the action. Corresponds to the JSON property `actor` @return [Google::Apis::AdminReportsV1::Activity::Actor]

etag[RW]

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

events[RW]

Activity events. Corresponds to the JSON property `events` @return [Array<Google::Apis::AdminReportsV1::Activity::Event>]

id[RW]

Unique identifier for each activity record. Corresponds to the JSON property `id` @return [Google::Apis::AdminReportsV1::Activity::Id]

ip_address[RW]

IP Address of the user doing the action. Corresponds to the JSON property `ipAddress` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

owner_domain[RW]

Domain of source customer. Corresponds to the JSON property `ownerDomain` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_reports_v1/classes.rb, line 106
def update!(**args)
  @actor = args[:actor] if args.key?(:actor)
  @etag = args[:etag] if args.key?(:etag)
  @events = args[:events] if args.key?(:events)
  @id = args[:id] if args.key?(:id)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @kind = args[:kind] if args.key?(:kind)
  @owner_domain = args[:owner_domain] if args.key?(:owner_domain)
end