GoogleApi.NetworkServices.V1.Model.HttpRouteRequestMirrorPolicy (google_api_network_services v0.11.0)

View Source

Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.

Attributes

  • destination (type: GoogleApi.NetworkServices.V1.Model.HttpRouteDestination.t, default: nil) - The destination the requests will be mirrored to. The weight of the destination will be ignored.
  • mirrorPercent (type: number(), default: nil) - Optional. The percentage of requests to get mirrored to the desired destination.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteRequestMirrorPolicy{
  destination:
    GoogleApi.NetworkServices.V1.Model.HttpRouteDestination.t() | nil,
  mirrorPercent: number() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.