google_api_compute v0.3.0 GoogleApi.Compute.V1.Model.PathRule View Source

A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.

Attributes

  • paths ([String.t]): The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. Defaults to: null.
  • service (String.t): The URL of the backend service resource if this rule is matched. Use service instead of routeAction when simple routing to a backend service is desired and other advanced capabilities like traffic splitting and rewrites are not required. Only one of service, routeAction or urlRedirect should must be set. Defaults to: null.

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.PathRule{paths: [any()], service: any()}

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.