class Google::Apis::ComputeBeta::ConsistentHashLoadBalancerSettingsHttpCookie

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

Attributes

name[RW]

Name of the cookie. Corresponds to the JSON property `name` @return [String]

path[RW]

Path to set for the cookie. Corresponds to the JSON property `path` @return [String]

ttl[RW]

A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like “day” or “month”. Range is approximately 10, 000 years. Corresponds to the JSON property `ttl` @return [Google::Apis::ComputeBeta::Duration]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 5396
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 5401
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @path = args[:path] if args.key?(:path)
  @ttl = args[:ttl] if args.key?(:ttl)
end