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.
1669 1670 1671 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scheme ⇒ String
Required. Specify the encryption scheme. Supported encryption schemes: - cenc
cbcs
Corresponds to the JSON propertyscheme
1667 1668 1669 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1667 def scheme @scheme end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1674 1675 1676 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1674 def update!(**args) @scheme = args[:scheme] if args.key?(:scheme) end |