Class: Google::Apis::YoutubeV3::WatchSettings
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::WatchSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Branding properties for the watch. All deprecated.
Instance Attribute Summary collapse
-
#background_color ⇒ String
The text color for the video watch page's branded area.
-
#featured_playlist_id ⇒ String
An ID that uniquely identifies a playlist that displays next to the video player.
-
#text_color ⇒ String
The background color for the video watch page's branded area.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WatchSettings
constructor
A new instance of WatchSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WatchSettings
Returns a new instance of WatchSettings.
8348 8349 8350 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_color ⇒ String
The text color for the video watch page's branded area.
Corresponds to the JSON property backgroundColor
8335 8336 8337 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8335 def background_color @background_color end |
#featured_playlist_id ⇒ String
An ID that uniquely identifies a playlist that displays next to the video
player.
Corresponds to the JSON property featuredPlaylistId
8341 8342 8343 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8341 def featured_playlist_id @featured_playlist_id end |
#text_color ⇒ String
The background color for the video watch page's branded area.
Corresponds to the JSON property textColor
8346 8347 8348 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8346 def text_color @text_color end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8353 8354 8355 8356 8357 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8353 def update!(**args) @background_color = args[:background_color] if args.key?(:background_color) @featured_playlist_id = args[:featured_playlist_id] if args.key?(:featured_playlist_id) @text_color = args[:text_color] if args.key?(:text_color) end |