Class: Google::Apis::YoutubeV3::VideoSuggestions
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoSuggestions
- 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
Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.
Instance Attribute Summary collapse
-
#editor_suggestions ⇒ Array<String>
A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
-
#processing_errors ⇒ Array<String>
A list of errors that will prevent YouTube from successfully processing the uploaded video video.
-
#processing_hints ⇒ Array<String>
A list of suggestions that may improve YouTube's ability to process the video.
-
#processing_warnings ⇒ Array<String>
A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding.
-
#tag_suggestions ⇒ Array<Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion>
A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoSuggestions
constructor
A new instance of VideoSuggestions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoSuggestions
Returns a new instance of VideoSuggestions.
8255 8256 8257 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#editor_suggestions ⇒ Array<String>
A list of video editing operations that might improve the video quality or
playback experience of the uploaded video.
Corresponds to the JSON property editorSuggestions
8223 8224 8225 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8223 def editor_suggestions @editor_suggestions end |
#processing_errors ⇒ Array<String>
A list of errors that will prevent YouTube from successfully processing the
uploaded video video. These errors indicate that, regardless of the video's
current processing status, eventually, that status will almost certainly be
failed.
Corresponds to the JSON property processingErrors
8231 8232 8233 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8231 def processing_errors @processing_errors end |
#processing_hints ⇒ Array<String>
A list of suggestions that may improve YouTube's ability to process the video.
Corresponds to the JSON property processingHints
8236 8237 8238 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8236 def processing_hints @processing_hints end |
#processing_warnings ⇒ Array<String>
A list of reasons why YouTube may have difficulty transcoding the uploaded
video or that might result in an erroneous transcoding. These warnings are
generated before YouTube actually processes the uploaded video file. In
addition, they identify issues that are unlikely to cause the video processing
to fail but that might cause problems such as sync issues, video artifacts, or
a missing audio track.
Corresponds to the JSON property processingWarnings
8246 8247 8248 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8246 def processing_warnings @processing_warnings end |
#tag_suggestions ⇒ Array<Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion>
A list of keyword tags that could be added to the video's metadata to increase
the likelihood that users will locate your video when searching or browsing on
YouTube.
Corresponds to the JSON property tagSuggestions
8253 8254 8255 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8253 def tag_suggestions @tag_suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8260 8261 8262 8263 8264 8265 8266 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8260 def update!(**args) @editor_suggestions = args[:editor_suggestions] if args.key?(:editor_suggestions) @processing_errors = args[:processing_errors] if args.key?(:processing_errors) @processing_hints = args[:processing_hints] if args.key?(:processing_hints) @processing_warnings = args[:processing_warnings] if args.key?(:processing_warnings) @tag_suggestions = args[:tag_suggestions] if args.key?(:tag_suggestions) end |