Class: Google::Apis::AdminReportsV1::Activity::Id

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb

Overview

Unique identifier for each activity record.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Id

Returns a new instance of Id.



339
340
341
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 339

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#application_nameString

Application name to which the event belongs. For possible values see the list of applications above in applicationName. Corresponds to the JSON property applicationName

Returns:

  • (String)


322
323
324
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 322

def application_name
  @application_name
end

#customer_idString

The unique identifier for a Google Workspace account. Corresponds to the JSON property customerId

Returns:

  • (String)


327
328
329
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 327

def customer_id
  @customer_id
end

#timeDateTime

Time of occurrence of the activity. This is in UNIX epoch time in seconds. Corresponds to the JSON property time

Returns:

  • (DateTime)


332
333
334
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 332

def time
  @time
end

#unique_qualifierFixnum

Unique qualifier if multiple events have the same time. Corresponds to the JSON property uniqueQualifier

Returns:

  • (Fixnum)


337
338
339
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 337

def unique_qualifier
  @unique_qualifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



344
345
346
347
348
349
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 344

def update!(**args)
  @application_name = args[:application_name] if args.key?(:application_name)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @time = args[:time] if args.key?(:time)
  @unique_qualifier = args[:unique_qualifier] if args.key?(:unique_qualifier)
end