NAME

Google::RestApi::DriveApi3::Reply - Reply object for Google Drive comments.

SYNOPSIS

# List all replies to a comment
my @replies = $comment->replies();

# Get a specific reply
my $reply = $comment->reply(id => 'reply_id');
my $details = $reply->get();

# Create a new reply
my $new_reply = $comment->reply()->create(
  content => 'Thanks for the feedback!',
);

# Create a reply that resolves the comment
$comment->reply()->create(
  content => 'Fixed!',
  action  => 'resolve',
);

# Update reply
$reply->update(content => 'Updated reply text');

# Delete reply
$reply->delete();

DESCRIPTION

Represents a reply to a comment on a Google Drive file. Supports creating, reading, updating, and deleting replies.

METHODS

create(content => $text, action => $action)

Creates a new reply.

Parameters: - content: The reply text (required) - action: Optional action - 'resolve' or 'reopen'

get(fields => $fields, include_deleted => $bool)

Gets reply details. Requires reply ID.

update(content => $text)

Updates the reply content. Requires reply ID.

delete()

Deletes the reply. Requires reply ID.

reply_id()

Returns the reply ID.

comment()

Returns the parent Comment object.

file()

Returns the File object (via comment).

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.