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.



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

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

Instance Attribute Details

#propertiesGoogle::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_uriString

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

Returns:

  • (String)


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