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
System.Object
Bucket.WebsiteData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class 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 |
---|---|
System.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 |
---|---|
System.String |