class Google::Apis::AdminReportsV1::Activity
JSON template for the activity resource.
Attributes
User doing the action. Corresponds to the JSON property `actor` @return [Google::Apis::AdminReportsV1::Activity::Actor]
ETag of the entry. Corresponds to the JSON property `etag` @return [String]
Activity events. Corresponds to the JSON property `events` @return [Array<Google::Apis::AdminReportsV1::Activity::Event>]
Unique identifier for each activity record. Corresponds to the JSON property `id` @return [Google::Apis::AdminReportsV1::Activity::Id]
IP Address of the user doing the action. Corresponds to the JSON property `ipAddress` @return [String]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Domain of source customer. Corresponds to the JSON property `ownerDomain` @return [String]
Public Class Methods
# File generated/google/apis/admin_reports_v1/classes.rb, line 101 def initialize(**args) update!(**args) end
Public Instance Methods
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