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.
Implements
IMessage<CircuitBreakers>, IEquatable<CircuitBreakers>, IDeepCloneable<CircuitBreakers>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
CircuitBreakers()
public CircuitBreakers()
CircuitBreakers(CircuitBreakers)
public CircuitBreakers(CircuitBreakers other)
Parameter | |
---|---|
Name | Description |
other | CircuitBreakers |
Properties
HasMaxConnections
public bool HasMaxConnections { get; }
Gets whether the "max_connections" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaxPendingRequests
public bool HasMaxPendingRequests { get; }
Gets whether the "max_pending_requests" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaxRequests
public bool HasMaxRequests { get; }
Gets whether the "max_requests" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaxRequestsPerConnection
public bool HasMaxRequestsPerConnection { get; }
Gets whether the "max_requests_per_connection" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaxRetries
public bool HasMaxRetries { get; }
Gets whether the "max_retries" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |