class Google::Apis::AppengineV1beta5::ErrorHandler

A custom static error page to be served when an error occurs.

Attributes

error_code[RW]

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

mime_type[RW]

MIME type of file. If unspecified, “text/html” is assumed. 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 generated/google/apis/appengine_v1beta5/classes.rb, line 1061
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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