Reference documentation and code samples for the Google Cloud Network Services V1beta1 Client class To.
Describes properties of one or more destinations of a request.
Generated from protobuf message google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To
Namespace
Google \ Cloud \ NetworkServices \ V1beta1 \ ExtensionBinding \ MatchConditionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination |
To\Destination
Optional. Describes properties of destination of a request. Within a destination, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. At least one of destination or not_destination must be specified. |
↳ not_destination |
To\Destination
Optional. Describes the negated properties of the request destination. Extension will not be invoked on requests that match the criteria specified in this field. At least one of destination or not_destination must be specified. |
getDestination
Optional. Describes properties of destination of a request. Within a destination, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. At least one of destination or not_destination must be specified.
| Returns | |
|---|---|
| Type | Description |
To\Destination|null |
|
hasDestination
clearDestination
setDestination
Optional. Describes properties of destination of a request. Within a destination, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. At least one of destination or not_destination must be specified.
| Parameter | |
|---|---|
| Name | Description |
var |
To\Destination
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNotDestination
Optional. Describes the negated properties of the request destination.
Extension will not be invoked on requests that match the criteria specified in this field. At least one of destination or not_destination must be specified.
| Returns | |
|---|---|
| Type | Description |
To\Destination|null |
|
hasNotDestination
clearNotDestination
setNotDestination
Optional. Describes the negated properties of the request destination.
Extension will not be invoked on requests that match the criteria specified in this field. At least one of destination or not_destination must be specified.
| Parameter | |
|---|---|
| Name | Description |
var |
To\Destination
|
| Returns | |
|---|---|
| Type | Description |
$this |
|