Class ConsistentHashLoadBalancerSettingsHttpCookie (1.4.0)

public sealed class ConsistentHashLoadBalancerSettingsHttpCookie : IMessage<ConsistentHashLoadBalancerSettingsHttpCookie>, IEquatable<ConsistentHashLoadBalancerSettingsHttpCookie>, IDeepCloneable<ConsistentHashLoadBalancerSettingsHttpCookie>, IBufferMessage, IMessage

The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.

Inheritance

Object > ConsistentHashLoadBalancerSettingsHttpCookie

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ConsistentHashLoadBalancerSettingsHttpCookie()

public ConsistentHashLoadBalancerSettingsHttpCookie()

ConsistentHashLoadBalancerSettingsHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie)

public ConsistentHashLoadBalancerSettingsHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie other)
Parameter
NameDescription
otherConsistentHashLoadBalancerSettingsHttpCookie

Properties

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasPath

public bool HasPath { get; }

Gets whether the "path" field is set

Property Value
TypeDescription
Boolean

Name

public string Name { get; set; }

Name of the cookie.

Property Value
TypeDescription
String

Path

public string Path { get; set; }

Path to set for the cookie.

Property Value
TypeDescription
String

Ttl

public Duration Ttl { get; set; }

Lifetime of the cookie.

Property Value
TypeDescription
Duration