Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class Encryption.
Encryption settings.
Generated from protobuf message google.cloud.video.transcoder.v1beta1.Encryption
Namespace
Google \ Cloud \ Video \ Transcoder \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
Required. 128 bit encryption key represented as lowercase hexadecimal digits. |
↳ iv |
string
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits. |
↳ aes_128 |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\Aes128Encryption
Configuration for AES-128 encryption. |
↳ sample_aes |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\SampleAesEncryption
Configuration for SAMPLE-AES encryption. |
↳ mpeg_cenc |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\MpegCommonEncryption
Configuration for MPEG Common Encryption (MPEG-CENC). |
getKey
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
Returns | |
---|---|
Type | Description |
string |
setKey
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIv
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
Returns | |
---|---|
Type | Description |
string |
setIv
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAes128
Configuration for AES-128 encryption.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\Aes128Encryption|null |
hasAes128
setAes128
Configuration for AES-128 encryption.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\Aes128Encryption
|
Returns | |
---|---|
Type | Description |
$this |
getSampleAes
Configuration for SAMPLE-AES encryption.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\SampleAesEncryption|null |
hasSampleAes
setSampleAes
Configuration for SAMPLE-AES encryption.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\SampleAesEncryption
|
Returns | |
---|---|
Type | Description |
$this |
getMpegCenc
Configuration for MPEG Common Encryption (MPEG-CENC).
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\MpegCommonEncryption|null |
hasMpegCenc
setMpegCenc
Configuration for MPEG Common Encryption (MPEG-CENC).
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\Transcoder\V1beta1\Encryption\MpegCommonEncryption
|
Returns | |
---|---|
Type | Description |
$this |
getEncryptionMode
Returns | |
---|---|
Type | Description |
string |