class Google::Apis::TranscoderV1beta1::Encryption

Encryption settings.

Attributes

aes128[RW]

Configuration for AES-128 encryption. Corresponds to the JSON property `aes128` @return [Google::Apis::TranscoderV1beta1::Aes128Encryption]

iv[RW]

Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits. Corresponds to the JSON property `iv` @return [String]

key[RW]

Required. 128 bit encryption key represented as lowercase hexadecimal digits. Corresponds to the JSON property `key` @return [String]

mpeg_cenc[RW]

Configuration for MPEG Common Encryption (MPEG-CENC). Corresponds to the JSON property `mpegCenc` @return [Google::Apis::TranscoderV1beta1::MpegCommonEncryption]

sample_aes[RW]

Configuration for SAMPLE-AES encryption. Corresponds to the JSON property `sampleAes` @return [Google::Apis::TranscoderV1beta1::SampleAesEncryption]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 615
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 620
def update!(**args)
  @aes128 = args[:aes128] if args.key?(:aes128)
  @iv = args[:iv] if args.key?(:iv)
  @key = args[:key] if args.key?(:key)
  @mpeg_cenc = args[:mpeg_cenc] if args.key?(:mpeg_cenc)
  @sample_aes = args[:sample_aes] if args.key?(:sample_aes)
end