Class: Google::Apis::FormsV1::ExtraMaterial
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::ExtraMaterial
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb
Overview
Supplementary material to the feedback.
Instance Attribute Summary collapse
-
#link ⇒ Google::Apis::FormsV1::TextLink
Link for text.
-
#video ⇒ Google::Apis::FormsV1::VideoLink
Link to a video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtraMaterial
constructor
A new instance of ExtraMaterial.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtraMaterial
Returns a new instance of ExtraMaterial.
392 393 394 |
# File 'lib/google/apis/forms_v1/classes.rb', line 392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#link ⇒ Google::Apis::FormsV1::TextLink
Link for text.
Corresponds to the JSON property link
385 386 387 |
# File 'lib/google/apis/forms_v1/classes.rb', line 385 def link @link end |
#video ⇒ Google::Apis::FormsV1::VideoLink
Link to a video.
Corresponds to the JSON property video
390 391 392 |
# File 'lib/google/apis/forms_v1/classes.rb', line 390 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
397 398 399 400 |
# File 'lib/google/apis/forms_v1/classes.rb', line 397 def update!(**args) @link = args[:link] if args.key?(:link) @video = args[:video] if args.key?(:video) end |