Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Probe (v0.39.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Probe.

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exec

def exec() -> ::Google::Cloud::AIPlatform::V1::Probe::ExecAction
Returns

#exec=

def exec=(value) -> ::Google::Cloud::AIPlatform::V1::Probe::ExecAction
Parameter
Returns

#period_seconds

def period_seconds() -> ::Integer
Returns
  • (::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds.

    Maps to Kubernetes probe argument 'periodSeconds'.

#period_seconds=

def period_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds.

    Maps to Kubernetes probe argument 'periodSeconds'.

Returns
  • (::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds.

    Maps to Kubernetes probe argument 'periodSeconds'.

#timeout_seconds

def timeout_seconds() -> ::Integer
Returns
  • (::Integer) — Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds.

    Maps to Kubernetes probe argument 'timeoutSeconds'.

#timeout_seconds=

def timeout_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds.

    Maps to Kubernetes probe argument 'timeoutSeconds'.

Returns
  • (::Integer) — Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds.

    Maps to Kubernetes probe argument 'timeoutSeconds'.