Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ConsistentHashLoadBalancerSettingsHttpCookie.
The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Name of the cookie.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name of the cookie.
Returns
- (::String) — Name of the cookie.
#path
def path() -> ::String
Returns
- (::String) — Path to set for the cookie.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Path to set for the cookie.
Returns
- (::String) — Path to set for the cookie.
#ttl
def ttl() -> ::Google::Cloud::Compute::V1::Duration
Returns
- (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.
#ttl=
def ttl=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
- value (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.
Returns
- (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.