Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig.
Encryption configuration for a new database being created from another source.
The source could be a Backup .
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#customer_managed_encryption
def customer_managed_encryption() -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
#customer_managed_encryption=
def customer_managed_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
#google_default_encryption
def google_default_encryption() -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
#google_default_encryption=
def google_default_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
#use_source_encryption
def use_source_encryption() -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.
#use_source_encryption=
def use_source_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.