class Google::Apis::DriveactivityV2::Assignment

A comment with an assignment.

Attributes

assigned_user[RW]

Information about an end user. Corresponds to the JSON property `assignedUser` @return [Google::Apis::DriveactivityV2::User]

subtype[RW]

The sub-type of this event. Corresponds to the JSON property `subtype` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 265
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 270
def update!(**args)
  @assigned_user = args[:assigned_user] if args.key?(:assigned_user)
  @subtype = args[:subtype] if args.key?(:subtype)
end