Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class MpegCommonEncryption.
Configuration for MPEG Common Encryption (MPEG-CENC).
Generated from protobuf message google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption
Namespace
Google \ Cloud \ Video \ Transcoder \ V1beta1 \ EncryptionMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key_id |
string
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption. |
↳ scheme |
string
Required. Specify the encryption scheme. Supported encryption schemes: - 'cenc' - 'cbcs' |
getKeyId
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.
Returns | |
---|---|
Type | Description |
string |
setKeyId
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getScheme
Required. Specify the encryption scheme.
Supported encryption schemes:
- 'cenc'
- 'cbcs'
Returns | |
---|---|
Type | Description |
string |
setScheme
Required. Specify the encryption scheme.
Supported encryption schemes:
- 'cenc'
- 'cbcs'
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |