Class: Google::Cloud::Video::Transcoder::V1::Encryption

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/transcoder/v1/resources.rb

Overview

Encryption settings.

Defined Under Namespace

Classes: Aes128Encryption, Clearkey, DrmSystems, Fairplay, MpegCommonEncryption, Playready, SampleAesEncryption, SecretManagerSource, Widevine

Instance Attribute Summary collapse

Instance Attribute Details

#aes_128::Google::Cloud::Video::Transcoder::V1::Encryption::Aes128Encryption

Returns Configuration for AES-128 encryption.

Returns:



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#drm_systems::Google::Cloud::Video::Transcoder::V1::Encryption::DrmSystems

Returns Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

Returns:



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#id::String

Returns Required. Identifier for this set of encryption options.

Returns:

  • (::String)

    Required. Identifier for this set of encryption options.



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#mpeg_cenc::Google::Cloud::Video::Transcoder::V1::Encryption::MpegCommonEncryption

Returns Configuration for MPEG Common Encryption (MPEG-CENC).

Returns:



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#sample_aes::Google::Cloud::Video::Transcoder::V1::Encryption::SampleAesEncryption

Returns Configuration for SAMPLE-AES encryption.

Returns:



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#secret_manager_key_source::Google::Cloud::Video::Transcoder::V1::Encryption::SecretManagerSource

Returns Keys are stored in Google Secret Manager.

Returns:



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1411

class Encryption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme.
  #
  #     Supported encryption schemes:
  #
  #     - `cenc`
  #     - `cbcs`
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key in
  #     the following format:
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  #
  #     Note that only numbered versions are supported. Aliases like "latest" are
  #     not supported.
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end