class Google::Apis::DriveactivityV2::Drive
Information about a shared drive.
Attributes
name[RW]
The resource name of the shared drive. The format is `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection ID for this resource name. Corresponds to the JSON property `name` @return [String]
root[RW]
A Drive
item, such as a file or folder. Corresponds to the JSON property `root` @return [Google::Apis::DriveactivityV2::DriveItem]
title[RW]
The title of the shared drive. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/driveactivity_v2/classes.rb, line 492 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/driveactivity_v2/classes.rb, line 497 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