class Google::Apis::DriveV3::CommentList

A list of comments on a file.

Attributes

comments[RW]

The page of comments. Corresponds to the JSON property `comments` @return [Array<Google::Apis::DriveV3::Comment>]

kind[RW]

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

next_page_token[RW]

The page token for the next page of comments. This will be absent if the end of the comments list has been reached. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v3/classes.rb, line 433
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_v3/classes.rb, line 438
def update!(**args)
  @comments = args[:comments] if args.key?(:comments)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end