Class: Google::Apis::YoutubeV3::ChannelBrandingSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelBrandingSettings

Returns a new instance of ChannelBrandingSettings.



1292
1293
1294
# File 'lib/google/apis/youtube_v3/classes.rb', line 1292

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

Instance Attribute Details

#channelGoogle::Apis::YoutubeV3::ChannelSettings

Branding properties for the channel view. Corresponds to the JSON property channel



1275
1276
1277
# File 'lib/google/apis/youtube_v3/classes.rb', line 1275

def channel
  @channel
end

#hintsArray<Google::Apis::YoutubeV3::PropertyValue>

Additional experimental branding properties. Corresponds to the JSON property hints



1280
1281
1282
# File 'lib/google/apis/youtube_v3/classes.rb', line 1280

def hints
  @hints
end

#imageGoogle::Apis::YoutubeV3::ImageSettings

Branding properties for images associated with the channel. Corresponds to the JSON property image



1285
1286
1287
# File 'lib/google/apis/youtube_v3/classes.rb', line 1285

def image
  @image
end

#watchGoogle::Apis::YoutubeV3::WatchSettings

Branding properties for the watch. All deprecated. Corresponds to the JSON property watch



1290
1291
1292
# File 'lib/google/apis/youtube_v3/classes.rb', line 1290

def watch
  @watch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1297
1298
1299
1300
1301
1302
# File 'lib/google/apis/youtube_v3/classes.rb', line 1297

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