Class CircuitBreakers (1.0.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; }

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; }

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; }

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; }

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