Compute V1 Client - Class SecurityPolicyAdvancedOptionsConfig (1.12.1)

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
NameDescription
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.

getJsonCustomConfig

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Compute\V1\SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Returns
TypeDescription
$this

getJsonParsing

Check the JsonParsing enum for the list of possible values.

Returns
TypeDescription
string

hasJsonParsing

clearJsonParsing

setJsonParsing

Check the JsonParsing enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLogLevel

Check the LogLevel enum for the list of possible values.

Returns
TypeDescription
string

hasLogLevel

clearLogLevel

setLogLevel

Check the LogLevel enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this