Class: Google::Apis::YoutubePartnerV1::Requirements

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Requirements

Returns a new instance of Requirements.


3167
3168
3169
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3167

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

Instance Attribute Details

#captionBoolean Also known as: caption?

This value indicates whether the order requires closed captions. Corresponds to the JSON property caption

Returns:

  • (Boolean)

3133
3134
3135
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3133

def caption
  @caption
end

#hd_transcodeBoolean Also known as: hd_transcode?

This value indicates whether the order requires HD-quality video. Corresponds to the JSON property hdTranscode

Returns:

  • (Boolean)

3139
3140
3141
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3139

def hd_transcode
  @hd_transcode
end

#poster_artBoolean Also known as: poster_art?

This value indicates whether the order requires poster artwork. Corresponds to the JSON property posterArt

Returns:

  • (Boolean)

3145
3146
3147
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3145

def poster_art
  @poster_art
end

#spotlight_artBoolean Also known as: spotlight_art?

This value indicates whether the order requires spotlight artwork. Corresponds to the JSON property spotlightArt

Returns:

  • (Boolean)

3151
3152
3153
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3151

def spotlight_art
  @spotlight_art
end

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

Returns:

  • (Boolean)

3158
3159
3160
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3158

def spotlight_review
  @spotlight_review
end

#trailerBoolean Also known as: trailer?

This value indicates whether the order requires a trailer. Corresponds to the JSON property trailer

Returns:

  • (Boolean)

3164
3165
3166
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3164

def trailer
  @trailer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3172
3173
3174
3175
3176
3177
3178
3179
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3172

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