Compute V1 Client - Class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption (1.9.1)

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
NameDescription
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
TypeDescription
string

hasHeaderName

clearHeaderName

setHeaderName

The name of the header to set.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHeaderValue

The value to set the named header to.

Returns
TypeDescription
string

hasHeaderValue

clearHeaderValue

setHeaderValue

The value to set the named header to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this