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

Inherits:
Object
  • Object
show all
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 of a YouTube channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChannelBrandingSettings

Returns a new instance of ChannelBrandingSettings.


1132
1133
1134
# File 'generated/google/apis/youtube_v3/classes.rb', line 1132

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


1115
1116
1117
# File 'generated/google/apis/youtube_v3/classes.rb', line 1115

def channel
  @channel
end

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

Additional experimental branding properties. Corresponds to the JSON property hints


1120
1121
1122
# File 'generated/google/apis/youtube_v3/classes.rb', line 1120

def hints
  @hints
end

#imageGoogle::Apis::YoutubeV3::ImageSettings

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


1125
1126
1127
# File 'generated/google/apis/youtube_v3/classes.rb', line 1125

def image
  @image
end

#watchGoogle::Apis::YoutubeV3::WatchSettings

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


1130
1131
1132
# File 'generated/google/apis/youtube_v3/classes.rb', line 1130

def watch
  @watch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1137
1138
1139
1140
1141
1142
# File 'generated/google/apis/youtube_v3/classes.rb', line 1137

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