Class: Google::Apis::AppengineV1beta::ScriptHandler
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::ScriptHandler
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/representations.rb
Overview
Executes a script to handle the request that matches the URL pattern.
Instance Attribute Summary collapse
-
#script_path ⇒ String
Path to the script from the application root directory.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScriptHandler
constructor
A new instance of ScriptHandler.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScriptHandler
Returns a new instance of ScriptHandler.
2782 2783 2784 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#script_path ⇒ String
Path to the script from the application root directory.
Corresponds to the JSON property scriptPath
2780 2781 2782 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2780 def script_path @script_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2787 2788 2789 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2787 def update!(**args) @script_path = args[:script_path] if args.key?(:script_path) end |