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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DriveFolder

Returns a new instance of DriveFolder.



583
584
585
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 583

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

Instance Attribute Details

#typeString

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

Returns:

  • (String)


581
582
583
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 581

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



588
589
590
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 588

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