Module Values.GrpcRouteSource

An object that represents a gRPC route type.

Sourcetype nonrec t = {
  1. action : GrpcRouteAction.t;
    (*

    An object that represents the action to take if a match is determined.

    *)
  2. match_ : GrpcRouteMatch.t;
    (*

    An object that represents the criteria for determining a request match.

    *)
  3. retryPolicy : GrpcRetryPolicy.t option;
    (*

    An object that represents a retry policy.

    *)
  4. timeout : GrpcTimeout.t option;
    (*

    An object that represents types of timeouts.

    *)
}
Sourceval context_ : string
Sourceval make : ?retryPolicy:??? -> ?timeout:??? -> action:GrpcRouteAction.t -> match_:GrpcRouteMatch.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of ListenerPort.t | `List of [> `Enum of string | `String of HttpRetryPolicyEvent.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of ListenerPort.t | `String of ResourceName.t | `Structure of (string * [> `String of HeaderMatch.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ]) list ] list | `Long of MaxRetries.t | `String of MethodName.t | `Structure of (string * [> `Enum of string | `Long of DurationValue.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t