class Google::Apis::DriveV2::CommentReply

A comment on a file in Google Drive.

Attributes

author[RW]

Information about a Drive user. Corresponds to the JSON property `author` @return [Google::Apis::DriveV2::User]

content[RW]

The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen). Corresponds to the JSON property `content` @return [String]

created_date[RW]

The date when this reply was first created. Corresponds to the JSON property `createdDate` @return [DateTime]

deleted[RW]

Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed. Corresponds to the JSON property `deleted` @return [Boolean]

deleted?[RW]

Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed. Corresponds to the JSON property `deleted` @return [Boolean]

html_content[RW]

HTML formatted content for this reply. Corresponds to the JSON property `htmlContent` @return [String]

kind[RW]

This is always drive#commentReply. Corresponds to the JSON property `kind` @return [String]

modified_date[RW]

The date when this reply was last modified. Corresponds to the JSON property `modifiedDate` @return [DateTime]

reply_id[RW]

The ID of the reply. Corresponds to the JSON property `replyId` @return [String]

verb[RW]

The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:

  • “resolve” - To resolve a comment.

  • “reopen” - To reopen (un-resolve) a comment.

Corresponds to the JSON property `verb` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 1133
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/drive_v2/classes.rb, line 1138
def update!(**args)
  @author = args[:author] if args.key?(:author)
  @content = args[:content] if args.key?(:content)
  @created_date = args[:created_date] if args.key?(:created_date)
  @deleted = args[:deleted] if args.key?(:deleted)
  @html_content = args[:html_content] if args.key?(:html_content)
  @kind = args[:kind] if args.key?(:kind)
  @modified_date = args[:modified_date] if args.key?(:modified_date)
  @reply_id = args[:reply_id] if args.key?(:reply_id)
  @verb = args[:verb] if args.key?(:verb)
end