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.
391 392 393 |
# File 'lib/google/apis/forms_v1/classes.rb', line 391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#link ⇒ Google::Apis::FormsV1::TextLink
Link for text.
Corresponds to the JSON property link
384 385 386 |
# File 'lib/google/apis/forms_v1/classes.rb', line 384 def link @link end |
#video ⇒ Google::Apis::FormsV1::VideoLink
Link to a video.
Corresponds to the JSON property video
389 390 391 |
# File 'lib/google/apis/forms_v1/classes.rb', line 389 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
396 397 398 399 |
# File 'lib/google/apis/forms_v1/classes.rb', line 396 def update!(**args) @link = args[:link] if args.key?(:link) @video = args[:video] if args.key?(:video) end |