Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule.
Specifies how to match traffic and how to route traffic when traffic is matched.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction
Returns
- (::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction) — Required. The detailed rule defining how to route matched traffic.
#action=
def action=(value) -> ::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction
Parameter
- value (::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction) — Required. The detailed rule defining how to route matched traffic.
Returns
- (::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction) — Required. The detailed rule defining how to route matched traffic.
#matches
def matches() -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>
Returns
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>) — Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
#matches=
def matches=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>
Parameter
- value (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>) — Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
Returns
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>) — Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.