class Google::Apis::DriveV3::Change
A change to a file.
Attributes
The metadata for a file. Corresponds to the JSON property `file` @return [Google::Apis::DriveV3::File]
The ID of the file which has changed. Corresponds to the JSON property `fileId` @return [String]
This is always drive#change. Corresponds to the JSON property `kind` @return [String]
Whether the file has been removed from the view of the changes list, for example by deletion or lost access. Corresponds to the JSON property `removed` @return [Boolean]
Whether the file has been removed from the view of the changes list, for example by deletion or lost access. Corresponds to the JSON property `removed` @return [Boolean]
The time of this change (RFC 3339 date-time). Corresponds to the JSON property `time` @return [DateTime]
Public Class Methods
# File generated/google/apis/drive_v3/classes.rb, line 162 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v3/classes.rb, line 167 def update!(**args) @file = args[:file] if args.key?(:file) @file_id = args[:file_id] if args.key?(:file_id) @kind = args[:kind] if args.key?(:kind) @removed = args[:removed] if args.key?(:removed) @time = args[:time] if args.key?(:time) end