class Google::Apis::DriveactivityV2::RestrictionChange
Information about restriction policy changes to a feature.
Attributes
feature[RW]
The feature which had a change in restriction policy. Corresponds to the JSON property `feature` @return [String]
new_restriction[RW]
The restriction in place after the change. Corresponds to the JSON property `newRestriction` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 1243 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 1248 def update!(**args) @feature = args[:feature] if args.key?(:feature) @new_restriction = args[:new_restriction] if args.key?(:new_restriction) end