View Source GoogleApi.TrafficDirector.V3.Model.StringMatcher (google_api_traffic_director v0.3.0)

Specifies the way to match a string. [#next-free-field: 9]

Attributes

  • contains (type: String.t, default: nil) - The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * abc matches the value xyz.abc.def
  • custom (type: GoogleApi.TrafficDirector.V3.Model.TypedExtensionConfig.t, default: nil) - Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
  • exact (type: String.t, default: nil) - The input string must match exactly the string specified here. Examples: * abc only matches the value abc.
  • ignoreCase (type: boolean(), default: nil) - If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher data will match both input string Data and data if set to true.
  • prefix (type: String.t, default: nil) - The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value abc.xyz
  • safeRegex (type: GoogleApi.TrafficDirector.V3.Model.RegexMatcher.t, default: nil) - The input string must match the regular expression specified here.
  • suffix (type: String.t, default: nil) - The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value xyz.abc

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TrafficDirector.V3.Model.StringMatcher{
  contains: String.t() | nil,
  custom: GoogleApi.TrafficDirector.V3.Model.TypedExtensionConfig.t() | nil,
  exact: String.t() | nil,
  ignoreCase: boolean() | nil,
  prefix: String.t() | nil,
  safeRegex: GoogleApi.TrafficDirector.V3.Model.RegexMatcher.t() | nil,
  suffix: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.