Class: Google::Apis::DriveactivityV2::DriveFolder

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

A Drive item which is a folder.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeString

The type of Drive folder. Corresponds to the JSON property type

Returns:

  • (String)


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