[[["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-09 UTC."],[],[],null,["# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::EncryptionInfo (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [1.0.1](/ruby/docs/reference/google-cloud-redis-cluster-v1/1.0.1/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.6.0/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.5.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.5.0/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.4.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.4.2/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.3.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.3.0/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.2.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.2.2/Google-Cloud-Redis-Cluster-V1-EncryptionInfo)\n- [0.1.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.1.0/Google-Cloud-Redis-Cluster-V1-EncryptionInfo) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::EncryptionInfo.\n\nEncryptionInfo describes the encryption information of a cluster or a backup. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #encryption_type\n\n def encryption_type() -\u003e ::Google::Cloud::Redis::Cluster::V1::EncryptionInfo::Type\n\n**Returns**\n\n- ([::Google::Cloud::Redis::Cluster::V1::EncryptionInfo::Type](./Google-Cloud-Redis-Cluster-V1-EncryptionInfo-Type)) --- Output only. Type of encryption.\n\n### #kms_key_primary_state\n\n def kms_key_primary_state() -\u003e ::Google::Cloud::Redis::Cluster::V1::EncryptionInfo::KmsKeyState\n\n**Returns**\n\n- ([::Google::Cloud::Redis::Cluster::V1::EncryptionInfo::KmsKeyState](./Google-Cloud-Redis-Cluster-V1-EncryptionInfo-KmsKeyState)) --- Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.\n\n### #kms_key_versions\n\n def kms_key_versions() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Output only. KMS key versions that are being used to protect the data at-rest.\n\n### #last_update_time\n\n def last_update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The most recent time when the encryption info was updated."]]