Class: Google::Apis::DriveactivityV2::TeamDrive
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::TeamDrive
- 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 Drive
instead.
Instance Attribute Summary collapse
-
#name ⇒ String
This field is deprecated; please see
Drive.name
instead. -
#root ⇒ Google::Apis::DriveactivityV2::DriveItem
A Drive item, such as a file or folder.
-
#title ⇒ String
This field is deprecated; please see
Drive.title
instead.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TeamDrive
constructor
A new instance of TeamDrive.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TeamDrive
Returns a new instance of TeamDrive.
1406 1407 1408 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
This field is deprecated; please see Drive.name
instead.
Corresponds to the JSON property name
1394 1395 1396 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1394 def name @name end |
#root ⇒ Google::Apis::DriveactivityV2::DriveItem
A Drive item, such as a file or folder.
Corresponds to the JSON property root
1399 1400 1401 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1399 def root @root end |
#title ⇒ String
This field is deprecated; please see Drive.title
instead.
Corresponds to the JSON property title
1404 1405 1406 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1404 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1411 1412 1413 1414 1415 |
# File 'generated/google/apis/driveactivity_v2/classes.rb', line 1411 def update!(**args) @name = args[:name] if args.key?(:name) @root = args[:root] if args.key?(:root) @title = args[:title] if args.key?(:title) end |