Google Cloud Appengine Admin V1 Client - Class ApiConfigHandler (1.3.5)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ApiConfigHandler.

Google Cloud Endpoints configuration for API handlers.

Generated from protobuf message google.appengine.v1.ApiConfigHandler

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auth_fail_action int

Action to take when users access resources that require authentication. Defaults to redirect.

↳ login int

Level of login required to access this resource. Defaults to optional.

↳ script string

Path to the script from the application root directory.

↳ security_level int

Security (HTTPS) enforcement for this URL.

↳ url string

URL to serve the endpoint at.

getAuthFailAction

Action to take when users access resources that require authentication. Defaults to redirect.

Returns
Type Description
int

setAuthFailAction

Action to take when users access resources that require authentication. Defaults to redirect.

Parameter
Name Description
var int
Returns
Type Description
$this

getLogin

Level of login required to access this resource. Defaults to optional.

Returns
Type Description
int

setLogin

Level of login required to access this resource. Defaults to optional.

Parameter
Name Description
var int
Returns
Type Description
$this

getScript

Path to the script from the application root directory.

Returns
Type Description
string

setScript

Path to the script from the application root directory.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecurityLevel

Security (HTTPS) enforcement for this URL.

Returns
Type Description
int

setSecurityLevel

Security (HTTPS) enforcement for this URL.

Parameter
Name Description
var int
Returns
Type Description
$this

getUrl

URL to serve the endpoint at.

Returns
Type Description
string

setUrl

URL to serve the endpoint at.

Parameter
Name Description
var string
Returns
Type Description
$this