Class: Google::Apis::DriveactivityV2::Folder
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Folder
- 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 Drive item which is a folder.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of Drive folder.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Folder
constructor
A new instance of Folder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Folder
Returns a new instance of Folder
687 688 689 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of Drive folder.
Corresponds to the JSON property type
685 686 687 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 685 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
692 693 694 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 692 def update!(**args) @type = args[:type] if args.key?(:type) end |