class Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion

A single tag suggestion with it's relevance information.

Attributes

category_restricts[RW]

A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword. Corresponds to the JSON property `categoryRestricts` @return [Array<String>]

tag[RW]

The keyword tag suggested for the video. Corresponds to the JSON property `tag` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 8102
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 8107
def update!(**args)
  @category_restricts = args[:category_restricts] if args.key?(:category_restricts)
  @tag = args[:tag] if args.key?(:tag)
end