Class: Google::Apis::AppengineV1beta4::ApiConfigHandler
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::ApiConfigHandler
- 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
API Serving configuration for Cloud Endpoints.
Instance Attribute Summary collapse
-
#auth_fail_action ⇒ String
For users not logged in, how to handle access to resources with required login.
-
#login ⇒ String
What level of login is required to access this resource.
-
#script ⇒ String
Specifies the path to the script from the application root directory.
-
#security_level ⇒ String
Configures whether security (HTTPS) should be enforced 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::Hashable
Constructor Details
#initialize(**args) ⇒ ApiConfigHandler
Returns a new instance of ApiConfigHandler
993 994 995 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_fail_action ⇒ String
For users not logged in, how to handle access to resources with required login.
Defaults to "redirect".
Corresponds to the JSON property authFailAction
971 972 973 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 971 def auth_fail_action @auth_fail_action end |
#login ⇒ String
What level of login is required to access this resource. Default is "optional".
Corresponds to the JSON property login
976 977 978 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 976 def login @login end |
#script ⇒ String
Specifies the path to the script from the application root directory.
Corresponds to the JSON property script
981 982 983 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 981 def script @script end |
#security_level ⇒ String
Configures whether security (HTTPS) should be enforced for this URL.
Corresponds to the JSON property securityLevel
986 987 988 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 986 def security_level @security_level end |
#url ⇒ String
URL to serve the endpoint at.
Corresponds to the JSON property url
991 992 993 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 991 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
998 999 1000 1001 1002 1003 1004 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 998 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 |