public sealed class HttpRoute.Types.HeaderModifier : IMessage<HttpRoute.Types.HeaderModifier>, IEquatable<HttpRoute.Types.HeaderModifier>, IDeepCloneable<HttpRoute.Types.HeaderModifier>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.HeaderModifier.
The specification for modifying HTTP header in HTTP request and HTTP response.
Implements
IMessageHttpRouteTypesHeaderModifier, IEquatableHttpRouteTypesHeaderModifier, IDeepCloneableHttpRouteTypesHeaderModifier, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
HeaderModifier()
public HeaderModifier()
HeaderModifier(HeaderModifier)
public HeaderModifier(HttpRoute.Types.HeaderModifier other)
Parameter | |
---|---|
Name | Description |
other |
HttpRouteTypesHeaderModifier |
Properties
Add
public MapField<string, string> Add { get; }
Add the headers with given map where key is the name of the header, value is the value of the header.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Remove
public RepeatedField<string> Remove { get; }
Remove headers (matching by header names) specified in the list.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Set
public MapField<string, string> Set { get; }
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |