Google Cloud Iap V1 Client - Class CorsSettings (2.1.2)

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

Namespace

Google \ Cloud \ Iap \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ allow_http_options
Google\Protobuf\BoolValue

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

getAllowHttpOptions

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

Returns
Type
Description

hasAllowHttpOptions

clearAllowHttpOptions

getAllowHttpOptionsUnwrapped

Returns the unboxed value from getAllowHttpOptions()

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

Returns
Type
Description
bool|null

setAllowHttpOptions

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

Parameter
Name
Description
Returns
Type
Description
$this

setAllowHttpOptionsUnwrapped

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

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

Parameter
Name
Description
var
bool|null
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: