Google Cloud Video Transcoder V1 Client - Class Encryption (1.1.0)

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

Encryption settings.

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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ id
string

Required. Identifier for this set of encryption options.

↳ aes_128
Encryption\Aes128Encryption

Configuration for AES-128 encryption.

↳ sample_aes
Encryption\SampleAesEncryption

Configuration for SAMPLE-AES encryption.

↳ mpeg_cenc
Encryption\MpegCommonEncryption

Configuration for MPEG Common Encryption (MPEG-CENC).

↳ secret_manager_key_source
Encryption\SecretManagerSource

Keys are stored in Google Secret Manager.

↳ drm_systems
Encryption\DrmSystems

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

getId

Required. Identifier for this set of encryption options.

Returns
Type
Description
string

setId

Required. Identifier for this set of encryption options.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAes128

Configuration for AES-128 encryption.

Returns
Type
Description

hasAes128

setAes128

Configuration for AES-128 encryption.

Parameter
Name
Description
Returns
Type
Description
$this

getSampleAes

Configuration for SAMPLE-AES encryption.

Returns
Type
Description

hasSampleAes

setSampleAes

Configuration for SAMPLE-AES encryption.

Parameter
Name
Description
Returns
Type
Description
$this

getMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

Returns
Type
Description

hasMpegCenc

setMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

Parameter
Name
Description
Returns
Type
Description
$this

getSecretManagerKeySource

Keys are stored in Google Secret Manager.

Returns
Type
Description

hasSecretManagerKeySource

setSecretManagerKeySource

Keys are stored in Google Secret Manager.

Parameter
Name
Description
Returns
Type
Description
$this

getDrmSystems

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

Returns
Type
Description

hasDrmSystems

clearDrmSystems

setDrmSystems

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

Parameter
Name
Description
Returns
Type
Description
$this

getEncryptionMode

Returns
Type
Description
string

getSecretSource

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: