Compute V1 Client - Class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption (1.16.2)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header_name string

The name of the header to set.

↳ header_value string

The value to set the named header to.

getHeaderName

The name of the header to set.

Returns
Type Description
string

hasHeaderName

clearHeaderName

setHeaderName

The name of the header to set.

Parameter
Name Description
var string
Returns
Type Description
$this

getHeaderValue

The value to set the named header to.

Returns
Type Description
string

hasHeaderValue

clearHeaderValue

setHeaderValue

The value to set the named header to.

Parameter
Name Description
var string
Returns
Type Description
$this