public final class HTTP2HealthCheck
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 Compute Engine 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HTTP2HealthCheck() |
Modifier and Type | Method and Description |
---|---|
HTTP2HealthCheck |
clone() |
String |
getHost()
The value of the host header in the HTTP/2 health check request.
|
Integer |
getPort()
The TCP port number to which the health check prober sends packets.
|
String |
getPortName()
Not supported.
|
String |
getPortSpecification()
Specifies how a port is selected for health checking.
|
String |
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
|
String |
getRequestPath()
The request path of the HTTP/2 health check request.
|
String |
getResponse()
Creates a content-based HTTP/2 health check.
|
HTTP2HealthCheck |
set(String fieldName,
Object value) |
HTTP2HealthCheck |
setHost(String host)
The value of the host header in the HTTP/2 health check request.
|
HTTP2HealthCheck |
setPort(Integer port)
The TCP port number to which the health check prober sends packets.
|
HTTP2HealthCheck |
setPortName(String portName)
Not supported.
|
HTTP2HealthCheck |
setPortSpecification(String portSpecification)
Specifies how a port is selected for health checking.
|
HTTP2HealthCheck |
setProxyHeader(String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
|
HTTP2HealthCheck |
setRequestPath(String requestPath)
The request path of the HTTP/2 health check request.
|
HTTP2HealthCheck |
setResponse(String response)
Creates a content-based HTTP/2 health check.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getHost()
null
for nonepublic HTTP2HealthCheck setHost(String host)
host
- host or null
for nonepublic Integer getPort()
null
for nonepublic HTTP2HealthCheck setPort(Integer port)
port
- port or null
for nonepublic String getPortName()
null
for nonepublic HTTP2HealthCheck setPortName(String portName)
portName
- portName or null
for nonepublic String getPortSpecification()
null
for nonepublic HTTP2HealthCheck setPortSpecification(String portSpecification)
portSpecification
- portSpecification or null
for nonepublic String getProxyHeader()
null
for nonepublic HTTP2HealthCheck setProxyHeader(String proxyHeader)
proxyHeader
- proxyHeader or null
for nonepublic String getRequestPath()
null
for nonepublic HTTP2HealthCheck setRequestPath(String requestPath)
requestPath
- requestPath or null
for nonepublic String getResponse()
null
for nonepublic HTTP2HealthCheck setResponse(String response)
response
- response or null
for nonepublic HTTP2HealthCheck set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public HTTP2HealthCheck clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.