App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::ErrorHandler (v0.7.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::ErrorHandler.

Custom static error page to be served when an error occurs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#error_code

def error_code() -> ::Google::Cloud::AppEngine::V1::ErrorHandler::ErrorCode
Returns

#error_code=

def error_code=(value) -> ::Google::Cloud::AppEngine::V1::ErrorHandler::ErrorCode
Parameter
Returns

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — MIME type of file. Defaults to text/html.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — MIME type of file. Defaults to text/html.
Returns
  • (::String) — MIME type of file. Defaults to text/html.

#static_file

def static_file() -> ::String
Returns
  • (::String) — Static file content to be served for this error.

#static_file=

def static_file=(value) -> ::String
Parameter
  • value (::String) — Static file content to be served for this error.
Returns
  • (::String) — Static file content to be served for this error.