public final class BackendRule
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 Service Networking 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 |
---|
BackendRule() |
Modifier and Type | Method and Description |
---|---|
BackendRule |
clone() |
String |
getAddress()
The address of the API backend.
|
Double |
getDeadline()
The number of seconds to wait for a response from a request.
|
Boolean |
getDisableAuth()
When disable_auth is true, a JWT ID token won't be generated and the original "Authorization"
HTTP header will be preserved.
|
String |
getJwtAudience()
The JWT audience is used when generating a JWT ID token for the backend.
|
Double |
getMinDeadline()
Deprecated, do not use.
|
Double |
getOperationDeadline()
The number of seconds to wait for the completion of a long running operation.
|
Map<String,BackendRule> |
getOverridesByRequestProtocol()
The map between request protocol and the backend address.
|
String |
getPathTranslation() |
String |
getProtocol()
The protocol used for sending a request to the backend.
|
String |
getSelector()
Selects the methods to which this rule applies.
|
BackendRule |
set(String fieldName,
Object value) |
BackendRule |
setAddress(String address)
The address of the API backend.
|
BackendRule |
setDeadline(Double deadline)
The number of seconds to wait for a response from a request.
|
BackendRule |
setDisableAuth(Boolean disableAuth)
When disable_auth is true, a JWT ID token won't be generated and the original "Authorization"
HTTP header will be preserved.
|
BackendRule |
setJwtAudience(String jwtAudience)
The JWT audience is used when generating a JWT ID token for the backend.
|
BackendRule |
setMinDeadline(Double minDeadline)
Deprecated, do not use.
|
BackendRule |
setOperationDeadline(Double operationDeadline)
The number of seconds to wait for the completion of a long running operation.
|
BackendRule |
setOverridesByRequestProtocol(Map<String,BackendRule> overridesByRequestProtocol)
The map between request protocol and the backend address.
|
BackendRule |
setPathTranslation(String pathTranslation) |
BackendRule |
setProtocol(String protocol)
The protocol used for sending a request to the backend.
|
BackendRule |
setSelector(String selector)
Selects the methods to which this rule applies.
|
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 getAddress()
null
for nonepublic BackendRule setAddress(String address)
address
- address or null
for nonepublic Double getDeadline()
null
for nonepublic BackendRule setDeadline(Double deadline)
deadline
- deadline or null
for nonepublic Boolean getDisableAuth()
null
for nonepublic BackendRule setDisableAuth(Boolean disableAuth)
disableAuth
- disableAuth or null
for nonepublic String getJwtAudience()
null
for nonepublic BackendRule setJwtAudience(String jwtAudience)
jwtAudience
- jwtAudience or null
for nonepublic Double getMinDeadline()
null
for nonepublic BackendRule setMinDeadline(Double minDeadline)
minDeadline
- minDeadline or null
for nonepublic Double getOperationDeadline()
null
for nonepublic BackendRule setOperationDeadline(Double operationDeadline)
operationDeadline
- operationDeadline or null
for nonepublic Map<String,BackendRule> getOverridesByRequestProtocol()
null
for nonepublic BackendRule setOverridesByRequestProtocol(Map<String,BackendRule> overridesByRequestProtocol)
overridesByRequestProtocol
- overridesByRequestProtocol or null
for nonepublic String getPathTranslation()
null
for nonepublic BackendRule setPathTranslation(String pathTranslation)
pathTranslation
- pathTranslation or null
for nonepublic String getProtocol()
null
for nonepublic BackendRule setProtocol(String protocol)
protocol
- protocol or null
for nonepublic String getSelector()
null
for nonepublic BackendRule setSelector(String selector)
selector
- selector or null
for nonepublic BackendRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BackendRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.