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

Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]

Attributes

  • boolMatch (type: boolean(), default: nil) - If specified, a match occurs if and only if the target value is a bool value and is equal to this field.
  • doubleMatch (type: GoogleApi.TrafficDirector.V3.Model.DoubleMatcher.t, default: nil) - If specified, a match occurs if and only if the target value is a double value and is matched to this field.
  • listMatch (type: GoogleApi.TrafficDirector.V3.Model.ListMatcher.t, default: nil) - If specified, a match occurs if and only if the target value is a list value and is matched to this field.
  • nullMatch (type: GoogleApi.TrafficDirector.V3.Model.NullMatch.t, default: nil) - If specified, a match occurs if and only if the target value is a NullValue.
  • orMatch (type: GoogleApi.TrafficDirector.V3.Model.OrMatcher.t, default: nil) - If specified, a match occurs if and only if any of the alternatives in the match accept the value.
  • presentMatch (type: boolean(), default: nil) - If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
  • stringMatch (type: GoogleApi.TrafficDirector.V3.Model.StringMatcher.t, default: nil) - If specified, a match occurs if and only if the target value is a string value and is matched to this field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TrafficDirector.V3.Model.ValueMatcher{
  boolMatch: boolean() | nil,
  doubleMatch: GoogleApi.TrafficDirector.V3.Model.DoubleMatcher.t() | nil,
  listMatch: GoogleApi.TrafficDirector.V3.Model.ListMatcher.t() | nil,
  nullMatch: GoogleApi.TrafficDirector.V3.Model.NullMatch.t() | nil,
  orMatch: GoogleApi.TrafficDirector.V3.Model.OrMatcher.t() | nil,
  presentMatch: boolean() | nil,
  stringMatch: GoogleApi.TrafficDirector.V3.Model.StringMatcher.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.