Class: Google::Apis::TranscoderV1::MpegCommonEncryption

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MpegCommonEncryption

Returns a new instance of MpegCommonEncryption.



1568
1569
1570
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1568

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#schemeString

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

  • cbcs Corresponds to the JSON property scheme

Returns:

  • (String)


1566
1567
1568
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1566

def scheme
  @scheme
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1573
1574
1575
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1573

def update!(**args)
  @scheme = args[:scheme] if args.key?(:scheme)
end