Class: Google::Apis::YoutubeV3::ChannelBrandingSettings
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ChannelBrandingSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Overview
Branding properties of a YouTube channel.
Instance Attribute Summary collapse
-
#channel ⇒ Google::Apis::YoutubeV3::ChannelSettings
Branding properties for the channel view.
-
#hints ⇒ Array<Google::Apis::YoutubeV3::PropertyValue>
Additional experimental branding properties.
-
#image ⇒ Google::Apis::YoutubeV3::ImageSettings
Branding properties for images associated with the channel.
-
#watch ⇒ Google::Apis::YoutubeV3::WatchSettings
Branding properties for the watch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelBrandingSettings
constructor
A new instance of ChannelBrandingSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelBrandingSettings
Returns a new instance of ChannelBrandingSettings.
1123 1124 1125 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1123 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ Google::Apis::YoutubeV3::ChannelSettings
Branding properties for the channel view.
Corresponds to the JSON property channel
1106 1107 1108 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1106 def channel @channel end |
#hints ⇒ Array<Google::Apis::YoutubeV3::PropertyValue>
Additional experimental branding properties.
Corresponds to the JSON property hints
1111 1112 1113 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1111 def hints @hints end |
#image ⇒ Google::Apis::YoutubeV3::ImageSettings
Branding properties for images associated with the channel.
Corresponds to the JSON property image
1116 1117 1118 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1116 def image @image end |
#watch ⇒ Google::Apis::YoutubeV3::WatchSettings
Branding properties for the watch. All deprecated.
Corresponds to the JSON property watch
1121 1122 1123 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1121 def watch @watch end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1128 1129 1130 1131 1132 1133 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1128 def update!(**args) @channel = args[:channel] if args.key?(:channel) @hints = args[:hints] if args.key?(:hints) @image = args[:image] if args.key?(:image) @watch = args[:watch] if args.key?(:watch) end |