Class: Google::Apis::ClassroomV1::ModifyAttachmentsRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::ModifyAttachmentsRequest
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Request to modify the attachments of a student submission.
Instance Attribute Summary collapse
- 
  
    
      #add_attachments  ⇒ Array<Google::Apis::ClassroomV1::Attachment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Attachments to add. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ModifyAttachmentsRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ModifyAttachmentsRequest. 
- 
  
    
      #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) ⇒ ModifyAttachmentsRequest
Returns a new instance of ModifyAttachmentsRequest
| 1475 1476 1477 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1475 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#add_attachments ⇒ Array<Google::Apis::ClassroomV1::Attachment>
Attachments to add.
A student submission may not have more than 20 attachments.
Form attachments are not supported.
Corresponds to the JSON property addAttachments
| 1473 1474 1475 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1473 def @add_attachments end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1480 1481 1482 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1480 def update!(**args) @add_attachments = args[:add_attachments] if args.key?(:add_attachments) end |