Class: Google::Apis::YoutubeV3::VideoSuggestions

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

Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.

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) ⇒ VideoSuggestions

Returns a new instance of VideoSuggestions



8435
8436
8437
# File 'generated/google/apis/youtube_v3/classes.rb', line 8435

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

Instance Attribute Details

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

Returns:

  • (Array<String>)


8403
8404
8405
# File 'generated/google/apis/youtube_v3/classes.rb', line 8403

def editor_suggestions
  @editor_suggestions
end

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

Returns:

  • (Array<String>)


8411
8412
8413
# File 'generated/google/apis/youtube_v3/classes.rb', line 8411

def processing_errors
  @processing_errors
end

#processing_hintsArray<String>

A list of suggestions that may improve YouTube's ability to process the video. Corresponds to the JSON property processingHints

Returns:

  • (Array<String>)


8416
8417
8418
# File 'generated/google/apis/youtube_v3/classes.rb', line 8416

def processing_hints
  @processing_hints
end

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

Returns:

  • (Array<String>)


8426
8427
8428
# File 'generated/google/apis/youtube_v3/classes.rb', line 8426

def processing_warnings
  @processing_warnings
end

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



8433
8434
8435
# File 'generated/google/apis/youtube_v3/classes.rb', line 8433

def tag_suggestions
  @tag_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8440
8441
8442
8443
8444
8445
8446
# File 'generated/google/apis/youtube_v3/classes.rb', line 8440

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