Class: Google::Storage::Data::BucketWebsiteApi

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

Overview

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

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) ⇒ BucketWebsiteApi

Returns a new instance of BucketWebsiteApi.



86
87
88
89
# File 'lib/google/storage/property/bucket_website.rb', line 86

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