class Google::Apis::DriveactivityV2::Comment
A change about comments on an object.
Attributes
assignment[RW]
A comment with an assignment. Corresponds to the JSON property `assignment` @return [Google::Apis::DriveactivityV2::Assignment]
mentioned_users[RW]
Users who are mentioned in this comment. Corresponds to the JSON property `mentionedUsers` @return [Array<Google::Apis::DriveactivityV2::User>]
post[RW]
A regular posted comment. Corresponds to the JSON property `post` @return [Google::Apis::DriveactivityV2::Post]
suggestion[RW]
A suggestion. Corresponds to the JSON property `suggestion` @return [Google::Apis::DriveactivityV2::Suggestion]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 300 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 305 def update!(**args) @assignment = args[:assignment] if args.key?(:assignment) @mentioned_users = args[:mentioned_users] if args.key?(:mentioned_users) @post = args[:post] if args.key?(:post) @suggestion = args[:suggestion] if args.key?(:suggestion) end