Class: Google::Apis::ClassroomV1::SharedDriveFile
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::SharedDriveFile
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Drive file that is used as material for course work.
Instance Attribute Summary collapse
- 
  
    
      #drive_file  ⇒ Google::Apis::ClassroomV1::DriveFile 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Representation of a Google Drive file. 
- 
  
    
      #share_mode  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Mechanism by which students access the Drive item. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SharedDriveFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SharedDriveFile. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SharedDriveFile
Returns a new instance of SharedDriveFile
| 1697 1698 1699 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1697 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#drive_file ⇒ Google::Apis::ClassroomV1::DriveFile
Representation of a Google Drive file.
Corresponds to the JSON property driveFile
| 1690 1691 1692 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1690 def drive_file @drive_file end | 
#share_mode ⇒ String
Mechanism by which students access the Drive item.
Corresponds to the JSON property shareMode
| 1695 1696 1697 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1695 def share_mode @share_mode end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1702 1703 1704 1705 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1702 def update!(**args) @drive_file = args[:drive_file] if args.key?(:drive_file) @share_mode = args[:share_mode] if args.key?(:share_mode) end |