public class Analytics.Management.CustomMetrics
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Management.CustomMetrics.Get |
class |
Analytics.Management.CustomMetrics.Insert |
class |
Analytics.Management.CustomMetrics.List |
class |
Analytics.Management.CustomMetrics.Patch |
class |
Analytics.Management.CustomMetrics.Update |
| Constructor and Description |
|---|
Analytics.Management.CustomMetrics() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.CustomMetrics.Get |
get(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customMetricId)
Get a custom metric to which the user has access.
|
Analytics.Management.CustomMetrics.Insert |
insert(java.lang.String accountId,
java.lang.String webPropertyId,
CustomMetric content)
Create a new custom metric.
|
Analytics.Management.CustomMetrics.List |
list(java.lang.String accountId,
java.lang.String webPropertyId)
Lists custom metrics to which the user has access.
|
Analytics.Management.CustomMetrics.Patch |
patch(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
Analytics.Management.CustomMetrics.Update |
update(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
public Analytics.Management.CustomMetrics.Get get(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customMetricId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID for the custom metric to retrieve.webPropertyId - Web property ID for the custom metric to retrieve.customMetricId - The ID of the custom metric to retrieve.java.io.IOExceptionpublic Analytics.Management.CustomMetrics.Insert insert(java.lang.String accountId, java.lang.String webPropertyId, CustomMetric content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID for the custom metric to create.webPropertyId - Web property ID for the custom dimension to create.content - the CustomMetricjava.io.IOExceptionpublic Analytics.Management.CustomMetrics.List list(java.lang.String accountId, java.lang.String webPropertyId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID for the custom metrics to retrieve.webPropertyId - Web property ID for the custom metrics to retrieve.java.io.IOExceptionpublic Analytics.Management.CustomMetrics.Patch patch(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customMetricId, CustomMetric content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID for the custom metric to update.webPropertyId - Web property ID for the custom metric to update.customMetricId - Custom metric ID for the custom metric to update.content - the CustomMetricjava.io.IOExceptionpublic Analytics.Management.CustomMetrics.Update update(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customMetricId, CustomMetric content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID for the custom metric to update.webPropertyId - Web property ID for the custom metric to update.customMetricId - Custom metric ID for the custom metric to update.content - the CustomMetricjava.io.IOException