Compute V1 Client - Class SecurityPolicyRuleHttpHeaderAction (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ request_headers_to_adds array<Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>

The list of request headers to add or overwrite if they're already present.

getRequestHeadersToAdds

The list of request headers to add or overwrite if they're already present.

Generated from protobuf field repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequestHeadersToAdds

The list of request headers to add or overwrite if they're already present.

Generated from protobuf field repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>
Returns
TypeDescription
$this