class Google::Apis::YoutubeV3::Channel
A channel resource contains information about a YouTube channel.
Attributes
The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. Corresponds to the JSON property `auditDetails` @return [Google::Apis::YoutubeV3::ChannelAuditDetails]
Branding properties of a YouTube channel. Corresponds to the JSON property `brandingSettings` @return [Google::Apis::YoutubeV3::ChannelBrandingSettings]
Details about the content of a channel. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeV3::ChannelContentDetails]
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. Corresponds to the JSON property `contentOwnerDetails` @return [Google::Apis::YoutubeV3::ChannelContentOwnerDetails]
The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. Corresponds to the JSON property `conversionPings` @return [Google::Apis::YoutubeV3::ChannelConversionPings]
Etag of this resource. Corresponds to the JSON property `etag` @return [String]
The ID that YouTube uses to uniquely identify the channel. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “youtube# channel”. Corresponds to the JSON property `kind` @return [String]
Localizations for different languages Corresponds to the JSON property `localizations` @return [Hash<String,Google::Apis::YoutubeV3::ChannelLocalization>]
Basic details about a channel, including title, description and thumbnails. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::ChannelSnippet]
Statistics about a channel: number of subscribers, number of videos in the channel, etc. Corresponds to the JSON property `statistics` @return [Google::Apis::YoutubeV3::ChannelStatistics]
JSON template for the status part of a channel. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::ChannelStatus]
Freebase topic information related to the channel. Corresponds to the JSON property `topicDetails` @return [Google::Apis::YoutubeV3::ChannelTopicDetails]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 1010 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 1015 def update!(**args) @audit_details = args[:audit_details] if args.key?(:audit_details) @branding_settings = args[:branding_settings] if args.key?(:branding_settings) @content_details = args[:content_details] if args.key?(:content_details) @content_owner_details = args[:content_owner_details] if args.key?(:content_owner_details) @conversion_pings = args[:conversion_pings] if args.key?(:conversion_pings) @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) @statistics = args[:statistics] if args.key?(:statistics) @status = args[:status] if args.key?(:status) @topic_details = args[:topic_details] if args.key?(:topic_details) end