public final class MonitoringDestination
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 Usage 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 |
---|
MonitoringDestination() |
Modifier and Type | Method and Description |
---|---|
MonitoringDestination |
clone() |
java.util.List<java.lang.String> |
getMetrics()
Types of the metrics to report to this monitoring destination.
|
java.lang.String |
getMonitoredResource()
The monitored resource type.
|
MonitoringDestination |
set(java.lang.String fieldName,
java.lang.Object value) |
MonitoringDestination |
setMetrics(java.util.List<java.lang.String> metrics)
Types of the metrics to report to this monitoring destination.
|
MonitoringDestination |
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> getMetrics()
null
for nonepublic MonitoringDestination setMetrics(java.util.List<java.lang.String> metrics)
metrics
- metrics or null
for nonepublic java.lang.String getMonitoredResource()
null
for nonepublic MonitoringDestination setMonitoredResource(java.lang.String monitoredResource)
monitoredResource
- monitoredResource or null
for nonepublic MonitoringDestination set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public MonitoringDestination clone()
clone
in class com.google.api.client.json.GenericJson