Struct google_storage1::BucketWebsite[][src]

pub struct BucketWebsite {
    pub not_found_page: Option<String>,
    pub main_page_suffix: Option<String>,
}

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.

This type is not used in any activity, and only used as part of another schema.

Fields

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.

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.

Trait Implementations

impl Default for BucketWebsite
[src]

Returns the "default value" for a type. Read more

impl Clone for BucketWebsite
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BucketWebsite
[src]

Formats the value using the given formatter. Read more

impl NestedType for BucketWebsite
[src]

impl Part for BucketWebsite
[src]

Auto Trait Implementations