Googly.CloudStorage.Model.BucketEncryption (googly_cloud_storage v0.1.0)

Copy Markdown View Source

Encryption configuration for a bucket.

Attributes

  • customer_managed_encryption_enforcement_config (type: Googly.CloudStorage.Model.BucketEncryptionCustomerManagedEncryptionEnforcementConfig.t()) - If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Managed Encryption type by default.
  • customer_supplied_encryption_enforcement_config (type: Googly.CloudStorage.Model.BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig.t()) - If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Supplied Encryption type by default.
  • default_kms_key_name (type: String.t()) - A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
  • google_managed_encryption_enforcement_config (type: Googly.CloudStorage.Model.BucketEncryptionGoogleManagedEncryptionEnforcementConfig.t()) - If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Google Managed Encryption type by default.

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.BucketEncryption{
  customer_managed_encryption_enforcement_config:
    Googly.CloudStorage.Model.BucketEncryptionCustomerManagedEncryptionEnforcementConfig.t()
    | nil,
  customer_supplied_encryption_enforcement_config:
    Googly.CloudStorage.Model.BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig.t()
    | nil,
  default_kms_key_name: String.t() | nil,
  google_managed_encryption_enforcement_config:
    Googly.CloudStorage.Model.BucketEncryptionGoogleManagedEncryptionEnforcementConfig.t()
    | nil
}