.. _envoy_v3_api_file_envoy/type/matcher/v3/value.proto: ValueMatcher ============ .. _envoy_v3_api_msg_type.matcher.v3.ValueMatcher: type.matcher.v3.ValueMatcher ---------------------------- `[type.matcher.v3.ValueMatcher proto] `_ Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. .. code-block:: json { "null_match": "{...}", "double_match": "{...}", "string_match": "{...}", "bool_match": "...", "present_match": "...", "list_match": "{...}" } .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.null_match: null_match (:ref:`type.matcher.v3.ValueMatcher.NullMatch `) If specified, a match occurs if and only if the target value is a NullValue. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.double_match: double_match (:ref:`type.matcher.v3.DoubleMatcher `) If specified, a match occurs if and only if the target value is a double value and is matched to this field. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.string_match: string_match (:ref:`type.matcher.v3.StringMatcher `) If specified, a match occurs if and only if the target value is a string value and is matched to this field. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.bool_match: bool_match (`bool `_) If specified, a match occurs if and only if the target value is a bool value and is equal to this field. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.present_match: present_match (`bool `_) 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. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_field_type.matcher.v3.ValueMatcher.list_match: list_match (:ref:`type.matcher.v3.ListMatcher `) If specified, a match occurs if and only if the target value is a list value and is matched to this field. Specifies how to match a value. Precisely one of :ref:`null_match `, :ref:`double_match `, :ref:`string_match `, :ref:`bool_match `, :ref:`present_match `, :ref:`list_match ` must be set. .. _envoy_v3_api_msg_type.matcher.v3.ValueMatcher.NullMatch: type.matcher.v3.ValueMatcher.NullMatch -------------------------------------- `[type.matcher.v3.ValueMatcher.NullMatch proto] `_ NullMatch is an empty message to specify a null value. .. code-block:: json {} .. _envoy_v3_api_msg_type.matcher.v3.ListMatcher: type.matcher.v3.ListMatcher --------------------------- `[type.matcher.v3.ListMatcher proto] `_ Specifies the way to match a list value. .. code-block:: json { "one_of": "{...}" } .. _envoy_v3_api_field_type.matcher.v3.ListMatcher.one_of: one_of (:ref:`type.matcher.v3.ValueMatcher `, *REQUIRED*) If specified, at least one of the values in the list must match the value specified.