public final class GoogleCloudApigeeV1QueryMetric
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 Apigee 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudApigeeV1QueryMetric() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudApigeeV1QueryMetric |
clone() |
String |
getAlias()
Alias for the metric.
|
String |
getFunction()
Aggregation function: avg, min, max, or sum.
|
String |
getName()
Required.
|
String |
getOperator()
One of `+`, `-`, `/`, `%`, `*`.
|
String |
getValue()
Operand value should be provided when operator is set.
|
GoogleCloudApigeeV1QueryMetric |
set(String fieldName,
Object value) |
GoogleCloudApigeeV1QueryMetric |
setAlias(String alias)
Alias for the metric.
|
GoogleCloudApigeeV1QueryMetric |
setFunction(String function)
Aggregation function: avg, min, max, or sum.
|
GoogleCloudApigeeV1QueryMetric |
setName(String name)
Required.
|
GoogleCloudApigeeV1QueryMetric |
setOperator(String operator)
One of `+`, `-`, `/`, `%`, `*`.
|
GoogleCloudApigeeV1QueryMetric |
setValue(String value)
Operand value should be provided when operator is set.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAlias()
null for nonepublic GoogleCloudApigeeV1QueryMetric setAlias(String alias)
alias - alias or null for nonepublic String getFunction()
null for nonepublic GoogleCloudApigeeV1QueryMetric setFunction(String function)
function - function or null for nonepublic String getName()
null for nonepublic GoogleCloudApigeeV1QueryMetric setName(String name)
name - name or null for nonepublic String getOperator()
null for nonepublic GoogleCloudApigeeV1QueryMetric setOperator(String operator)
operator - operator or null for nonepublic String getValue()
null for nonepublic GoogleCloudApigeeV1QueryMetric setValue(String value)
value - value or null for nonepublic GoogleCloudApigeeV1QueryMetric set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudApigeeV1QueryMetric clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.