class Google::Apis::YoutubeV3::ChannelSection

Attributes

content_details[RW]

Details about a channelsection, including playlists and channels. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeV3::ChannelSectionContentDetails]

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

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

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# channelSection”. Corresponds to the JSON property `kind` @return [String]

localizations[RW]

Localizations for different languages Corresponds to the JSON property `localizations` @return [Hash<String,Google::Apis::YoutubeV3::ChannelSectionLocalization>]

snippet[RW]

Basic details about a channel section, including title, style and position. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::ChannelSectionSnippet]

targeting[RW]

ChannelSection targeting setting. Corresponds to the JSON property `targeting` @return [Google::Apis::YoutubeV3::ChannelSectionTargeting]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 1461
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 1466
def update!(**args)
  @content_details = args[:content_details] if args.key?(:content_details)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @localizations = args[:localizations] if args.key?(:localizations)
  @snippet = args[:snippet] if args.key?(:snippet)
  @targeting = args[:targeting] if args.key?(:targeting)
end