Class: Google::Apis::FormsV1::Video
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::Video
- 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
Data representing a video.
Instance Attribute Summary collapse
-
#properties ⇒ Google::Apis::FormsV1::MediaProperties
Properties of the media.
-
#youtube_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Video
constructor
A new instance of Video.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Video
Returns a new instance of Video.
1783 1784 1785 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Google::Apis::FormsV1::MediaProperties
Properties of the media.
Corresponds to the JSON property properties
1776 1777 1778 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1776 def properties @properties end |
#youtube_uri ⇒ String
Required. A YouTube URI.
Corresponds to the JSON property youtubeUri
1781 1782 1783 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1781 def youtube_uri @youtube_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1788 1789 1790 1791 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1788 def update!(**args) @properties = args[:properties] if args.key?(:properties) @youtube_uri = args[:youtube_uri] if args.key?(:youtube_uri) end |