public class CheckRequestInfo extends OperationInfo
CheckRequest to be obtained from the HTTP layer.SCC_CALLER_IP, SCC_REFERER, SCC_SERVICE_AGENT, SCC_USER_AGENT| Constructor and Description |
|---|
CheckRequestInfo() |
CheckRequestInfo(OperationInfo o) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.servicecontrol.v1.CheckRequest |
asCheckRequest(com.google.api.client.util.Clock clock)
Returns the
CheckRequest instance corresponding to this instance. |
java.lang.String |
getClientIp() |
protected java.util.Map<java.lang.String,java.lang.String> |
getSystemLabels() |
CheckRequestInfo |
setClientIp(java.lang.String clientIp) |
asOperation, getApiKey, getConsumerProjectId, getOperationConsumerId, getOperationId, getOperationName, getReferer, getServiceName, isApiKeyValid, setApiKey, setApiKeyValid, setConsumerProjectId, setOperationId, setOperationName, setReferer, setServiceNamepublic CheckRequestInfo()
public CheckRequestInfo(OperationInfo o)
public java.lang.String getClientIp()
public CheckRequestInfo setClientIp(java.lang.String clientIp)
public com.google.api.servicecontrol.v1.CheckRequest asCheckRequest(com.google.api.client.util.Clock clock)
CheckRequest instance corresponding to this instance.
The service name, operation ID and operation Name must all be set
clock - is used to determine the current timestampCheckRequestjava.lang.IllegalStateException - if any required values are not set when this is called.protected java.util.Map<java.lang.String,java.lang.String> getSystemLabels()
getSystemLabels in class OperationInfo