Google Cloud Iap V1 Client - Class CorsSettings (1.2.3)

Reference documentation and code samples for the Google Cloud Iap V1 Client class CorsSettings.

Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS call to bypass authentication and authorization.

Generated from protobuf message google.cloud.iap.v1.CorsSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allow_http_options Google\Protobuf\BoolValue

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.

getAllowHttpOptions

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.

Returns
TypeDescription
Google\Protobuf\BoolValue|null

hasAllowHttpOptions

clearAllowHttpOptions

getAllowHttpOptionsValue

Returns the unboxed value from getAllowHttpOptions()

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.

Returns
TypeDescription
bool|null

setAllowHttpOptions

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$this

setAllowHttpOptionsValue

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.

Parameter
NameDescription
var bool|null
Returns
TypeDescription
$this