Class Bucket.EncryptionData
Encryption configuration for a bucket.
Inherited Members
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Bucket.EncryptionData
Properties
CustomerManagedEncryptionEnforcementConfig
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.
Declaration
[JsonProperty("customerManagedEncryptionEnforcementConfig")]
public virtual Bucket.EncryptionData.CustomerManagedEncryptionEnforcementConfigData CustomerManagedEncryptionEnforcementConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Bucket.EncryptionData.CustomerManagedEncryptionEnforcementConfigData |
CustomerSuppliedEncryptionEnforcementConfig
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.
Declaration
[JsonProperty("customerSuppliedEncryptionEnforcementConfig")]
public virtual Bucket.EncryptionData.CustomerSuppliedEncryptionEnforcementConfigData CustomerSuppliedEncryptionEnforcementConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Bucket.EncryptionData.CustomerSuppliedEncryptionEnforcementConfigData |
DefaultKmsKeyName
A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
Declaration
[JsonProperty("defaultKmsKeyName")]
public virtual string DefaultKmsKeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GoogleManagedEncryptionEnforcementConfig
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.
Declaration
[JsonProperty("googleManagedEncryptionEnforcementConfig")]
public virtual Bucket.EncryptionData.GoogleManagedEncryptionEnforcementConfigData GoogleManagedEncryptionEnforcementConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Bucket.EncryptionData.GoogleManagedEncryptionEnforcementConfigData |