class Google::Apis::ComputeV1::CircuitBreakers
Settings controlling the volume of requests, connections and retries to this backend service.
Attributes
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_v1/classes.rb, line 4254 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 4259 def update!(**args) @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