Class: Google::Apis::AppengineV1::ApiEndpointHandler

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

Overview

Uses Google Cloud Endpoints to handle requests.

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) ⇒ ApiEndpointHandler

Returns a new instance of ApiEndpointHandler



79
80
81
# File 'generated/google/apis/appengine_v1/classes.rb', line 79

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)


77
78
79
# File 'generated/google/apis/appengine_v1/classes.rb', line 77

def script_path
  @script_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'generated/google/apis/appengine_v1/classes.rb', line 84

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