Compute Engine v1 API - Class BackendServiceHttpCookie (3.0.0)

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

Reference documentation and code samples for the Compute Engine v1 API class BackendServiceHttpCookie.

The HTTP cookie used for stateful session affinity.

Inheritance

object > BackendServiceHttpCookie

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

BackendServiceHttpCookie()

public BackendServiceHttpCookie()

BackendServiceHttpCookie(BackendServiceHttpCookie)

public BackendServiceHttpCookie(BackendServiceHttpCookie other)
Parameter
Name Description
other BackendServiceHttpCookie

Properties

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasPath

public bool HasPath { get; }

Gets whether the "path" field is set

Property Value
Type Description
bool

Name

public string Name { get; set; }

Name of the cookie.

Property Value
Type Description
string

Path

public string Path { get; set; }

Path to set for the cookie.

Property Value
Type Description
string

Ttl

public Duration Ttl { get; set; }

Lifetime of the cookie.

Property Value
Type Description
Duration