Show / Hide Table of Contents

Class HttpHeaderMatch

Specification of HTTP header match attributes.

Inheritance
object
HttpHeaderMatch
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkSecurity.v1.Data
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class HttpHeaderMatch : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

HeaderName

Required. The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method".

Declaration
[JsonProperty("headerName")]
public virtual string HeaderName { get; set; }
Property Value
Type Description
string

RegexMatch

Required. The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to Host and a regular expression that satisfies the RFC2616 Host header's port specifier.

Declaration
[JsonProperty("regexMatch")]
public virtual string RegexMatch { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX