Class: Google::Apis::DriveactivityV2::Assignment
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Assignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/driveactivity_v2/classes.rb,
generated/google/apis/driveactivity_v2/representations.rb,
generated/google/apis/driveactivity_v2/representations.rb
Overview
A comment with an assignment.
Instance Attribute Summary collapse
-
#assigned_user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
-
#subtype ⇒ String
The sub-type of this event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Assignment
constructor
A new instance of Assignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Assignment
Returns a new instance of Assignment.
265 266 267 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_user ⇒ Google::Apis::DriveactivityV2::User
Information about an end user.
Corresponds to the JSON property assignedUser
258 259 260 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 258 def assigned_user @assigned_user end |
#subtype ⇒ String
The sub-type of this event.
Corresponds to the JSON property subtype
263 264 265 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 263 def subtype @subtype end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 |
# File 'generated/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 |