public final class Probe extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Probe() |
| Modifier and Type | Method and Description |
|---|---|
Probe |
clone() |
ExecAction |
getExec()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported One and only
one of the following should be specified.
|
Integer |
getFailureThreshold()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Minimum
consecutive failures for the probe to be considered failed after having succeeded.
|
HTTPGetAction |
getHttpGet()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPGet
specifies the http request to perform.
|
Integer |
getInitialDelaySeconds()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds after the container has started before liveness probes are initiated.
|
Integer |
getPeriodSeconds()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported How often (in
seconds) to perform the probe.
|
Integer |
getSuccessThreshold()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Minimum
consecutive successes for the probe to be considered successful after having failed.
|
TCPSocketAction |
getTcpSocket()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported TCPSocket
specifies an action involving a TCP port.
|
Integer |
getTimeoutSeconds()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds after which the probe times out.
|
Probe |
set(String fieldName,
Object value) |
Probe |
setExec(ExecAction exec)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported One and only
one of the following should be specified.
|
Probe |
setFailureThreshold(Integer failureThreshold)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Minimum
consecutive failures for the probe to be considered failed after having succeeded.
|
Probe |
setHttpGet(HTTPGetAction httpGet)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPGet
specifies the http request to perform.
|
Probe |
setInitialDelaySeconds(Integer initialDelaySeconds)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds after the container has started before liveness probes are initiated.
|
Probe |
setPeriodSeconds(Integer periodSeconds)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported How often (in
seconds) to perform the probe.
|
Probe |
setSuccessThreshold(Integer successThreshold)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Minimum
consecutive successes for the probe to be considered successful after having failed.
|
Probe |
setTcpSocket(TCPSocketAction tcpSocket)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported TCPSocket
specifies an action involving a TCP port.
|
Probe |
setTimeoutSeconds(Integer timeoutSeconds)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds after which the probe times out.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ExecAction getExec()
null for nonepublic Probe setExec(ExecAction exec)
exec - exec or null for nonepublic Integer getFailureThreshold()
null for nonepublic Probe setFailureThreshold(Integer failureThreshold)
failureThreshold - failureThreshold or null for nonepublic HTTPGetAction getHttpGet()
null for nonepublic Probe setHttpGet(HTTPGetAction httpGet)
httpGet - httpGet or null for nonepublic Integer getInitialDelaySeconds()
null for nonepublic Probe setInitialDelaySeconds(Integer initialDelaySeconds)
initialDelaySeconds - initialDelaySeconds or null for nonepublic Integer getPeriodSeconds()
null for nonepublic Probe setPeriodSeconds(Integer periodSeconds)
periodSeconds - periodSeconds or null for nonepublic Integer getSuccessThreshold()
null for nonepublic Probe setSuccessThreshold(Integer successThreshold)
successThreshold - successThreshold or null for nonepublic TCPSocketAction getTcpSocket()
null for nonepublic Probe setTcpSocket(TCPSocketAction tcpSocket)
tcpSocket - tcpSocket or null for nonepublic Integer getTimeoutSeconds()
null for nonepublic Probe setTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds - timeoutSeconds or null for nonepublic Probe set(String fieldName, Object value)
set in class GenericJsonpublic Probe clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.