NAME
Google::RestApi::GmailApi1::Attachment - Attachment object for Gmail messages.
SYNOPSIS
# Get an attachment from a message
my $att = $message->attachment(id => 'att_id');
my $data = $att->get();
# $data->{data} contains base64url-encoded attachment body
DESCRIPTION
Represents an attachment on a Gmail message. Supports retrieving attachment data.
METHODS
get()
Gets attachment data. Returns a hashref with 'data' (base64url-encoded body) and 'size' fields.
attachment_id()
Returns the attachment ID.
message()
Returns the parent Message 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.