class Google::Apis::ComputeBeta::CircuitBreakers
Settings controlling the volume of requests, connections and retries to this backend service.
Attributes
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 `connectTimeout` @return [Google::Apis::ComputeBeta::Duration]
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Corresponds to the JSON property `maxConnections` @return [Fixnum]
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Corresponds to the JSON property `maxPendingRequests` @return [Fixnum]
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit. Corresponds to the JSON property `maxRequests` @return [Fixnum]
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Corresponds to the JSON property `maxRequestsPerConnection` @return [Fixnum]
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Corresponds to the JSON property `maxRetries` @return [Fixnum]
Public Class Methods
# File lib/google/apis/compute_beta/classes.rb, line 4767 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 4772 def update!(**args) @connect_timeout = args[:connect_timeout] if args.key?(:connect_timeout) @max_connections = args[:max_connections] if args.key?(:max_connections) @max_pending_requests = args[:max_pending_requests] if args.key?(:max_pending_requests) @max_requests = args[:max_requests] if args.key?(:max_requests) @max_requests_per_connection = args[:max_requests_per_connection] if args.key?(:max_requests_per_connection) @max_retries = args[:max_retries] if args.key?(:max_retries) end