class Google::Apis::DriveV2::File::ShortcutDetails
Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
Attributes
target_id[RW]
The ID of the file that this shortcut points to. Corresponds to the JSON property `targetId` @return [String]
target_mime_type[RW]
The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created. Corresponds to the JSON property `targetMimeType` @return [String]
target_resource_key[RW]
The ResourceKey for the target file. Corresponds to the JSON property `targetResourceKey` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 2872 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 2877 def update!(**args) @target_id = args[:target_id] if args.key?(:target_id) @target_mime_type = args[:target_mime_type] if args.key?(:target_mime_type) @target_resource_key = args[:target_resource_key] if args.key?(:target_resource_key) end