Class: Google::Apis::SlidesV1::Video
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::Video
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
 generated/google/apis/slides_v1/representations.rb,
 generated/google/apis/slides_v1/representations.rb
Overview
A PageElement kind representing a video.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The video source's unique identifier for this video. 
- 
  
    
      #source  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The video source. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An URL to a video. 
- 
  
    
      #video_properties  ⇒ Google::Apis::SlidesV1::VideoProperties 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The properties of the Video. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Video 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Video. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Video
Returns a new instance of Video
| 5065 5066 5067 | # File 'generated/google/apis/slides_v1/classes.rb', line 5065 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
The video source's unique identifier for this video.
Corresponds to the JSON property id
| 5047 5048 5049 | # File 'generated/google/apis/slides_v1/classes.rb', line 5047 def id @id end | 
#source ⇒ String
The video source.
Corresponds to the JSON property source
| 5052 5053 5054 | # File 'generated/google/apis/slides_v1/classes.rb', line 5052 def source @source end | 
#url ⇒ String
An URL to a video. The URL is valid as long as the source video
exists and sharing settings do not change.
Corresponds to the JSON property url
| 5058 5059 5060 | # File 'generated/google/apis/slides_v1/classes.rb', line 5058 def url @url end | 
#video_properties ⇒ Google::Apis::SlidesV1::VideoProperties
The properties of the Video.
Corresponds to the JSON property videoProperties
| 5063 5064 5065 | # File 'generated/google/apis/slides_v1/classes.rb', line 5063 def video_properties @video_properties end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5070 5071 5072 5073 5074 5075 | # File 'generated/google/apis/slides_v1/classes.rb', line 5070 def update!(**args) @id = args[:id] if args.key?(:id) @source = args[:source] if args.key?(:source) @url = args[:url] if args.key?(:url) @video_properties = args[:video_properties] if args.key?(:video_properties) end |