Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::ExtensionChain.
A single extension chain wrapper that contains the match conditions and extensions to execute.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#extensions
def extensions() -> ::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain::Extension>
Returns
-
(::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.
#extensions=
def extensions=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain::Extension>
Parameter
-
value (::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.
Returns
-
(::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.
#match_condition
def match_condition() -> ::Google::Cloud::NetworkServices::V1::ExtensionChain::MatchCondition
Returns
- (::Google::Cloud::NetworkServices::V1::ExtensionChain::MatchCondition) — Required. Conditions under which this chain is invoked for a request.
#match_condition=
def match_condition=(value) -> ::Google::Cloud::NetworkServices::V1::ExtensionChain::MatchCondition
Parameter
- value (::Google::Cloud::NetworkServices::V1::ExtensionChain::MatchCondition) — Required. Conditions under which this chain is invoked for a request.
Returns
- (::Google::Cloud::NetworkServices::V1::ExtensionChain::MatchCondition) — Required. Conditions under which this chain is invoked for a request.
#name
def name() -> ::String
Returns
- (::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.
#name=
def name=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.