class Google::Apis::YoutubeV3::Channel

A channel resource contains information about a YouTube channel.

Attributes

audit_details[RW]

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_settings[RW]

Branding properties of a YouTube channel. Corresponds to the JSON property `brandingSettings` @return [Google::Apis::YoutubeV3::ChannelBrandingSettings]

content_details[RW]

Details about the content of a channel. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeV3::ChannelContentDetails]

content_owner_details[RW]

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]

conversion_pings[RW]

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[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. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# channel”. 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::ChannelLocalization>]

snippet[RW]

Basic details about a channel, including title, description and thumbnails. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::ChannelSnippet]

statistics[RW]

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]

status[RW]

JSON template for the status part of a channel. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::ChannelStatus]

topic_details[RW]

Freebase topic information related to the channel. Corresponds to the JSON property `topicDetails` @return [Google::Apis::YoutubeV3::ChannelTopicDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 1010
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 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