All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.analytics.Analytics.Management.CustomMetrics.html Maven / Gradle / Ivy

There is a newer version: v3-rev20190807-2.0.0
Show newest version






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.
    • Constructor Detail

      • CustomMetrics

        public CustomMetrics()
    • 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
      • 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