Class: Google::Apis::YoutubePartnerV1::Requirements
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Requirements
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#caption ⇒ Boolean
(also: #caption?)
This value indicates whether the order requires closed captions.
-
#hd_transcode ⇒ Boolean
(also: #hd_transcode?)
This value indicates whether the order requires HD-quality video.
-
#poster_art ⇒ Boolean
(also: #poster_art?)
This value indicates whether the order requires poster artwork.
-
#spotlight_art ⇒ Boolean
(also: #spotlight_art?)
This value indicates whether the order requires spotlight artwork.
-
#spotlight_review ⇒ Boolean
(also: #spotlight_review?)
This value indicates whether the spotlight artwork for the order needs to be reviewed.
-
#trailer ⇒ Boolean
(also: #trailer?)
This value indicates whether the order requires a trailer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Requirements
constructor
A new instance of Requirements.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Requirements
Returns a new instance of Requirements
3347 3348 3349 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3347 def initialize(**args) update!(**args) end |
Instance Attribute Details
#caption ⇒ Boolean Also known as: caption?
This value indicates whether the order requires closed captions.
Corresponds to the JSON property caption
3313 3314 3315 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3313 def caption @caption end |
#hd_transcode ⇒ Boolean Also known as: hd_transcode?
This value indicates whether the order requires HD-quality video.
Corresponds to the JSON property hdTranscode
3319 3320 3321 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3319 def hd_transcode @hd_transcode end |
#poster_art ⇒ Boolean Also known as: poster_art?
This value indicates whether the order requires poster artwork.
Corresponds to the JSON property posterArt
3325 3326 3327 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3325 def poster_art @poster_art end |
#spotlight_art ⇒ Boolean Also known as: spotlight_art?
This value indicates whether the order requires spotlight artwork.
Corresponds to the JSON property spotlightArt
3331 3332 3333 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3331 def spotlight_art @spotlight_art end |
#spotlight_review ⇒ Boolean Also known as: spotlight_review?
This value indicates whether the spotlight artwork for the order needs to be
reviewed.
Corresponds to the JSON property spotlightReview
3338 3339 3340 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3338 def spotlight_review @spotlight_review end |
#trailer ⇒ Boolean Also known as: trailer?
This value indicates whether the order requires a trailer.
Corresponds to the JSON property trailer
3344 3345 3346 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3344 def trailer @trailer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3352 3353 3354 3355 3356 3357 3358 3359 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3352 def update!(**args) @caption = args[:caption] if args.key?(:caption) @hd_transcode = args[:hd_transcode] if args.key?(:hd_transcode) @poster_art = args[:poster_art] if args.key?(:poster_art) @spotlight_art = args[:spotlight_art] if args.key?(:spotlight_art) @spotlight_review = args[:spotlight_review] if args.key?(:spotlight_review) @trailer = args[:trailer] if args.key?(:trailer) end |