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 | |
---|---|
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 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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |