Class: Google::Apis::SlidesV1::Video

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb

Overview

A PageElement kind representing a video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Video

Returns a new instance of Video.



5115
5116
5117
# File 'lib/google/apis/slides_v1/classes.rb', line 5115

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

Instance Attribute Details

#idString

The video source's unique identifier for this video. Corresponds to the JSON property id

Returns:

  • (String)


5097
5098
5099
# File 'lib/google/apis/slides_v1/classes.rb', line 5097

def id
  @id
end

#sourceString

The video source. Corresponds to the JSON property source

Returns:

  • (String)


5102
5103
5104
# File 'lib/google/apis/slides_v1/classes.rb', line 5102

def source
  @source
end

#urlString

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

Returns:

  • (String)


5108
5109
5110
# File 'lib/google/apis/slides_v1/classes.rb', line 5108

def url
  @url
end

#video_propertiesGoogle::Apis::SlidesV1::VideoProperties

The properties of the Video. Corresponds to the JSON property videoProperties



5113
5114
5115
# File 'lib/google/apis/slides_v1/classes.rb', line 5113

def video_properties
  @video_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5120
5121
5122
5123
5124
5125
# File 'lib/google/apis/slides_v1/classes.rb', line 5120

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