class Google::Apis::DriveactivityV2::Create

An object was created.

Attributes

copy[RW]

An object was created by copying an existing object. Corresponds to the JSON property `copy` @return [Google::Apis::DriveactivityV2::Copy]

new[RW]

An object was created from scratch. Corresponds to the JSON property `new` @return [Google::Apis::DriveactivityV2::New]

upload[RW]

An object was uploaded into Drive. Corresponds to the JSON property `upload` @return [Google::Apis::DriveactivityV2::Upload]

Public Class Methods

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