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

Inherits:
Object
  • Object
show all
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

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.



806
807
808
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 806

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)


804
805
806
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 804

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



811
812
813
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 811

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