Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/representations.rb
Overview
Encryption configuration for a new database being created from another source. The source could be a Backup or a DatabaseSnapshot.
Instance Attribute Summary collapse
-
#customer_managed_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
The configuration options for using CMEK (Customer Managed Encryption Key) encryption.
-
#google_default_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
The configuration options for using Google default encryption.
-
#use_source_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceEncryptionOptions
The configuration options for using the same encryption method as the source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1EncryptionConfig
constructor
A new instance of GoogleFirestoreAdminV1EncryptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1EncryptionConfig
Returns a new instance of GoogleFirestoreAdminV1EncryptionConfig.
1621 1622 1623 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_managed_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
The configuration options for using CMEK (Customer Managed Encryption Key)
encryption.
Corresponds to the JSON property customerManagedEncryption
1609 1610 1611 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1609 def customer_managed_encryption @customer_managed_encryption end |
#google_default_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
The configuration options for using Google default encryption.
Corresponds to the JSON property googleDefaultEncryption
1614 1615 1616 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1614 def google_default_encryption @google_default_encryption end |
#use_source_encryption ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceEncryptionOptions
The configuration options for using the same encryption method as the source.
Corresponds to the JSON property useSourceEncryption
1619 1620 1621 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1619 def use_source_encryption @use_source_encryption end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1626 1627 1628 1629 1630 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1626 def update!(**args) @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption) @google_default_encryption = args[:google_default_encryption] if args.key?(:google_default_encryption) @use_source_encryption = args[:use_source_encryption] if args.key?(:use_source_encryption) end |