Class: Google::Apis::DriveactivityV2::AppliedLabelChange

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

Overview

Label changes that were made on the Target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppliedLabelChange

Returns a new instance of AppliedLabelChange.



268
269
270
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 268

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

Instance Attribute Details

#changesArray<Google::Apis::DriveactivityV2::AppliedLabelChangeDetail>

Changes that were made to the Label on the Target. Corresponds to the JSON property changes



266
267
268
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 266

def changes
  @changes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



273
274
275
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 273

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