Compute V1 Client - Class SecurityPolicyAdvancedOptionsConfig (1.17.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ json_custom_config Google\Cloud\Compute\V1\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.

↳ 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
Google\Cloud\Compute\V1\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 Google\Cloud\Compute\V1\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

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