| Package | Description |
|---|---|
| com.google.api.services.analytics | |
| com.google.api.services.analytics.model |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.CustomMetrics.Insert |
Analytics.Management.CustomMetrics.insert(String accountId,
String webPropertyId,
CustomMetric content)
Create a new custom metric.
|
Analytics.Management.CustomMetrics.Patch |
Analytics.Management.CustomMetrics.patch(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
Analytics.Management.CustomMetrics.Update |
Analytics.Management.CustomMetrics.update(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
| Constructor and Description |
|---|
Insert(String accountId,
String webPropertyId,
CustomMetric content)
Create a new custom metric.
|
Patch(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
Update(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
| Modifier and Type | Method and Description |
|---|---|
CustomMetric |
CustomMetric.clone() |
CustomMetric |
CustomMetric.set(String fieldName,
Object value) |
CustomMetric |
CustomMetric.setAccountId(String accountId)
Account ID.
|
CustomMetric |
CustomMetric.setActive(Boolean active)
Boolean indicating whether the custom metric is active.
|
CustomMetric |
CustomMetric.setCreated(DateTime created)
Time the custom metric was created.
|
CustomMetric |
CustomMetric.setId(String id)
Custom metric ID.
|
CustomMetric |
CustomMetric.setIndex(Integer index)
Index of the custom metric.
|
CustomMetric |
CustomMetric.setKind(String kind)
Kind value for a custom metric.
|
CustomMetric |
CustomMetric.setMaxValue(String maxValue)
Max value of custom metric.
|
CustomMetric |
CustomMetric.setMinValue(String minValue)
Min value of custom metric.
|
CustomMetric |
CustomMetric.setName(String name)
Name of the custom metric.
|
CustomMetric |
CustomMetric.setParentLink(CustomMetric.ParentLink parentLink)
Parent link for the custom metric.
|
CustomMetric |
CustomMetric.setScope(String scope)
Scope of the custom metric: HIT or PRODUCT.
|
CustomMetric |
CustomMetric.setSelfLink(String selfLink)
Link for the custom metric
|
CustomMetric |
CustomMetric.setType(String type)
Data type of custom metric.
|
CustomMetric |
CustomMetric.setUpdated(DateTime updated)
Time the custom metric was last modified.
|
CustomMetric |
CustomMetric.setWebPropertyId(String webPropertyId)
Property ID.
|
| Modifier and Type | Method and Description |
|---|---|
List<CustomMetric> |
CustomMetrics.getItems()
Collection of custom metrics.
|
| Modifier and Type | Method and Description |
|---|---|
CustomMetrics |
CustomMetrics.setItems(List<CustomMetric> items)
Collection of custom metrics.
|
Copyright © 2011–2022 Google. All rights reserved.