Class: Google::Apis::TranscoderV1beta1::MpegCommonEncryption
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::MpegCommonEncryption
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb
Overview
Configuration for MPEG Common Encryption (MPEG-CENC).
Instance Attribute Summary collapse
-
#key_id ⇒ String
Required.
-
#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.
1032 1033 1034 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_id ⇒ String
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use
with common encryption.
Corresponds to the JSON property keyId
1024 1025 1026 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1024 def key_id @key_id end |
#scheme ⇒ String
Required. Specify the encryption scheme. Supported encryption schemes: - 'cenc'
- 'cbcs'
Corresponds to the JSON property
scheme
1030 1031 1032 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1030 def scheme @scheme end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1037 1038 1039 1040 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1037 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) @scheme = args[:scheme] if args.key?(:scheme) end |