NAME
Google::RestApi::DriveApi3::Revision - Revision object for Google Drive files.
SYNOPSIS
# List all revisions
my @revisions = $file->revisions();
# Get a specific revision
my $rev = $file->revision(id => 'revision_id');
my $details = $rev->get();
# Update revision settings
$rev->update(keep_forever => 1);
# Delete a revision
$rev->delete();
DESCRIPTION
Represents a revision of a Google Drive file. Supports reading, updating, and deleting revisions.
METHODS
get(fields => $fields, acknowledge_abuse => $bool)
Gets revision details. Requires revision ID.
update(keep_forever => $bool, ...)
Updates revision settings. Requires revision ID.
Options: - keep_forever: Whether to keep this revision forever - publish_auto: Whether future revisions auto-publish - published: Whether this revision is published - published_outside_domain: Whether published outside domain
delete()
Deletes the revision. Requires revision ID.
revision_id()
Returns the revision ID.
file()
Returns the parent File object.
AUTHORS
Robin Murray mvsjes@cpan.org
COPYRIGHT
Copyright (c) 2019-2026 Robin Murray. All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.