Class: Google::Apis::TranscoderV1::DrmSystems
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::DrmSystems
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Defines configuration for DRM systems in use.
Instance Attribute Summary collapse
-
#clearkey ⇒ Google::Apis::TranscoderV1::Clearkey
Clearkey configuration.
-
#fairplay ⇒ Google::Apis::TranscoderV1::Fairplay
Fairplay configuration.
-
#playready ⇒ Google::Apis::TranscoderV1::Playready
Playready configuration.
-
#widevine ⇒ Google::Apis::TranscoderV1::Widevine
Widevine configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DrmSystems
constructor
A new instance of DrmSystems.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DrmSystems
Returns a new instance of DrmSystems.
589 590 591 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 589 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clearkey ⇒ Google::Apis::TranscoderV1::Clearkey
Clearkey configuration.
Corresponds to the JSON property clearkey
572 573 574 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 572 def clearkey @clearkey end |
#fairplay ⇒ Google::Apis::TranscoderV1::Fairplay
Fairplay configuration.
Corresponds to the JSON property fairplay
577 578 579 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 577 def fairplay @fairplay end |
#playready ⇒ Google::Apis::TranscoderV1::Playready
Playready configuration.
Corresponds to the JSON property playready
582 583 584 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 582 def playready @playready end |
#widevine ⇒ Google::Apis::TranscoderV1::Widevine
Widevine configuration.
Corresponds to the JSON property widevine
587 588 589 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 587 def widevine @widevine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
594 595 596 597 598 599 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 594 def update!(**args) @clearkey = args[:clearkey] if args.key?(:clearkey) @fairplay = args[:fairplay] if args.key?(:fairplay) @playready = args[:playready] if args.key?(:playready) @widevine = args[:widevine] if args.key?(:widevine) end |