Class: Google::Apis::DriveactivityV2::SettingsChange
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::SettingsChange
- 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
Information about settings changes.
Instance Attribute Summary collapse
-
#restriction_changes ⇒ Array<Google::Apis::DriveactivityV2::RestrictionChange>
The set of changes made to restrictions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettingsChange
constructor
A new instance of SettingsChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SettingsChange
Returns a new instance of SettingsChange
1143 1144 1145 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#restriction_changes ⇒ Array<Google::Apis::DriveactivityV2::RestrictionChange>
The set of changes made to restrictions.
Corresponds to the JSON property restrictionChanges
1141 1142 1143 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1141 def restriction_changes @restriction_changes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1148 1149 1150 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1148 def update!(**args) @restriction_changes = args[:restriction_changes] if args.key?(:restriction_changes) end |