public final class LoggingDestination
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 Management 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 |
---|
LoggingDestination() |
Modifier and Type | Method and Description |
---|---|
LoggingDestination |
clone() |
java.util.List<java.lang.String> |
getLogs()
Names of the logs to be sent to this destination.
|
java.lang.String |
getMonitoredResource()
The monitored resource type.
|
LoggingDestination |
set(java.lang.String fieldName,
java.lang.Object value) |
LoggingDestination |
setLogs(java.util.List<java.lang.String> logs)
Names of the logs to be sent to this destination.
|
LoggingDestination |
setMonitoredResource(java.lang.String monitoredResource)
The monitored resource type.
|
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<java.lang.String> getLogs()
null
for nonepublic LoggingDestination setLogs(java.util.List<java.lang.String> logs)
logs
- logs or null
for nonepublic java.lang.String getMonitoredResource()
null
for nonepublic LoggingDestination setMonitoredResource(java.lang.String monitoredResource)
monitoredResource
- monitoredResource or null
for nonepublic LoggingDestination set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LoggingDestination clone()
clone
in class com.google.api.client.json.GenericJson