class Google::Apis::DriveactivityV2::Rename

An object was renamed.

Attributes

new_title[RW]

The new title of the drive object. Corresponds to the JSON property `newTitle` @return [String]

old_title[RW]

The previous title of the drive object. Corresponds to the JSON property `oldTitle` @return [String]

Public Class Methods

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