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
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
Note: The following fields are mutually exclusive:
customer_managed_encryption
,google_default_encryption
,use_source_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#customer_managed_encryption=
def customer_managed_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions
-
value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
Note: The following fields are mutually exclusive:
customer_managed_encryption
,google_default_encryption
,use_source_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::CustomerManagedEncryptionOptions) — Use Customer Managed Encryption Keys (CMEK) for encryption.
Note: The following fields are mutually exclusive:
customer_managed_encryption
,google_default_encryption
,use_source_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_default_encryption
def google_default_encryption() -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
Note: The following fields are mutually exclusive:
google_default_encryption
,use_source_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_default_encryption=
def google_default_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions
-
value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
Note: The following fields are mutually exclusive:
google_default_encryption
,use_source_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::GoogleDefaultEncryptionOptions) — Use Google default encryption.
Note: The following fields are mutually exclusive:
google_default_encryption
,use_source_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#use_source_encryption
def use_source_encryption() -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.
Note: The following fields are mutually exclusive:
use_source_encryption
,google_default_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#use_source_encryption=
def use_source_encryption=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions
-
value (::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.
Note: The following fields are mutually exclusive:
use_source_encryption
,google_default_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::Admin::V1::Database::EncryptionConfig::SourceEncryptionOptions) — The database will use the same encryption configuration as the source.
Note: The following fields are mutually exclusive:
use_source_encryption
,google_default_encryption
,customer_managed_encryption
. If a field in that set is populated, all other fields in the set will automatically be cleared.