Google Cloud Video Live Stream V1 Client - Class Encryption (0.3.2)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Encryption.

Encryption settings.

Generated from protobuf message google.cloud.video.livestream.v1.Encryption

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Required. Identifier for this set of encryption options.

↳ secret_manager_key_source Google\Cloud\Video\LiveStream\V1\Encryption\SecretManagerSource

For keys stored in Google Secret Manager.

↳ drm_systems Google\Cloud\Video\LiveStream\V1\Encryption\DrmSystems

Required. Configuration for DRM systems.

↳ aes128 Google\Cloud\Video\LiveStream\V1\Encryption\Aes128Encryption

Configuration for HLS AES-128 encryption.

↳ sample_aes Google\Cloud\Video\LiveStream\V1\Encryption\SampleAesEncryption

Configuration for HLS SAMPLE-AES encryption.

↳ mpeg_cenc Google\Cloud\Video\LiveStream\V1\Encryption\MpegCommonEncryption

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

getId

Required. Identifier for this set of encryption options.

Returns
TypeDescription
string

setId

Required. Identifier for this set of encryption options.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecretManagerKeySource

For keys stored in Google Secret Manager.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\SecretManagerSource|null

hasSecretManagerKeySource

setSecretManagerKeySource

For keys stored in Google Secret Manager.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\SecretManagerSource
Returns
TypeDescription
$this

getDrmSystems

Required. Configuration for DRM systems.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\DrmSystems|null

hasDrmSystems

clearDrmSystems

setDrmSystems

Required. Configuration for DRM systems.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\DrmSystems
Returns
TypeDescription
$this

getAes128

Configuration for HLS AES-128 encryption.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\Aes128Encryption|null

hasAes128

setAes128

Configuration for HLS AES-128 encryption.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\Aes128Encryption
Returns
TypeDescription
$this

getSampleAes

Configuration for HLS SAMPLE-AES encryption.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\SampleAesEncryption|null

hasSampleAes

setSampleAes

Configuration for HLS SAMPLE-AES encryption.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\SampleAesEncryption
Returns
TypeDescription
$this

getMpegCenc

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

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\MpegCommonEncryption|null

hasMpegCenc

setMpegCenc

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

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\MpegCommonEncryption
Returns
TypeDescription
$this

getSecretSource

Returns
TypeDescription
string

getEncryptionMode

Returns
TypeDescription
string