GetBucketEncryption class
Constructors
-
GetBucketEncryption({required Input<
List< customerManagedEncryptionEnforcementConfigs, required Input<GetBucketEncryptionCustomerManagedEncryptionEnforcementConfig> >List< customerSuppliedEncryptionEnforcementConfigs, required Input<GetBucketEncryptionCustomerSuppliedEncryptionEnforcementConfig> >String> defaultKmsKeyName, required Input<List< googleManagedEncryptionEnforcementConfigs})GetBucketEncryptionGoogleManagedEncryptionEnforcementConfig> > -
Creates a new GetBucketEncryption.
customerManagedEncryptionEnforcementConfigsIf omitted, then new objects with CMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.customerSuppliedEncryptionEnforcementConfigsIf omitted, then new objects with CSEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.defaultKmsKeyNameA Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.googleManagedEncryptionEnforcementConfigsIf omitted, then new objects with GMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.const -
GetBucketEncryption.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customerManagedEncryptionEnforcementConfigs
→ Input<
List< GetBucketEncryptionCustomerManagedEncryptionEnforcementConfig> > -
If omitted, then new objects with CMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
final
-
customerSuppliedEncryptionEnforcementConfigs
→ Input<
List< GetBucketEncryptionCustomerSuppliedEncryptionEnforcementConfig> > -
If omitted, then new objects with CSEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
final
-
defaultKmsKeyName
→ Input<
String> -
A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
final
-
googleManagedEncryptionEnforcementConfigs
→ Input<
List< GetBucketEncryptionGoogleManagedEncryptionEnforcementConfig> > -
If omitted, then new objects with GMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited