GoogleApi.Compute.V1.Model.UrlRewrite (google_api_compute v0.37.0) View Source

The spec for modifying the path before sending the request to the matched backend service.

Attributes

  • hostRewrite (type: String.t, default: nil) - Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.
  • pathPrefixRewrite (type: String.t, default: nil) - Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.UrlRewrite{
  hostRewrite: String.t() | nil,
  pathPrefixRewrite: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.