BucketIamConfigurationBucketPolicyOnlyArgs

data class BucketIamConfigurationBucketPolicyOnlyArgs(val enabled: Output<Boolean>? = null, val lockedTime: Output<String>? = null) : ConvertibleToJava<BucketIamConfigurationBucketPolicyOnlyArgs>

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

Constructors

fun BucketIamConfigurationBucketPolicyOnlyArgs(enabled: Output<Boolean>? = null, lockedTime: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): BucketIamConfigurationBucketPolicyOnlyArgs

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

If set, access is controlled only by bucket-level or above IAM policies.

Link copied to clipboard
val lockedTime: Output<String>? = null

The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed from true to false until the locked time, after which the field is immutable.