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

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
NameDescription
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
TypeDescription
int

setAuthFailAction

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLogin

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

Returns
TypeDescription
int

setLogin

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getScript

Path to the script from the application root directory.

Returns
TypeDescription
string

setScript

Path to the script from the application root directory.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecurityLevel

Security (HTTPS) enforcement for this URL.

Returns
TypeDescription
int

setSecurityLevel

Security (HTTPS) enforcement for this URL.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUrl

URL to serve the endpoint at.

Returns
TypeDescription
string

setUrl

URL to serve the endpoint at.

Parameter
NameDescription
var string
Returns
TypeDescription
$this