Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
- 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
The configuration options for using CMEK (Customer Managed Encryption Key) encryption.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
constructor
A new instance of GoogleFirestoreAdminV1CustomerManagedEncryptionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Returns a new instance of GoogleFirestoreAdminV1CustomerManagedEncryptionOptions.
1462 1463 1464 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
Required. Only keys in the same location as the database are allowed to be
used for encryption. For Firestore's nam5 multi-region, this corresponds to
Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds
to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/
locations. The expected format is projects/
project_id/locations/
kms_location/keyRings/
key_ring/cryptoKeys/
crypto_key`.
Corresponds to the JSON property
kmsKeyName`
1460 1461 1462 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1460 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1467 1468 1469 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1467 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |