Show / Hide Table of Contents

Class Bucket.WebsiteData

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.

Inheritance
object
Bucket.WebsiteData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Bucket.WebsiteData

Properties

MainPageSuffix

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.

Declaration
[JsonProperty("mainPageSuffix")]
public virtual string MainPageSuffix { get; set; }
Property Value
Type Description
string

NotFoundPage

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.

Declaration
[JsonProperty("notFoundPage")]
public virtual string NotFoundPage { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX