generated/google/apis/storage_v1/classes.rb in google-api-client-0.50.0 vs generated/google/apis/storage_v1/classes.rb in google-api-client-0.51.0

- old
+ new

@@ -325,10 +325,16 @@ # disable the feature. # Corresponds to the JSON property `bucketPolicyOnly` # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly] attr_accessor :bucket_policy_only + # The bucket's Public Access Prevention configuration. Currently, 'unspecified' + # and 'enforced' are supported. + # Corresponds to the JSON property `publicAccessPrevention` + # @return [String] + attr_accessor :public_access_prevention + # The bucket's uniform bucket-level access configuration. # Corresponds to the JSON property `uniformBucketLevelAccess` # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess] attr_accessor :uniform_bucket_level_access @@ -337,9 +343,10 @@ end # Update properties of this object def update!(**args) @bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only) + @public_access_prevention = args[:public_access_prevention] if args.key?(:public_access_prevention) @uniform_bucket_level_access = args[:uniform_bucket_level_access] if args.key?(:uniform_bucket_level_access) end # The bucket's uniform bucket-level access configuration. The feature was # formerly known as Bucket Policy Only. For backward compatibility, this field