Cloud Spanner Database Admin V1 API - Class Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo (v0.20.0)

Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo.

Encryption information for a Cloud Spanner database or backup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#encryption_status

def encryption_status() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.

#encryption_type

def encryption_type() -> ::Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo::Type
Returns

#kms_key_version

def kms_key_version() -> ::String
Returns
  • (::String) — Output only. A Cloud KMS key version that is being used to protect the database or backup.