Class: Google::Apis::FormsV1::Video

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Video

Returns a new instance of Video.



1637
1638
1639
# File 'lib/google/apis/forms_v1/classes.rb', line 1637

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#propertiesGoogle::Apis::FormsV1::MediaProperties

Properties of the media. Corresponds to the JSON property properties



1630
1631
1632
# File 'lib/google/apis/forms_v1/classes.rb', line 1630

def properties
  @properties
end

#youtube_uriString

Required. A YouTube URI. Corresponds to the JSON property youtubeUri

Returns:

  • (String)


1635
1636
1637
# File 'lib/google/apis/forms_v1/classes.rb', line 1635

def youtube_uri
  @youtube_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1642
1643
1644
1645
# File 'lib/google/apis/forms_v1/classes.rb', line 1642

def update!(**args)
  @properties = args[:properties] if args.key?(:properties)
  @youtube_uri = args[:youtube_uri] if args.key?(:youtube_uri)
end