Class: Google::Apis::TranscoderV1::DrmSystems

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

Instance Method Summary collapse

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

#clearkeyGoogle::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

#fairplayGoogle::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

#playreadyGoogle::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

#widevineGoogle::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