Google Cloud Network Services V1beta1 Client - Class HeaderSet (0.13.1)

Reference documentation and code samples for the Google Cloud Network Services V1beta1 Client class HeaderSet.

Describes a set of HTTP headers to match against.

Generated from protobuf message google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination.HeaderSet

Namespace

Google \ Cloud \ NetworkServices \ V1beta1 \ ExtensionBinding \ MatchCondition \ To \ Destination

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ headers array<Google\Cloud\NetworkServices\V1beta1\ExtensionBinding\MatchCondition\HeaderMatch>

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

getHeaders

Required. A list of headers to match against in http header.

If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Cloud\NetworkServices\V1beta1\ExtensionBinding\MatchCondition\HeaderMatch>

setHeaders

Required. A list of headers to match against in http header.

If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

Parameter
Name Description
var array<Google\Cloud\NetworkServices\V1beta1\ExtensionBinding\MatchCondition\HeaderMatch>
Returns
Type Description
$this