public final class AuditConfig
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 Cloud Resource Manager 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
Constructor and Description |
---|
AuditConfig() |
Modifier and Type | Method and Description |
---|---|
AuditConfig |
clone() |
java.util.List<AuditLogConfig> |
getAuditLogConfigs()
The configuration for logging of each type of permission.
|
java.lang.String |
getService()
Specifies a service that will be enabled for audit logging.
|
AuditConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
AuditConfig |
setAuditLogConfigs(java.util.List<AuditLogConfig> auditLogConfigs)
The configuration for logging of each type of permission.
|
AuditConfig |
setService(java.lang.String service)
Specifies a service that will be enabled for audit logging.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<AuditLogConfig> getAuditLogConfigs()
null
for nonepublic AuditConfig setAuditLogConfigs(java.util.List<AuditLogConfig> auditLogConfigs)
auditLogConfigs
- auditLogConfigs or null
for nonepublic java.lang.String getService()
null
for nonepublic AuditConfig setService(java.lang.String service)
service
- service or null
for nonepublic AuditConfig set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AuditConfig clone()
clone
in class com.google.api.client.json.GenericJson