GrpcRouteRouteRule class

Describes how to route traffic.

Constructors

GrpcRouteRouteRule({required Input<GrpcRouteRouteAction> action, Input<List<GrpcRouteRouteMatch>>? matches})
Creates a new GrpcRouteRouteRule. action A detailed rule defining how to route traffic. This field is required. matches Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic.
const
GrpcRouteRouteRule.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<GrpcRouteRouteAction>
A detailed rule defining how to route traffic. This field is required.
final
hashCode → int
The hash code for this object.
no setterinherited
matches → Input<List<GrpcRouteRouteMatch>>?
Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited