public static interface Bucket.WebsiteOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getMainPageSuffix()
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.
|
com.google.protobuf.ByteString |
getMainPageSuffixBytes()
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.
|
String |
getNotFoundPage()
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
[https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found]
result.
|
com.google.protobuf.ByteString |
getNotFoundPageBytes()
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
[https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found]
result.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getMainPageSuffix()
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.
string main_page_suffix = 1;
com.google.protobuf.ByteString getMainPageSuffixBytes()
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.
string main_page_suffix = 1;
String getNotFoundPage()
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 [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.
string not_found_page = 2;
com.google.protobuf.ByteString getNotFoundPageBytes()
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 [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.
string not_found_page = 2;
Copyright © 2023 Google LLC. All rights reserved.