Reference documentation and code samples for the Google Cloud Network Services V1 Client class ExtensionChain.
A single extension chain wrapper that contains the match conditions and extensions to execute.
Generated from protobuf message google.cloud.networkservices.v1.ExtensionChain
Namespace
Google \ Cloud \ NetworkServices \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
↳ match_condition
Google\Cloud\NetworkServices\V1\ExtensionChain\MatchCondition
Required. Conditions under which this chain is invoked for a request.
↳ extensions
array< Google\Cloud\NetworkServices\V1\ExtensionChain\Extension
>
Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for LbTrafficExtension
resource. LbRouteExtension
chains are limited to 1 extension per extension chain.
getName
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
string
setName
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
var
string
$this
getMatchCondition
Required. Conditions under which this chain is invoked for a request.
hasMatchCondition
clearMatchCondition
setMatchCondition
Required. Conditions under which this chain is invoked for a request.
$this
getExtensions
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource. LbRouteExtension
chains are limited to 1 extension per extension chain.
setExtensions
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource. LbRouteExtension
chains are limited to 1 extension per extension chain.
$this