class Google::Apis::DriveV3::Reply
A reply to a comment on a file.
Attributes
The action the reply performed to the parent comment. Valid values are:
-
resolve
-
reopen
Corresponds to the JSON property `action` @return [String]
The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified. Corresponds to the JSON property `content` @return [String]
The time at which the reply was created (RFC 3339 date-time). Corresponds to the JSON property `createdTime` @return [DateTime]
Whether the reply has been deleted. A deleted reply has no content. Corresponds to the JSON property `deleted` @return [Boolean]
Whether the reply has been deleted. A deleted reply has no content. Corresponds to the JSON property `deleted` @return [Boolean]
The content of the reply with HTML formatting. Corresponds to the JSON property `htmlContent` @return [String]
The ID of the reply. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “drive#reply” . Corresponds to the JSON property `kind` @return [String]
The last time the reply was modified (RFC 3339 date-time). Corresponds to the JSON property `modifiedTime` @return [DateTime]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 2442 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 2447 def update!(**args) @action = args[:action] if args.key?(:action) @author = args[:author] if args.key?(:author) @content = args[:content] if args.key?(:content) @created_time = args[:created_time] if args.key?(:created_time) @deleted = args[:deleted] if args.key?(:deleted) @html_content = args[:html_content] if args.key?(:html_content) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @modified_time = args[:modified_time] if args.key?(:modified_time) end