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

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

Unique identifier for each activity record.

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) ⇒ Id

Returns a new instance of Id



258
259
260
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 258

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

Instance Attribute Details

#application_nameString

Application name to which the event belongs. Corresponds to the JSON property applicationName

Returns:

  • (String)


241
242
243
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 241

def application_name
  @application_name
end

#customer_idString

Obfuscated customer ID of the source customer. Corresponds to the JSON property customerId

Returns:

  • (String)


246
247
248
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 246

def customer_id
  @customer_id
end

#timeDateTime

Time of occurrence of the activity. Corresponds to the JSON property time

Returns:

  • (DateTime)


251
252
253
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 251

def time
  @time
end

#unique_qualifierFixnum

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

Returns:

  • (Fixnum)


256
257
258
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 256

def unique_qualifier
  @unique_qualifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



263
264
265
266
267
268
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 263

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