Class: Google::Storage::Data::BucketWebsiteCatalog

Inherits:
BucketWebsite
  • Object
show all
Defined in:
lib/google/storage/property/bucket_website.rb

Overview

Manages a BucketWebsite nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from BucketWebsite

#main_page_suffix, #not_found_page

Instance Method Summary collapse

Methods inherited from BucketWebsite

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

Constructor Details

#initialize(args) ⇒ BucketWebsiteCatalog

Returns a new instance of BucketWebsiteCatalog.



95
96
97
98
99
# File 'lib/google/storage/property/bucket_website.rb', line 95

def initialize(args)
  @main_page_suffix =
    Google::Storage::Property::String.unsafe_munge(args['main_page_suffix'])
  @not_found_page = Google::Storage::Property::String.unsafe_munge(args['not_found_page'])
end