class Google::Apis::YoutubeV3::ChannelSectionSnippet

Basic details about a channel section, including title, style and position.

Attributes

channel_id[RW]

The ID that YouTube uses to uniquely identify the channel that published the channel section. Corresponds to the JSON property `channelId` @return [String]

default_language[RW]

The language of the channel section's default title and description. Corresponds to the JSON property `defaultLanguage` @return [String]

localized[RW]

ChannelSection localization setting Corresponds to the JSON property `localized` @return [Google::Apis::YoutubeV3::ChannelSectionLocalization]

position[RW]

The position of the channel section in the channel. Corresponds to the JSON property `position` @return [Fixnum]

style[RW]

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

title[RW]

The channel section's title for multiple_playlists and multiple_channels. Corresponds to the JSON property `title` @return [String]

type[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 1611
def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @default_language = args[:default_language] if args.key?(:default_language)
  @localized = args[:localized] if args.key?(:localized)
  @position = args[:position] if args.key?(:position)
  @style = args[:style] if args.key?(:style)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
end