class Google::Apis::StorageV1::Bucket::Website

The bucket's website configuration.

Attributes

main_page_suffix[RW]

Behaves as the bucket's directory index where missing objects are treated as potential directories. Corresponds to the JSON property `mainPageSuffix` @return [String]

not_found_page[RW]

The custom object to return when a requested resource is not found. Corresponds to the JSON property `notFoundPage` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/storage_v1/classes.rb, line 395
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/storage_v1/classes.rb, line 400
def update!(**args)
  @main_page_suffix = args[:main_page_suffix] if args.key?(:main_page_suffix)
  @not_found_page = args[:not_found_page] if args.key?(:not_found_page)
end