- 1.35.0 (latest)
- 1.34.0
- 1.33.0
- 1.32.1
- 1.31.0
- 1.30.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.39.0
- 0.38.0
- 0.37.1
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.2
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.1
- 0.10.0
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Probe.
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Generated from protobuf message google.cloud.aiplatform.v1.Probe
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ exec
↳ http_get
↳ grpc
↳ tcp_socket
Probe\TcpSocketAction
TcpSocketAction probes the health of a container by opening a TCP socket connection.
↳ period_seconds
int
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
int
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'.
↳ failure_threshold
int
Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'.
↳ success_threshold
int
Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'.
↳ initial_delay_seconds
int
Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'.
getExec
ExecAction probes the health of a container by executing a command.
hasExec
setExec
ExecAction probes the health of a container by executing a command.
$this
getHttpGet
HttpGetAction probes the health of a container by sending an HTTP GET request.
hasHttpGet
setHttpGet
HttpGetAction probes the health of a container by sending an HTTP GET request.
$this
getGrpc
GrpcAction probes the health of a container by sending a gRPC request.
hasGrpc
setGrpc
GrpcAction probes the health of a container by sending a gRPC request.
$this
getTcpSocket
TcpSocketAction probes the health of a container by opening a TCP socket connection.
hasTcpSocket
setTcpSocket
TcpSocketAction probes the health of a container by opening a TCP socket connection.
$this
getPeriodSeconds
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'.
int
setPeriodSeconds
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'.
var
int
$this
getTimeoutSeconds
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'.
int
setTimeoutSeconds
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'.
var
int
$this
getFailureThreshold
Number of consecutive failures before the probe is considered failed.
Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'.
int
setFailureThreshold
Number of consecutive failures before the probe is considered failed.
Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'.
var
int
$this
getSuccessThreshold
Number of consecutive successes before the probe is considered successful.
Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'.
int
setSuccessThreshold
Number of consecutive successes before the probe is considered successful.
Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'.
var
int
$this
getInitialDelaySeconds
Number of seconds to wait before starting the probe. Defaults to 0.
Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'.
int
setInitialDelaySeconds
Number of seconds to wait before starting the probe. Defaults to 0.
Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'.
var
int
$this
getProbeType
string