class Google::Apis::AppengineV1beta5::ApiConfigHandler

API Serving configuration for Cloud Endpoints.

Attributes

auth_fail_action[RW]

For users not logged in, how to handle access to resources with required login. Defaults to “redirect”. Corresponds to the JSON property `authFailAction` @return [String]

login[RW]

What level of login is required to access this resource. Default is “optional”. Corresponds to the JSON property `login` @return [String]

script[RW]

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

security_level[RW]

Configures whether security (HTTPS) should be enforced 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 generated/google/apis/appengine_v1beta5/classes.rb, line 1128
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta5/classes.rb, line 1133
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