Class: Google::Apis::DriveactivityV2::DriveFolder
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::DriveFolder
- 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) ⇒ DriveFolder
constructor
A new instance of DriveFolder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DriveFolder
Returns a new instance of DriveFolder.
581 582 583 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 581 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of Drive folder.
Corresponds to the JSON property type
579 580 581 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 579 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
586 587 588 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 586 def update!(**args) @type = args[:type] if args.key?(:type) end |