Class: Google::Apis::DriveactivityV2::Folder

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/driveactivity_v2/classes.rb,
lib/google/apis/driveactivity_v2/representations.rb,
lib/google/apis/driveactivity_v2/representations.rb

Overview

This item is deprecated; please see DriveFolder instead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Folder

Returns a new instance of Folder.



990
991
992
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 990

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

This field is deprecated; please see DriveFolder.type instead. Corresponds to the JSON property type

Returns:

  • (String)


988
989
990
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 988

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



995
996
997
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 995

def update!(**args)
  @type = args[:type] if args.key?(:type)
end