public final class RequestMetadata
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 Control 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 |
|---|
RequestMetadata() |
| Modifier and Type | Method and Description |
|---|---|
RequestMetadata |
clone() |
String |
getCallerIp()
The IP address of the caller.
|
String |
getCallerNetwork()
The network of the caller.
|
String |
getCallerSuppliedUserAgent()
The user agent of the caller.
|
Peer |
getDestinationAttributes()
The destination of a network activity, such as accepting a TCP connection.
|
Request |
getRequestAttributes()
Request attributes used in IAM condition evaluation.
|
RequestMetadata |
set(String fieldName,
Object value) |
RequestMetadata |
setCallerIp(String callerIp)
The IP address of the caller.
|
RequestMetadata |
setCallerNetwork(String callerNetwork)
The network of the caller.
|
RequestMetadata |
setCallerSuppliedUserAgent(String callerSuppliedUserAgent)
The user agent of the caller.
|
RequestMetadata |
setDestinationAttributes(Peer destinationAttributes)
The destination of a network activity, such as accepting a TCP connection.
|
RequestMetadata |
setRequestAttributes(Request requestAttributes)
Request attributes used in IAM condition evaluation.
|
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 String getCallerIp()
null for nonepublic RequestMetadata setCallerIp(String callerIp)
callerIp - callerIp or null for nonepublic String getCallerNetwork()
null for nonepublic RequestMetadata setCallerNetwork(String callerNetwork)
callerNetwork - callerNetwork or null for nonepublic String getCallerSuppliedUserAgent()
null for nonepublic RequestMetadata setCallerSuppliedUserAgent(String callerSuppliedUserAgent)
callerSuppliedUserAgent - callerSuppliedUserAgent or null for nonepublic Peer getDestinationAttributes()
null for nonepublic RequestMetadata setDestinationAttributes(Peer destinationAttributes)
destinationAttributes - destinationAttributes or null for nonepublic Request getRequestAttributes()
null for nonepublic RequestMetadata setRequestAttributes(Request requestAttributes)
requestAttributes - requestAttributes or null for nonepublic RequestMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RequestMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.