class Google::Apis::DriveactivityV2::FileComment
A comment on a file.
Attributes
The comment in the discussion thread. This identifier is an opaque string compatible with the Drive
API; see developers.google.com/drive/v3/ reference/comments/get Corresponds to the JSON property `legacyCommentId` @return [String]
The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive
API and references the first comment in a discussion; see developers.google.com/drive/v3/reference/comments/ get Corresponds to the JSON property `legacyDiscussionId` @return [String]
The link to the discussion thread containing this comment, for example, `https: //docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID`. Corresponds to the JSON property `linkToDiscussion` @return [String]
A Drive
item, such as a file or folder. Corresponds to the JSON property `parent` @return [Google::Apis::DriveactivityV2::DriveItem]
Public Class Methods
# File lib/google/apis/driveactivity_v2/classes.rb, line 784 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 789 def update!(**args) @legacy_comment_id = args[:legacy_comment_id] if args.key?(:legacy_comment_id) @legacy_discussion_id = args[:legacy_discussion_id] if args.key?(:legacy_discussion_id) @link_to_discussion = args[:link_to_discussion] if args.key?(:link_to_discussion) @parent = args[:parent] if args.key?(:parent) end