class Google::Apis::ComputeBeta::ConsistentHashLoadBalancerSettings
This message defines settings for a consistent hash style load balancer.
Attributes
http_header_name[RW]
The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD. Corresponds to the JSON property `httpHeaderName` @return [String]
minimum_ring_size[RW]
The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. Corresponds to the JSON property `minimumRingSize` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 5361 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 5366 def update!(**args) @http_cookie = args[:http_cookie] if args.key?(:http_cookie) @http_header_name = args[:http_header_name] if args.key?(:http_header_name) @minimum_ring_size = args[:minimum_ring_size] if args.key?(:minimum_ring_size) end