Class: Google::Apis::AppengineV1beta4::ScriptHandler

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb

Overview

Executes a script to handle the request that matches the URL pattern.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ScriptHandler

Returns a new instance of ScriptHandler



1639
1640
1641
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1639

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#script_pathString

Path to the script from the application root directory. Corresponds to the JSON property scriptPath

Returns:

  • (String)


1637
1638
1639
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1637

def script_path
  @script_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1644
1645
1646
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1644

def update!(**args)
  @script_path = args[:script_path] if args.key?(:script_path)
end