lib/google/cloud/storage/bucket/acl.rb in google-cloud-storage-0.21.0 vs lib/google/cloud/storage/bucket/acl.rb in google-cloud-storage-0.23.0

- old
+ new

@@ -654,11 +654,11 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.auth! + # bucket.default_acl.auth! # def auth! update_predefined_default_acl! "authenticatedRead" end alias_method :authenticatedRead!, :auth! @@ -675,11 +675,11 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.owner_full! + # bucket.default_acl.owner_full! # def owner_full! update_predefined_default_acl! "bucketOwnerFullControl" end alias_method :bucketOwnerFullControl!, :owner_full! @@ -693,11 +693,11 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.owner_read! + # bucket.default_acl.owner_read! # def owner_read! update_predefined_default_acl! "bucketOwnerRead" end alias_method :bucketOwnerRead!, :owner_read! @@ -711,11 +711,11 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.private! + # bucket.default_acl.private! # def private! update_predefined_default_acl! "private" end @@ -728,11 +728,11 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.project_private! + # bucket.default_acl.project_private! # def project_private! update_predefined_default_acl! "projectPrivate" end alias_method :projectPrivate!, :project_private! @@ -746,10 +746,10 @@ # # storage = Google::Cloud::Storage.new # # bucket = storage.bucket "my-bucket" # - # bucket.acl.public! + # bucket.default_acl.public! # def public! update_predefined_default_acl! "publicRead" end alias_method :publicRead!, :public!