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.



1669
1670
1671
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1669

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)


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