
target.apidocs.com.google.api.services.analytics.Analytics.Management.CustomMetrics.html Maven / Gradle / Ivy
Analytics.Management.CustomMetrics (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics
Class Analytics.Management.CustomMetrics
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Management.CustomMetrics
-
- Enclosing class:
- Analytics.Management
public class Analytics.Management.CustomMetrics
extends Object
The "customMetrics" collection of methods.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
CustomMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
get
public Analytics.Management.CustomMetrics.Get get(String accountId,
String webPropertyId,
String customMetricId)
throws IOException
Get a custom metric to which the user has access.
Create a request for the method "customMetrics.get".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
insert
public Analytics.Management.CustomMetrics.Insert insert(String accountId,
String webPropertyId,
CustomMetric content)
throws IOException
Create a new custom metric.
Create a request for the method "customMetrics.insert".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom metric to create.
webPropertyId
- Web property ID for the custom dimension to create.
content
- the CustomMetric
- Returns:
- the request
- Throws:
IOException
-
list
public Analytics.Management.CustomMetrics.List list(String accountId,
String webPropertyId)
throws IOException
Lists custom metrics to which the user has access.
Create a request for the method "customMetrics.list".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom metrics to retrieve.
webPropertyId
- Web property ID for the custom metrics to retrieve.
- Returns:
- the request
- Throws:
IOException
-
patch
public Analytics.Management.CustomMetrics.Patch patch(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
throws IOException
Updates an existing custom metric. This method supports patch semantics.
Create a request for the method "customMetrics.patch".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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 CustomMetric
- Returns:
- the request
- Throws:
IOException
-
update
public Analytics.Management.CustomMetrics.Update update(String accountId,
String webPropertyId,
String customMetricId,
CustomMetric content)
throws IOException
Updates an existing custom metric.
Create a request for the method "customMetrics.update".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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 CustomMetric
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy