google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.UrlRewrite 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.