Class: Google::Apis::YoutubeV3::ChannelTopicDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ChannelTopicDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Freebase topic information related to the channel.
Instance Attribute Summary collapse
-
#topic_categories ⇒ Array<String>
A list of Wikipedia URLs that describe the channel's content.
-
#topic_ids ⇒ Array<String>
A list of Freebase topic IDs associated with the channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelTopicDetails
constructor
A new instance of ChannelTopicDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelTopicDetails
Returns a new instance of ChannelTopicDetails.
1954 1955 1956 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic_categories ⇒ Array<String>
A list of Wikipedia URLs that describe the channel's content.
Corresponds to the JSON property topicCategories
1946 1947 1948 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1946 def topic_categories @topic_categories end |
#topic_ids ⇒ Array<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
1952 1953 1954 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1952 def topic_ids @topic_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1959 1960 1961 1962 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 1959 def update!(**args) @topic_categories = args[:topic_categories] if args.key?(:topic_categories) @topic_ids = args[:topic_ids] if args.key?(:topic_ids) end |