class Google::Apis::AppengineV1beta5::ErrorHandler

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

Attributes

error_code[RW]

Error condition this handler applies to. Corresponds to the JSON property `errorCode` @return [String]

mime_type[RW]

MIME type of file. Defaults to text/html. Corresponds to the JSON property `mimeType` @return [String]

static_file[RW]

Static file content to be served for this error. Corresponds to the JSON property `staticFile` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta5/classes.rb, line 573
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta5/classes.rb, line 578
def update!(**args)
  @error_code = args[:error_code] if args.key?(:error_code)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @static_file = args[:static_file] if args.key?(:static_file)
end