public class Analytics.Management.CustomMetrics extends 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 |
|---|
CustomMetrics() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.CustomMetrics.Get |
get(String accountId,
String webPropertyId,
String customMetricId)
Get a custom metric to which the user has access.
|
Analytics.Management.CustomMetrics.Insert |
insert(String accountId,
String webPropertyId,
CustomMetric content)
Create a new custom metric.
|
Analytics.Management.CustomMetrics.List |
list(String accountId,
String webPropertyId)
Lists custom metrics to which the user has access.
|
Analytics.Management.CustomMetrics.Patch |
patch(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
Analytics.Management.CustomMetrics.Update |
update(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
Updates an existing custom metric.
|
public Analytics.Management.CustomMetrics.Get get(String accountId, String webPropertyId, String customMetricId) throws 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.IOExceptionpublic Analytics.Management.CustomMetrics.Insert insert(String accountId, String webPropertyId, CustomMetric content) throws 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 CustomMetricIOExceptionpublic Analytics.Management.CustomMetrics.List list(String accountId, String webPropertyId) throws 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.IOExceptionpublic Analytics.Management.CustomMetrics.Patch patch(String accountId, String webPropertyId, String customMetricId, CustomMetric content) throws 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 CustomMetricIOExceptionpublic Analytics.Management.CustomMetrics.Update update(String accountId, String webPropertyId, String customMetricId, CustomMetric content) throws 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 CustomMetricIOExceptionCopyright © 2011–2022 Google. All rights reserved.