class Google::Apis::YoutubeV3::ChannelSnippet

Basic details about a channel, including title, description and thumbnails.

Attributes

country[RW]

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

custom_url[RW]

The custom url of the channel. Corresponds to the JSON property `customUrl` @return [String]

default_language[RW]

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

description[RW]

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

localized[RW]

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

published_at[RW]

The date and time that the channel was created. Corresponds to the JSON property `publishedAt` @return [DateTime]

thumbnails[RW]

Internal representation of thumbnails for a YouTube resource. Corresponds to the JSON property `thumbnails` @return [Google::Apis::YoutubeV3::ThumbnailDetails]

title[RW]

The channel's title. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 1799
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 1804
def update!(**args)
  @country = args[:country] if args.key?(:country)
  @custom_url = args[:custom_url] if args.key?(:custom_url)
  @default_language = args[:default_language] if args.key?(:default_language)
  @description = args[:description] if args.key?(:description)
  @localized = args[:localized] if args.key?(:localized)
  @published_at = args[:published_at] if args.key?(:published_at)
  @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
  @title = args[:title] if args.key?(:title)
end