Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Encryption.
Encryption settings.
Generated from protobuf messagegoogle.cloud.video.livestream.v1.Encryption
Namespace
Google \ Cloud \ Video \ LiveStream \ 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. The ID must be 1-63 characters in length. The ID must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
getId
Required. Identifier for this set of encryption options. The ID must be
1-63 characters in length. The ID must begin and end with a letter
(regardless of case) or a number, but can contain dashes or underscores in
between.
Returns
Type
Description
string
setId
Required. Identifier for this set of encryption options. The ID must be
1-63 characters in length. The ID must begin and end with a letter
(regardless of case) or a number, but can contain dashes or underscores in
between.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class Encryption (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.Encryption)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.Encryption)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.Encryption)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.Encryption)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.Encryption)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.Encryption)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.Encryption)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.Encryption)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.Encryption)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.Encryption) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Encryption.\n\nEncryption settings.\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.Encryption`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nRequired. Identifier for this set of encryption options. The ID must be\n1-63 characters in length. The ID must begin and end with a letter\n(regardless of case) or a number, but can contain dashes or underscores in\nbetween.\n\n### setId\n\nRequired. Identifier for this set of encryption options. The ID must be\n1-63 characters in length. The ID must begin and end with a letter\n(regardless of case) or a number, but can contain dashes or underscores in\nbetween.\n\n### getSecretManagerKeySource\n\nFor keys stored in Google Secret Manager.\n\n### hasSecretManagerKeySource\n\n### setSecretManagerKeySource\n\nFor keys stored in Google Secret Manager.\n\n### getDrmSystems\n\nRequired. Configuration for DRM systems.\n\n### hasDrmSystems\n\n### clearDrmSystems\n\n### setDrmSystems\n\nRequired. Configuration for DRM systems.\n\n### getAes128\n\nConfiguration for HLS AES-128 encryption.\n\n### hasAes128\n\n### setAes128\n\nConfiguration for HLS AES-128 encryption.\n\n### getSampleAes\n\nConfiguration for HLS SAMPLE-AES encryption.\n\n### hasSampleAes\n\n### setSampleAes\n\nConfiguration for HLS SAMPLE-AES encryption.\n\n### getMpegCenc\n\nConfiguration for MPEG-Dash Common Encryption (MPEG-CENC).\n\n### hasMpegCenc\n\n### setMpegCenc\n\nConfiguration for MPEG-Dash Common Encryption (MPEG-CENC).\n\n### getSecretSource\n\n### getEncryptionMode"]]