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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChannelTopicDetails

Returns a new instance of ChannelTopicDetails.



1877
1878
1879
# File 'generated/google/apis/youtube_v3/classes.rb', line 1877

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

Instance Attribute Details

#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>)


1875
1876
1877
# File 'generated/google/apis/youtube_v3/classes.rb', line 1875

def topic_ids
  @topic_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1882
1883
1884
# File 'generated/google/apis/youtube_v3/classes.rb', line 1882

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