Class: Google::Storage::Data::BucketVersioningApi

Inherits:
BucketVersioning show all
Defined in:
lib/google/storage/property/bucket_versioning.rb

Overview

Manages a BucketVersioning nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from BucketVersioning

#enabled

Instance Method Summary collapse

Methods inherited from BucketVersioning

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ BucketVersioningApi

Returns a new instance of BucketVersioningApi.



82
83
84
# File 'lib/google/storage/property/bucket_versioning.rb', line 82

def initialize(args)
  @enabled = Google::Storage::Property::Boolean.api_munge(args['enabled'])
end