Class: Google::Cloud::AppEngine::V1::LivenessCheck

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

Overview

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.

Instance Attribute Summary collapse

Instance Attribute Details

#check_interval::Google::Protobuf::Duration

Returns Interval between health checks.

Returns:



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#failure_threshold::Integer

Returns Number of consecutive failed checks required before considering the VM unhealthy.

Returns:

  • (::Integer)

    Number of consecutive failed checks required before considering the VM unhealthy.



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#host::String

Returns Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com".

Returns:

  • (::String)

    Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#initial_delay::Google::Protobuf::Duration

Returns The initial delay before starting to execute the checks.

Returns:



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#path::String

Returns The request path.

Returns:

  • (::String)

    The request path.



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#success_threshold::Integer

Returns Number of consecutive successful checks required before considering the VM healthy.

Returns:

  • (::Integer)

    Number of consecutive successful checks required before considering the VM healthy.



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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

#timeout::Google::Protobuf::Duration

Returns Time before the check is considered failed.

Returns:



301
302
303
304
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301

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