Class: Google::Storage::Data::BucketWebsiteApi
- Inherits:
-
BucketWebsite
- Object
- BucketWebsite
- Google::Storage::Data::BucketWebsiteApi
- 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
-
#initialize(args) ⇒ BucketWebsiteApi
constructor
A new instance of BucketWebsiteApi.
Methods inherited from BucketWebsite
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 |