Googly.CloudStorage.Model.BucketWebsite (googly_cloud_storage v0.1.0)

Copy Markdown View Source

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

Attributes

  • main_page_suffix (type: String.t()) - If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.
  • not_found_page (type: String.t()) - If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result.

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.BucketWebsite{
  main_page_suffix: String.t() | nil,
  not_found_page: String.t() | nil
}