Class: Google::Apis::DriveactivityV2::ApplicationReference

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

Overview

Activity in applications other than Drive.

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

Returns a new instance of ApplicationReference.


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

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

Instance Attribute Details

#typeString

The reference type corresponding to this event. Corresponds to the JSON property type

Returns:

  • (String)

239
240
241
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 239

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

def update!(**args)
  @type = args[:type] if args.key?(:type)
end