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