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

View Source

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

Attributes

  • hostRewrite (type: String.t, default: nil) - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
  • pathPrefixRewrite (type: String.t, default: nil) - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteURLRewrite{
  hostRewrite: String.t() | nil,
  pathPrefixRewrite: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.