Reference documentation and code samples for the Google Cloud Network Services V1beta1 Client class MatchCondition.
Conditions to match against the incoming request.
Generated from protobuf message google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition
Namespace
Google \ Cloud \ NetworkServices \ V1beta1 \ ExtensionBindingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ to |
MatchCondition\To
Optional. Describes properties of a destination of a request. If specified, the extension will only be invoked on requests to destinations that match the specified criteria. |
getTo
Optional. Describes properties of a destination of a request. If specified, the extension will only be invoked on requests to destinations that match the specified criteria.
| Returns | |
|---|---|
| Type | Description |
MatchCondition\To|null |
|
hasTo
clearTo
setTo
Optional. Describes properties of a destination of a request. If specified, the extension will only be invoked on requests to destinations that match the specified criteria.
| Parameter | |
|---|---|
| Name | Description |
var |
MatchCondition\To
|
| Returns | |
|---|---|
| Type | Description |
$this |
|