Class: Google::Apis::ClassroomV1::Form
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::Form
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Google Forms item.
Instance Attribute Summary collapse
- 
  
    
      #form_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the form. 
- 
  
    
      #response_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the form responses document. 
- 
  
    
      #thumbnail_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of a thumbnail image of the Form. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Title of the Form. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Form 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Form. 
- 
  
    
      #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) ⇒ Form
Returns a new instance of Form
| 877 878 879 | # File 'generated/google/apis/classroom_v1/classes.rb', line 877 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#form_url ⇒ String
URL of the form.
Corresponds to the JSON property formUrl
| 855 856 857 | # File 'generated/google/apis/classroom_v1/classes.rb', line 855 def form_url @form_url end | 
#response_url ⇒ String
URL of the form responses document.
Only set if respsonses have been recorded and only when the
requesting user is an editor of the form.
Read-only.
Corresponds to the JSON property responseUrl
| 863 864 865 | # File 'generated/google/apis/classroom_v1/classes.rb', line 863 def response_url @response_url end | 
#thumbnail_url ⇒ String
URL of a thumbnail image of the Form.
Read-only.
Corresponds to the JSON property thumbnailUrl
| 869 870 871 | # File 'generated/google/apis/classroom_v1/classes.rb', line 869 def thumbnail_url @thumbnail_url end | 
#title ⇒ String
Title of the Form.
Read-only.
Corresponds to the JSON property title
| 875 876 877 | # File 'generated/google/apis/classroom_v1/classes.rb', line 875 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 882 883 884 885 886 887 | # File 'generated/google/apis/classroom_v1/classes.rb', line 882 def update!(**args) @form_url = args[:form_url] if args.key?(:form_url) @response_url = args[:response_url] if args.key?(:response_url) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @title = args[:title] if args.key?(:title) end |