public final class Probe
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Probe() |
| Modifier and Type | Method and Description |
|---|---|
Probe |
clone() |
ExecAction |
getExec()
Not supported by Cloud Run.
|
Integer |
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
GRPCAction |
getGrpc()
GRPCAction specifies an action involving a GRPC port.
|
HTTPGetAction |
getHttpGet()
HTTPGet specifies the http request to perform.
|
Integer |
getInitialDelaySeconds()
Number of seconds after the container has started before the probe is initiated.
|
Integer |
getPeriodSeconds()
How often (in seconds) to perform the probe.
|
Integer |
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
TCPSocketAction |
getTcpSocket()
TCPSocket specifies an action involving a TCP port.
|
Integer |
getTimeoutSeconds()
Number of seconds after which the probe times out.
|
Probe |
set(String fieldName,
Object value) |
Probe |
setExec(ExecAction exec)
Not supported by Cloud Run.
|
Probe |
setFailureThreshold(Integer failureThreshold)
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
Probe |
setGrpc(GRPCAction grpc)
GRPCAction specifies an action involving a GRPC port.
|
Probe |
setHttpGet(HTTPGetAction httpGet)
HTTPGet specifies the http request to perform.
|
Probe |
setInitialDelaySeconds(Integer initialDelaySeconds)
Number of seconds after the container has started before the probe is initiated.
|
Probe |
setPeriodSeconds(Integer periodSeconds)
How often (in seconds) to perform the probe.
|
Probe |
setSuccessThreshold(Integer successThreshold)
Minimum consecutive successes for the probe to be considered successful after having failed.
|
Probe |
setTcpSocket(TCPSocketAction tcpSocket)
TCPSocket specifies an action involving a TCP port.
|
Probe |
setTimeoutSeconds(Integer timeoutSeconds)
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 GRPCAction getGrpc()
null for nonepublic Probe setGrpc(GRPCAction grpc)
grpc - grpc 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 com.google.api.client.json.GenericJsonpublic Probe clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.