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.
1636 1637 1638 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Google::Apis::FormsV1::MediaProperties
Properties of the media.
Corresponds to the JSON property properties
1629 1630 1631 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1629 def properties @properties end |
#youtube_uri ⇒ String
Required. A YouTube URI.
Corresponds to the JSON property youtubeUri
1634 1635 1636 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1634 def youtube_uri @youtube_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1641 1642 1643 1644 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1641 def update!(**args) @properties = args[:properties] if args.key?(:properties) @youtube_uri = args[:youtube_uri] if args.key?(:youtube_uri) end |