public class GoogleAnalyticsAdmin.Properties.CustomMetrics extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
GoogleAnalyticsAdmin.Properties.CustomMetrics.Archive |
class |
GoogleAnalyticsAdmin.Properties.CustomMetrics.Create |
class |
GoogleAnalyticsAdmin.Properties.CustomMetrics.Get |
class |
GoogleAnalyticsAdmin.Properties.CustomMetrics.List |
class |
GoogleAnalyticsAdmin.Properties.CustomMetrics.Patch |
| Constructor and Description |
|---|
CustomMetrics() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAnalyticsAdmin.Properties.CustomMetrics.Archive |
archive(String name,
GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest content)
Archives a CustomMetric on a property.
|
GoogleAnalyticsAdmin.Properties.CustomMetrics.Create |
create(String parent,
GoogleAnalyticsAdminV1betaCustomMetric content)
Creates a CustomMetric.
|
GoogleAnalyticsAdmin.Properties.CustomMetrics.Get |
get(String name)
Lookup for a single CustomMetric.
|
GoogleAnalyticsAdmin.Properties.CustomMetrics.List |
list(String parent)
Lists CustomMetrics on a property.
|
GoogleAnalyticsAdmin.Properties.CustomMetrics.Patch |
patch(String name,
GoogleAnalyticsAdminV1betaCustomMetric content)
Updates a CustomMetric on a property.
|
public GoogleAnalyticsAdmin.Properties.CustomMetrics.Archive archive(String name, GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the CustomMetric to archive. Example format:
properties/1234/customMetrics/5678content - the GoogleAnalyticsAdminV1betaArchiveCustomMetricRequestIOExceptionpublic GoogleAnalyticsAdmin.Properties.CustomMetrics.Create create(String parent, GoogleAnalyticsAdminV1betaCustomMetric content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Example format: properties/1234content - the GoogleAnalyticsAdminV1betaCustomMetricIOExceptionpublic GoogleAnalyticsAdmin.Properties.CustomMetrics.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678IOExceptionpublic GoogleAnalyticsAdmin.Properties.CustomMetrics.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Example format: properties/1234IOExceptionpublic GoogleAnalyticsAdmin.Properties.CustomMetrics.Patch patch(String name, GoogleAnalyticsAdminV1betaCustomMetric content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. Resource name for this CustomMetric resource. Format:
properties/{property}/customMetrics/{customMetric}content - the GoogleAnalyticsAdminV1betaCustomMetricIOExceptionCopyright © 2011–2023 Google. All rights reserved.