class Google::Apis::YoutubeV3::ChannelSectionSnippet
Basic details about a channel section, including title, style and position.
Attributes
The ID that YouTube uses to uniquely identify the channel that published the channel section. Corresponds to the JSON property `channelId` @return [String]
The language of the channel section's default title and description. Corresponds to the JSON property `defaultLanguage` @return [String]
ChannelSection localization setting Corresponds to the JSON property `localized` @return [Google::Apis::YoutubeV3::ChannelSectionLocalization]
The position of the channel section in the channel. Corresponds to the JSON property `position` @return [Fixnum]
The style of the channel section. Corresponds to the JSON property `style` @return [String]
The channel section's title for multiple_playlists and multiple_channels. Corresponds to the JSON property `title` @return [String]
The type of the channel section. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 1565 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 1570 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