Class CircuitBreakers (2.1.0)

public sealed class CircuitBreakers : IMessage<CircuitBreakers>, IEquatable<CircuitBreakers>, IDeepCloneable<CircuitBreakers>, IBufferMessage, IMessage

Settings controlling the volume of requests, connections and retries to this backend service.

Inheritance

Object > CircuitBreakers

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

CircuitBreakers()

public CircuitBreakers()

CircuitBreakers(CircuitBreakers)

public CircuitBreakers(CircuitBreakers other)
Parameter
NameDescription
otherCircuitBreakers

Properties

HasMaxConnections

public bool HasMaxConnections { get; }

Gets whether the "max_connections" field is set

Property Value
TypeDescription
Boolean

HasMaxPendingRequests

public bool HasMaxPendingRequests { get; }

Gets whether the "max_pending_requests" field is set

Property Value
TypeDescription
Boolean

HasMaxRequests

public bool HasMaxRequests { get; }

Gets whether the "max_requests" field is set

Property Value
TypeDescription
Boolean

HasMaxRequestsPerConnection

public bool HasMaxRequestsPerConnection { get; }

Gets whether the "max_requests_per_connection" field is set

Property Value
TypeDescription
Boolean

HasMaxRetries

public bool HasMaxRetries { get; }

Gets whether the "max_retries" field is set

Property Value
TypeDescription
Boolean

MaxConnections

public int MaxConnections { get; set; }

The maximum number of connections to the backend service. If not specified, there is no limit. 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.

Property Value
TypeDescription
Int32

MaxPendingRequests

public int MaxPendingRequests { get; set; }

The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. 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.

Property Value
TypeDescription
Int32

MaxRequests

public int MaxRequests { get; set; }

The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.

Property Value
TypeDescription
Int32

MaxRequestsPerConnection

public int MaxRequestsPerConnection { get; set; }

Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.

Property Value
TypeDescription
Int32

MaxRetries

public int MaxRetries { get; set; }

The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.

Property Value
TypeDescription
Int32