Class: Google::Apis::YoutubeV3::VideoTopicDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::VideoTopicDetails
 
- 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 video.
Instance Attribute Summary collapse
- 
  
    
      #relevant_topic_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Similar to topic_id, except that these topics are merely relevant to the video. 
- 
  
    
      #topic_categories  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of Wikipedia URLs that provide a high-level description of the video's content. 
- 
  
    
      #topic_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of Freebase topic IDs that are centrally associated with the video. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VideoTopicDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VideoTopicDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoTopicDetails
Returns a new instance of VideoTopicDetails
| 8416 8417 8418 | # File 'generated/google/apis/youtube_v3/classes.rb', line 8416 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#relevant_topic_ids ⇒ Array<String>
Similar to topic_id, except that these topics are merely relevant to the video.
These are topics that may be mentioned in, or appear in the video. You can
retrieve information about each topic using Freebase Topic API.
Corresponds to the JSON property relevantTopicIds
| 8400 8401 8402 | # File 'generated/google/apis/youtube_v3/classes.rb', line 8400 def relevant_topic_ids @relevant_topic_ids end | 
#topic_categories ⇒ Array<String>
A list of Wikipedia URLs that provide a high-level description of the video's
content.
Corresponds to the JSON property topicCategories
| 8406 8407 8408 | # File 'generated/google/apis/youtube_v3/classes.rb', line 8406 def topic_categories @topic_categories end | 
#topic_ids ⇒ Array<String>
A list of Freebase topic IDs that are centrally associated with the video.
These are topics that are centrally featured in the video, and it can be said
that the video is mainly about each of these. You can retrieve information
about each topic using the Freebase Topic API.
Corresponds to the JSON property topicIds
| 8414 8415 8416 | # File 'generated/google/apis/youtube_v3/classes.rb', line 8414 def topic_ids @topic_ids end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 8421 8422 8423 8424 8425 | # File 'generated/google/apis/youtube_v3/classes.rb', line 8421 def update!(**args) @relevant_topic_ids = args[:relevant_topic_ids] if args.key?(:relevant_topic_ids) @topic_categories = args[:topic_categories] if args.key?(:topic_categories) @topic_ids = args[:topic_ids] if args.key?(:topic_ids) end |