Class: Google::Apis::AdminReportsV1::Activity::Id
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::Activity::Id
- 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
-
#application_name ⇒ String
Application name to which the event belongs.
-
#customer_id ⇒ String
Obfuscated customer ID of the source customer.
-
#time ⇒ DateTime
Time of occurrence of the activity.
-
#unique_qualifier ⇒ Fixnum
Unique qualifier if multiple events have the same time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Id
constructor
A new instance of Id.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Id
Returns a new instance of Id
308 309 310 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_name ⇒ String
Application name to which the event belongs.
Corresponds to the JSON property applicationName
291 292 293 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 291 def application_name @application_name end |
#customer_id ⇒ String
Obfuscated customer ID of the source customer.
Corresponds to the JSON property customerId
296 297 298 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 296 def customer_id @customer_id end |
#time ⇒ DateTime
Time of occurrence of the activity.
Corresponds to the JSON property time
301 302 303 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 301 def time @time end |
#unique_qualifier ⇒ Fixnum
Unique qualifier if multiple events have the same time.
Corresponds to the JSON property uniqueQualifier
306 307 308 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 306 def unique_qualifier @unique_qualifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
313 314 315 316 317 318 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 313 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 |