public final class AuditLog
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AuditLog() |
Modifier and Type | Method and Description |
---|---|
AuditLog |
clone() |
AuthenticationInfo |
getAuthenticationInfo()
Authentication information.
|
List<AuthorizationInfo> |
getAuthorizationInfo()
Authorization information.
|
Map<String,Object> |
getMetadata()
Other service-specific data about the request, response, and other information associated with
the current audited event.
|
String |
getMethodName()
The name of the service method or operation.
|
Long |
getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
|
PolicyViolationInfo |
getPolicyViolationInfo()
Indicates the policy violations for this request.
|
Map<String,Object> |
getRequest()
The operation request.
|
RequestMetadata |
getRequestMetadata()
Metadata about the operation.
|
ResourceLocation |
getResourceLocation()
The resource location information.
|
String |
getResourceName()
The resource or collection that is the target of the operation.
|
Map<String,Object> |
getResourceOriginalState()
The resource's original state before mutation.
|
Map<String,Object> |
getResponse()
The operation response.
|
Map<String,Object> |
getServiceData()
Deprecated.
|
String |
getServiceName()
The name of the API service performing the operation.
|
Status |
getStatus()
The status of the overall operation.
|
AuditLog |
set(String fieldName,
Object value) |
AuditLog |
setAuthenticationInfo(AuthenticationInfo authenticationInfo)
Authentication information.
|
AuditLog |
setAuthorizationInfo(List<AuthorizationInfo> authorizationInfo)
Authorization information.
|
AuditLog |
setMetadata(Map<String,Object> metadata)
Other service-specific data about the request, response, and other information associated with
the current audited event.
|
AuditLog |
setMethodName(String methodName)
The name of the service method or operation.
|
AuditLog |
setNumResponseItems(Long numResponseItems)
The number of items returned from a List or Query API method, if applicable.
|
AuditLog |
setPolicyViolationInfo(PolicyViolationInfo policyViolationInfo)
Indicates the policy violations for this request.
|
AuditLog |
setRequest(Map<String,Object> request)
The operation request.
|
AuditLog |
setRequestMetadata(RequestMetadata requestMetadata)
Metadata about the operation.
|
AuditLog |
setResourceLocation(ResourceLocation resourceLocation)
The resource location information.
|
AuditLog |
setResourceName(String resourceName)
The resource or collection that is the target of the operation.
|
AuditLog |
setResourceOriginalState(Map<String,Object> resourceOriginalState)
The resource's original state before mutation.
|
AuditLog |
setResponse(Map<String,Object> response)
The operation response.
|
AuditLog |
setServiceData(Map<String,Object> serviceData)
Deprecated.
|
AuditLog |
setServiceName(String serviceName)
The name of the API service performing the operation.
|
AuditLog |
setStatus(Status status)
The status of the overall operation.
|
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 AuthenticationInfo getAuthenticationInfo()
null
for nonepublic AuditLog setAuthenticationInfo(AuthenticationInfo authenticationInfo)
authenticationInfo
- authenticationInfo or null
for nonepublic List<AuthorizationInfo> getAuthorizationInfo()
null
for nonepublic AuditLog setAuthorizationInfo(List<AuthorizationInfo> authorizationInfo)
authorizationInfo
- authorizationInfo or null
for nonepublic Map<String,Object> getMetadata()
null
for nonepublic AuditLog setMetadata(Map<String,Object> metadata)
metadata
- metadata or null
for nonepublic String getMethodName()
null
for nonepublic AuditLog setMethodName(String methodName)
methodName
- methodName or null
for nonepublic Long getNumResponseItems()
null
for nonepublic AuditLog setNumResponseItems(Long numResponseItems)
numResponseItems
- numResponseItems or null
for nonepublic PolicyViolationInfo getPolicyViolationInfo()
null
for nonepublic AuditLog setPolicyViolationInfo(PolicyViolationInfo policyViolationInfo)
policyViolationInfo
- policyViolationInfo or null
for nonepublic Map<String,Object> getRequest()
null
for nonepublic AuditLog setRequest(Map<String,Object> request)
request
- request or null
for nonepublic RequestMetadata getRequestMetadata()
null
for nonepublic AuditLog setRequestMetadata(RequestMetadata requestMetadata)
requestMetadata
- requestMetadata or null
for nonepublic ResourceLocation getResourceLocation()
null
for nonepublic AuditLog setResourceLocation(ResourceLocation resourceLocation)
resourceLocation
- resourceLocation or null
for nonepublic String getResourceName()
null
for nonepublic AuditLog setResourceName(String resourceName)
resourceName
- resourceName or null
for nonepublic Map<String,Object> getResourceOriginalState()
null
for nonepublic AuditLog setResourceOriginalState(Map<String,Object> resourceOriginalState)
resourceOriginalState
- resourceOriginalState or null
for nonepublic Map<String,Object> getResponse()
null
for nonepublic AuditLog setResponse(Map<String,Object> response)
response
- response or null
for nonepublic Map<String,Object> getServiceData()
null
for nonepublic AuditLog setServiceData(Map<String,Object> serviceData)
serviceData
- serviceData or null
for nonepublic String getServiceName()
null
for nonepublic AuditLog setServiceName(String serviceName)
serviceName
- serviceName or null
for nonepublic Status getStatus()
null
for nonepublic AuditLog setStatus(Status status)
status
- status or null
for nonepublic AuditLog set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AuditLog clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.