View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1EncryptionConfig (google_api_firestore v0.31.0)

Encryption configuration for a new database being created from another source. The source could be a Backup .

Attributes

  • customerManagedEncryption (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1CustomerManagedEncryptionOptions.t, default: nil) - Use Customer Managed Encryption Keys (CMEK) for encryption.
  • googleDefaultEncryption (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions.t, default: nil) - Use Google default encryption.
  • useSourceEncryption (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1SourceEncryptionOptions.t, default: nil) - The database will use the same encryption configuration as the source.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1EncryptionConfig{
  customerManagedEncryption:
    GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1CustomerManagedEncryptionOptions.t()
    | nil,
  googleDefaultEncryption:
    GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions.t()
    | nil,
  useSourceEncryption:
    GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1SourceEncryptionOptions.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.