[[["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 Redis Cluster V1 Client - Class EncryptionInfo (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.EncryptionInfo)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.EncryptionInfo)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.EncryptionInfo)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.EncryptionInfo)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.EncryptionInfo)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.EncryptionInfo) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class EncryptionInfo.\n\nEncryptionInfo describes the encryption information of a cluster or a backup.\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.EncryptionInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEncryptionType\n\nOutput only. Type of encryption.\n\n### setEncryptionType\n\nOutput only. Type of encryption.\n\n### getKmsKeyVersions\n\nOutput only. KMS key versions that are being used to protect the data\nat-rest.\n\n### setKmsKeyVersions\n\nOutput only. KMS key versions that are being used to protect the data\nat-rest.\n\n### getKmsKeyPrimaryState\n\nOutput only. The state of the primary version of the KMS key perceived by\nthe system. This field is not populated in backups.\n\n### setKmsKeyPrimaryState\n\nOutput only. The state of the primary version of the KMS key perceived by\nthe system. This field is not populated in backups.\n\n### getLastUpdateTime\n\nOutput only. The most recent time when the encryption info was updated.\n\n### hasLastUpdateTime\n\n### clearLastUpdateTime\n\n### setLastUpdateTime\n\nOutput only. The most recent time when the encryption info was updated."]]