Class: Google::Apis::AppengineV1::ScriptHandler

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScriptHandler

Returns a new instance of ScriptHandler.



2530
2531
2532
# File 'lib/google/apis/appengine_v1/classes.rb', line 2530

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)


2528
2529
2530
# File 'lib/google/apis/appengine_v1/classes.rb', line 2528

def script_path
  @script_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2535
2536
2537
# File 'lib/google/apis/appengine_v1/classes.rb', line 2535

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