Class: Google::Apis::TranscoderV1::MpegCommonEncryption
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::MpegCommonEncryption
- 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
Configuration for MPEG Common Encryption (MPEG-CENC).
Instance Attribute Summary collapse
-
#scheme ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MpegCommonEncryption
constructor
A new instance of MpegCommonEncryption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MpegCommonEncryption
Returns a new instance of MpegCommonEncryption.
1702 1703 1704 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scheme ⇒ String
Required. Specify the encryption scheme. Supported encryption schemes: - cenc
cbcsCorresponds to the JSON propertyscheme
1700 1701 1702 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1700 def scheme @scheme end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1707 1708 1709 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1707 def update!(**args) @scheme = args[:scheme] if args.key?(:scheme) end |