Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdvancedOptionsConfig.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ json_custom_config |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. |
↳ json_parsing |
string
Check the JsonParsing enum for the list of possible values. |
↳ log_level |
string
Check the LogLevel enum for the list of possible values. |
↳ request_body_inspection_size |
string
The maximum request size chosen by the customer with Waf enabled. Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB". Values are case insensitive. |
↳ user_ip_request_headers |
array
An optional list of case-insensitive request header names to use for resolving the callers client IP address. |
getJsonCustomConfig
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig|null |
|
hasJsonCustomConfig
clearJsonCustomConfig
setJsonCustomConfig
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
| Parameter | |
|---|---|
| Name | Description |
var |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getJsonParsing
Check the JsonParsing enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasJsonParsing
clearJsonParsing
setJsonParsing
Check the JsonParsing enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLogLevel
Check the LogLevel enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasLogLevel
clearLogLevel
setLogLevel
Check the LogLevel enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestBodyInspectionSize
The maximum request size chosen by the customer with Waf enabled.
Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB". Values are case insensitive.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRequestBodyInspectionSize
clearRequestBodyInspectionSize
setRequestBodyInspectionSize
The maximum request size chosen by the customer with Waf enabled.
Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB". Values are case insensitive.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserIpRequestHeaders
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setUserIpRequestHeaders
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|