public final class BasicMetricsRequest
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 Google My Business 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 |
---|
BasicMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
BasicMetricsRequest |
clone() |
java.util.List<MetricRequest> |
getMetricRequests()
A collection of metrics to return values for including the options for how the data should be
returned.
|
TimeRange |
getTimeRange()
The range to gather metrics for.
|
BasicMetricsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
BasicMetricsRequest |
setMetricRequests(java.util.List<MetricRequest> metricRequests)
A collection of metrics to return values for including the options for how the data should be
returned.
|
BasicMetricsRequest |
setTimeRange(TimeRange timeRange)
The range to gather metrics for.
|
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<MetricRequest> getMetricRequests()
null
for nonepublic BasicMetricsRequest setMetricRequests(java.util.List<MetricRequest> metricRequests)
metricRequests
- metricRequests or null
for nonepublic TimeRange getTimeRange()
null
for nonepublic BasicMetricsRequest setTimeRange(TimeRange timeRange)
timeRange
- timeRange or null
for nonepublic BasicMetricsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BasicMetricsRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.