lib/google/cloud/storage/bucket.rb in google-cloud-storage-1.46.0 vs lib/google/cloud/storage/bucket.rb in google-cloud-storage-1.47.0
- old
+ new
@@ -117,9 +117,18 @@
def autoclass
@gapi.autoclass
end
##
+ # The object retention configuration of the bucket
+ #
+ # @return [Google::Apis::StorageV1::Bucket::ObjectRetention]
+ #
+ def object_retention
+ @gapi.object_retention
+ end
+
+ ##
# The name of the bucket.
#
# @return [String]
#
def name