Class: Google::Apis::TranscoderV1::Encryption
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Encryption
- 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
Encryption settings.
Instance Attribute Summary collapse
-
#aes128 ⇒ Google::Apis::TranscoderV1::Aes128Encryption
Configuration for AES-128 encryption.
-
#drm_systems ⇒ Google::Apis::TranscoderV1::DrmSystems
Defines configuration for DRM systems in use.
-
#id ⇒ String
Required.
-
#mpeg_cenc ⇒ Google::Apis::TranscoderV1::MpegCommonEncryption
Configuration for MPEG Common Encryption (MPEG-CENC).
-
#sample_aes ⇒ Google::Apis::TranscoderV1::SampleAesEncryption
Configuration for SAMPLE-AES encryption.
-
#secret_manager_key_source ⇒ Google::Apis::TranscoderV1::SecretManagerSource
Configuration for secrets stored in Google Secret Manager.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Encryption
constructor
A new instance of Encryption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Encryption
Returns a new instance of Encryption.
732 733 734 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aes128 ⇒ Google::Apis::TranscoderV1::Aes128Encryption
Configuration for AES-128 encryption.
Corresponds to the JSON property aes128
705 706 707 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 705 def aes128 @aes128 end |
#drm_systems ⇒ Google::Apis::TranscoderV1::DrmSystems
Defines configuration for DRM systems in use.
Corresponds to the JSON property drmSystems
710 711 712 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 710 def drm_systems @drm_systems end |
#id ⇒ String
Required. Identifier for this set of encryption options.
Corresponds to the JSON property id
715 716 717 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 715 def id @id end |
#mpeg_cenc ⇒ Google::Apis::TranscoderV1::MpegCommonEncryption
Configuration for MPEG Common Encryption (MPEG-CENC).
Corresponds to the JSON property mpegCenc
720 721 722 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 720 def mpeg_cenc @mpeg_cenc end |
#sample_aes ⇒ Google::Apis::TranscoderV1::SampleAesEncryption
Configuration for SAMPLE-AES encryption.
Corresponds to the JSON property sampleAes
725 726 727 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 725 def sample_aes @sample_aes end |
#secret_manager_key_source ⇒ Google::Apis::TranscoderV1::SecretManagerSource
Configuration for secrets stored in Google Secret Manager.
Corresponds to the JSON property secretManagerKeySource
730 731 732 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 730 def secret_manager_key_source @secret_manager_key_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 741 742 743 744 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 737 def update!(**args) @aes128 = args[:aes128] if args.key?(:aes128) @drm_systems = args[:drm_systems] if args.key?(:drm_systems) @id = args[:id] if args.key?(:id) @mpeg_cenc = args[:mpeg_cenc] if args.key?(:mpeg_cenc) @sample_aes = args[:sample_aes] if args.key?(:sample_aes) @secret_manager_key_source = args[:secret_manager_key_source] if args.key?(:secret_manager_key_source) end |