class Google::Apis::DriveV2::Change
Representation of a change to a file.
Attributes
Whether the file has been deleted. Corresponds to the JSON property `deleted` @return [Boolean]
Whether the file has been deleted. Corresponds to the JSON property `deleted` @return [Boolean]
The metadata for a file. Corresponds to the JSON property `file` @return [Google::Apis::DriveV2::File]
The ID of the file associated with this change. Corresponds to the JSON property `fileId` @return [String]
The ID of the change. Corresponds to the JSON property `id` @return [String]
This is always drive#change. Corresponds to the JSON property `kind` @return [String]
The time of this modification. Corresponds to the JSON property `modificationDate` @return [DateTime]
A link back to this change. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File generated/google/apis/drive_v2/classes.rb, line 660 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 665 def update!(**args) @deleted = args[:deleted] if args.key?(:deleted) @file = args[:file] if args.key?(:file) @file_id = args[:file_id] if args.key?(:file_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @modification_date = args[:modification_date] if args.key?(:modification_date) @self_link = args[:self_link] if args.key?(:self_link) end