class Google::Apis::DriveactivityV2::DriveReference
A lightweight reference to 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]
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 717 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 722 def update!(**args) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end