Class: Google::Apis::YoutubeV3::ChannelTopicDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Overview

Freebase topic information related to the channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelTopicDetails

Returns a new instance of ChannelTopicDetails.



2014
2015
2016
# File 'lib/google/apis/youtube_v3/classes.rb', line 2014

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#topic_categoriesArray<String>

A list of Wikipedia URLs that describe the channel's content. Corresponds to the JSON property topicCategories

Returns:

  • (Array<String>)


2006
2007
2008
# File 'lib/google/apis/youtube_v3/classes.rb', line 2006

def topic_categories
  @topic_categories
end

#topic_idsArray<String>

A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API. Corresponds to the JSON property topicIds

Returns:

  • (Array<String>)


2012
2013
2014
# File 'lib/google/apis/youtube_v3/classes.rb', line 2012

def topic_ids
  @topic_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2019
2020
2021
2022
# File 'lib/google/apis/youtube_v3/classes.rb', line 2019

def update!(**args)
  @topic_categories = args[:topic_categories] if args.key?(:topic_categories)
  @topic_ids = args[:topic_ids] if args.key?(:topic_ids)
end