class Google::Apis::TranscoderV1beta1::MpegCommonEncryption

Configuration for MPEG Common Encryption (MPEG-CENC).

Attributes

key_id[RW]

Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption. Corresponds to the JSON property `keyId` @return [String]

scheme[RW]

Required. Specify the encryption scheme. Supported encryption schemes: - 'cenc'

  • 'cbcs'

Corresponds to the JSON property `scheme` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1034
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1039
def update!(**args)
  @key_id = args[:key_id] if args.key?(:key_id)
  @scheme = args[:scheme] if args.key?(:scheme)
end