Google Cloud Video Transcoder V1beta1 Client - Class MpegCommonEncryption (0.8.2)

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 \ Encryption

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setKeyId

Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getScheme

Required. Specify the encryption scheme.

Supported encryption schemes:

  • 'cenc'
  • 'cbcs'
Returns
TypeDescription
string

setScheme

Required. Specify the encryption scheme.

Supported encryption schemes:

  • 'cenc'
  • 'cbcs'
Parameter
NameDescription
var string
Returns
TypeDescription
$this