class Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly
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.
Attributes
If set, access is controlled only by bucket-level or above IAM policies. Corresponds to the JSON property `enabled` @return [Boolean]
If set, access is controlled only by bucket-level or above IAM policies. Corresponds to the JSON property `enabled` @return [Boolean]
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. Corresponds to the JSON property `lockedTime` @return [DateTime]
Public Class Methods
# File lib/google/apis/storage_v1/classes.rb, line 381 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/storage_v1/classes.rb, line 386 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @locked_time = args[:locked_time] if args.key?(:locked_time) end