class Google::Apis::DriveV3::Reply

A reply to a comment on a file.

Attributes

action[RW]

The action the reply performed to the parent comment. Valid values are:

  • resolve

  • reopen

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

author[RW]

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

content[RW]

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]

created_time[RW]

The time at which the reply was created (RFC 3339 date-time). Corresponds to the JSON property `createdTime` @return [DateTime]

deleted[RW]

Whether the reply has been deleted. A deleted reply has no content. Corresponds to the JSON property `deleted` @return [Boolean]

deleted?[RW]

Whether the reply has been deleted. A deleted reply has no content. Corresponds to the JSON property `deleted` @return [Boolean]

html_content[RW]

The content of the reply with HTML formatting. Corresponds to the JSON property `htmlContent` @return [String]

id[RW]

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

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “drive#reply” . Corresponds to the JSON property `kind` @return [String]

modified_time[RW]

The last time the reply was modified (RFC 3339 date-time). Corresponds to the JSON property `modifiedTime` @return [DateTime]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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