public sealed class HttpHeaderOption : IMessage<HttpHeaderOption>, IEquatable<HttpHeaderOption>, IDeepCloneable<HttpHeaderOption>, IBufferMessage, IMessage
Specification determining how headers are added to requests or responses.
Implements
IMessage<HttpHeaderOption>, IEquatable<HttpHeaderOption>, IDeepCloneable<HttpHeaderOption>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpHeaderOption()
public HttpHeaderOption()
HttpHeaderOption(HttpHeaderOption)
public HttpHeaderOption(HttpHeaderOption other)
Parameter | |
---|---|
Name | Description |
other | HttpHeaderOption |
Properties
HasHeaderName
public bool HasHeaderName { get; }
Gets whether the "header_name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasHeaderValue
public bool HasHeaderValue { get; }
Gets whether the "header_value" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasReplace
public bool HasReplace { get; }
Gets whether the "replace" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HeaderName
public string HeaderName { get; set; }
The name of the header.
Property Value | |
---|---|
Type | Description |
String |
HeaderValue
public string HeaderValue { get; set; }
The value of the header to add.
Property Value | |
---|---|
Type | Description |
String |
Replace
public bool Replace { get; set; }
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
Property Value | |
---|---|
Type | Description |
Boolean |