class Google::Apis::AppengineV1beta::ApiConfigHandler

Google Cloud Endpoints (cloud.google.com/appengine/docs/python/ endpoints/) configuration for API handlers.

Attributes

auth_fail_action[RW]

Action to take when users access resources that require authentication. Defaults to redirect. Corresponds to the JSON property `authFailAction` @return [String]

login[RW]

Level of login required to access this resource. Defaults to optional. Corresponds to the JSON property `login` @return [String]

script[RW]

Path to the script from the application root directory. Corresponds to the JSON property `script` @return [String]

security_level[RW]

Security (HTTPS) enforcement for this URL. Corresponds to the JSON property `securityLevel` @return [String]

url[RW]

URL to serve the endpoint at. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta/classes.rb, line 56
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta/classes.rb, line 61
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