Class: Google::Apis::AppengineV1beta5::ApiConfigHandler
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta5::ApiConfigHandler
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb
Overview
Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ endpoints/) configuration for API handlers.
Instance Attribute Summary collapse
-
#auth_fail_action ⇒ String
Action to take when users access resources that require authentication.
-
#login ⇒ String
Level of login required to access this resource.
-
#script ⇒ String
Path to the script from the application root directory.
-
#security_level ⇒ String
Security (HTTPS) enforcement for this URL.
-
#url ⇒ String
URL to serve the endpoint at.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiConfigHandler
constructor
A new instance of ApiConfigHandler.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApiConfigHandler
Returns a new instance of ApiConfigHandler
1225 1226 1227 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_fail_action ⇒ String
Action to take when users access resources that require authentication.
Defaults to redirect.
Corresponds to the JSON property authFailAction
1203 1204 1205 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1203 def auth_fail_action @auth_fail_action end |
#login ⇒ String
Level of login required to access this resource. Defaults to optional.
Corresponds to the JSON property login
1208 1209 1210 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1208 def login @login end |
#script ⇒ String
Path to the script from the application root directory.
Corresponds to the JSON property script
1213 1214 1215 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1213 def script @script end |
#security_level ⇒ String
Security (HTTPS) enforcement for this URL.
Corresponds to the JSON property securityLevel
1218 1219 1220 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1218 def security_level @security_level end |
#url ⇒ String
URL to serve the endpoint at.
Corresponds to the JSON property url
1223 1224 1225 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1223 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1230 1231 1232 1233 1234 1235 1236 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1230 def update!(**args) @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action) @login = args[:login] if args.key?(:login) @script = args[:script] if args.key?(:script) @security_level = args[:security_level] if args.key?(:security_level) @url = args[:url] if args.key?(:url) end |