Class: Google::Cloud::Compute::V1::CircuitBreakers

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#max_connections::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



4705
4706
4707
4708
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4705

class CircuitBreakers
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_pending_requests::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



4705
4706
4707
4708
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4705

class CircuitBreakers
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_requests::Integer

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

Returns:

  • (::Integer)

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



4705
4706
4707
4708
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4705

class CircuitBreakers
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_requests_per_connection::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



4705
4706
4707
4708
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4705

class CircuitBreakers
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_retries::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



4705
4706
4707
4708
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4705

class CircuitBreakers
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end