class Google::Apis::YoutubeV3::ChannelSettings

Branding properties for the channel view.

Attributes

country[RW]

The country of the channel. Corresponds to the JSON property `country` @return [String]

default_language[RW]

Corresponds to the JSON property `defaultLanguage` @return [String]

default_tab[RW]

Which content tab users should see when viewing the channel. Corresponds to the JSON property `defaultTab` @return [String]

description[RW]

Specifies the channel description. Corresponds to the JSON property `description` @return [String]

keywords[RW]

Lists keywords associated with the channel, comma-separated. Corresponds to the JSON property `keywords` @return [String]

moderate_comments[RW]

Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible. Corresponds to the JSON property `moderateComments` @return [Boolean]

moderate_comments?[RW]

Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible. Corresponds to the JSON property `moderateComments` @return [Boolean]

profile_color[RW]

A prominent color that can be rendered on this channel page. Corresponds to the JSON property `profileColor` @return [String]

show_browse_view[RW]

Whether the tab to browse the videos should be displayed. Corresponds to the JSON property `showBrowseView` @return [Boolean]

show_browse_view?[RW]

Whether the tab to browse the videos should be displayed. Corresponds to the JSON property `showBrowseView` @return [Boolean]

title[RW]

Specifies the channel title. Corresponds to the JSON property `title` @return [String]

tracking_analytics_account_id[RW]

The ID for a Google Analytics account to track and measure traffic to the channels. Corresponds to the JSON property `trackingAnalyticsAccountId` @return [String]

unsubscribed_trailer[RW]

The trailer of the channel, for users that are not subscribers. Corresponds to the JSON property `unsubscribedTrailer` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 1691
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 1696
def update!(**args)
  @country = args[:country] if args.key?(:country)
  @default_language = args[:default_language] if args.key?(:default_language)
  @default_tab = args[:default_tab] if args.key?(:default_tab)
  @description = args[:description] if args.key?(:description)
  @featured_channels_title = args[:featured_channels_title] if args.key?(:featured_channels_title)
  @featured_channels_urls = args[:featured_channels_urls] if args.key?(:featured_channels_urls)
  @keywords = args[:keywords] if args.key?(:keywords)
  @moderate_comments = args[:moderate_comments] if args.key?(:moderate_comments)
  @profile_color = args[:profile_color] if args.key?(:profile_color)
  @show_browse_view = args[:show_browse_view] if args.key?(:show_browse_view)
  @show_related_channels = args[:show_related_channels] if args.key?(:show_related_channels)
  @title = args[:title] if args.key?(:title)
  @tracking_analytics_account_id = args[:tracking_analytics_account_id] if args.key?(:tracking_analytics_account_id)
  @unsubscribed_trailer = args[:unsubscribed_trailer] if args.key?(:unsubscribed_trailer)
end