Class: Google::Apis::AppengineV1beta4::ScriptHandler
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::ScriptHandler
- Includes:
- Core::Hashable
- 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
-
#script_path ⇒ String
Specifies the 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.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ScriptHandler
Returns a new instance of ScriptHandler
878 879 880 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#script_path ⇒ String
Specifies the path to the script from the application root directory.
Corresponds to the JSON property scriptPath
876 877 878 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 876 def script_path @script_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
883 884 885 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 883 def update!(**args) @script_path = args[:script_path] if args.key?(:script_path) end |