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 messagegoogle.cloud.networkservices.v1.ExtensionChain
Namespace
Google \ Cloud \ NetworkServices \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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.
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 forLbTrafficExtensionresource.LbRouteExtensionandLbEdgeExtensionchains 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.
Returns
Type
Description
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getMatchCondition
Required. Conditions under which this chain is invoked for a request.
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
forLbTrafficExtensionresource.LbRouteExtensionandLbEdgeExtensionchains are limited to 1 extension
per extension chain.
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
forLbTrafficExtensionresource.LbRouteExtensionandLbEdgeExtensionchains are limited to 1 extension
per extension chain.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class ExtensionChain (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.ExtensionChain)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.ExtensionChain)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.ExtensionChain)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.ExtensionChain)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.ExtensionChain)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.ExtensionChain)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.ExtensionChain) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class ExtensionChain.\n\nA single extension chain wrapper that contains the match conditions and\nextensions to execute.\n\nGenerated from protobuf message `google.cloud.networkservices.v1.ExtensionChain`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name for this extension chain.\n\nThe name is logged as part of the HTTP request logs.\nThe name must conform with RFC-1034, is restricted to lower-cased letters,\nnumbers and hyphens, and can have a maximum length of 63 characters.\nAdditionally, the first character must be a letter and the last a letter or\na number.\n\n### setName\n\nRequired. The name for this extension chain.\n\nThe name is logged as part of the HTTP request logs.\nThe name must conform with RFC-1034, is restricted to lower-cased letters,\nnumbers and hyphens, and can have a maximum length of 63 characters.\nAdditionally, the first character must be a letter and the last a letter or\na number.\n\n### getMatchCondition\n\nRequired. Conditions under which this chain is invoked for a request.\n\n### hasMatchCondition\n\n### clearMatchCondition\n\n### setMatchCondition\n\nRequired. Conditions under which this chain is invoked for a request.\n\n### getExtensions\n\nRequired. A set of extensions to execute for the matching request.\n\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain.\n\n### setExtensions\n\nRequired. A set of extensions to execute for the matching request.\n\nAt least one extension is required.\nUp to 3 extensions can be defined for each extension chain\nfor `LbTrafficExtension` resource.\n`LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension\nper extension chain."]]