Class: Google::Apis::DriveactivityV2::SettingsChange

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

Information about settings changes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SettingsChange

Returns a new instance of SettingsChange.



1509
1510
1511
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1509

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

Instance Attribute Details

#restriction_changesArray<Google::Apis::DriveactivityV2::RestrictionChange>

The set of changes made to restrictions. Corresponds to the JSON property restrictionChanges



1507
1508
1509
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1507

def restriction_changes
  @restriction_changes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1514
1515
1516
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1514

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