Google Cloud Appengine Admin V1 Client - Class SecurityLevel (1.0.6)

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

Methods to enforce security (HTTPS) on a URL.

Protobuf type google.appengine.v1.SecurityLevel

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

SECURE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum SECURE_UNSPECIFIED = 0;

SECURE_DEFAULT

Value: 0

Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.

Generated from protobuf enum SECURE_DEFAULT = 0;

SECURE_NEVER

Value: 1

Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.

Generated from protobuf enum SECURE_NEVER = 1;

SECURE_OPTIONAL

Value: 2

Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.

Generated from protobuf enum SECURE_OPTIONAL = 2;

SECURE_ALWAYS

Value: 3

Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.

Generated from protobuf enum SECURE_ALWAYS = 3;