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

target.apidocs.com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.html Maven / Gradle / Ivy

There is a newer version: v1beta-rev20240823-2.0.0
Show newest version






GoogleAnalyticsAdmin.Properties (Google Analytics Admin API v1beta-rev20240916-2.0.0)












com.google.api.services.analyticsadmin.v1beta

Class GoogleAnalyticsAdmin.Properties

  • java.lang.Object
    • com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties
  • Enclosing class:
    GoogleAnalyticsAdmin


    public class GoogleAnalyticsAdmin.Properties
    extends Object
    The "properties" collection of methods.
    • Constructor Detail

      • Properties

        public Properties()
    • Method Detail

      • delete

        public GoogleAnalyticsAdmin.Properties.Delete delete(String name)
                                                      throws IOException
        Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found. Create a request for the method "properties.delete". This request holds the parameters needed by the analyticsadmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000"
        Returns:
        the request
        Throws:
        IOException
      • get

        public GoogleAnalyticsAdmin.Properties.Get get(String name)
                                                throws IOException
        Lookup for a single GA Property. Create a request for the method "properties.get". This request holds the parameters needed by the analyticsadmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000"
        Returns:
        the request
        Throws:
        IOException
      • getDataRetentionSettings

        public GoogleAnalyticsAdmin.Properties.GetDataRetentionSettings getDataRetentionSettings(String name)
                                                                                          throws IOException
        Returns the singleton data retention settings for this property. Create a request for the method "properties.getDataRetentionSettings". This request holds the parameters needed by the analyticsadmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings"
        Returns:
        the request
        Throws:
        IOException
      • list

        public GoogleAnalyticsAdmin.Properties.List list()
                                                  throws IOException
        Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found. Create a request for the method "properties.list". This request holds the parameters needed by the analyticsadmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Returns:
        the request
        Throws:
        IOException
      • runAccessReport

        public GoogleAnalyticsAdmin.Properties.RunAccessReport runAccessReport(String entity,
                                                                               GoogleAnalyticsAdminV1betaRunAccessReportRequest content)
                                                                        throws IOException
        Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides /config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1F AIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form. Create a request for the method "properties.runAccessReport". This request holds the parameters needed by the analyticsadmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        entity - The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID.
        content - the GoogleAnalyticsAdminV1betaRunAccessReportRequest
        Returns:
        the request
        Throws:
        IOException
      • conversionEvents

        public GoogleAnalyticsAdmin.Properties.ConversionEvents conversionEvents()
        An accessor for creating requests from the ConversionEvents collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.ConversionEvents.List request = analyticsadmin.conversionEvents().list(parameters ...)
         
        Returns:
        the resource collection
      • customDimensions

        public GoogleAnalyticsAdmin.Properties.CustomDimensions customDimensions()
        An accessor for creating requests from the CustomDimensions collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.CustomDimensions.List request = analyticsadmin.customDimensions().list(parameters ...)
         
        Returns:
        the resource collection
      • customMetrics

        public GoogleAnalyticsAdmin.Properties.CustomMetrics customMetrics()
        An accessor for creating requests from the CustomMetrics collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.CustomMetrics.List request = analyticsadmin.customMetrics().list(parameters ...)
         
        Returns:
        the resource collection
      • dataStreams

        public GoogleAnalyticsAdmin.Properties.DataStreams dataStreams()
        An accessor for creating requests from the DataStreams collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.DataStreams.List request = analyticsadmin.dataStreams().list(parameters ...)
         
        Returns:
        the resource collection
      • firebaseLinks

        public GoogleAnalyticsAdmin.Properties.FirebaseLinks firebaseLinks()
        An accessor for creating requests from the FirebaseLinks collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.FirebaseLinks.List request = analyticsadmin.firebaseLinks().list(parameters ...)
         
        Returns:
        the resource collection
      • googleAdsLinks

        public GoogleAnalyticsAdmin.Properties.GoogleAdsLinks googleAdsLinks()
        An accessor for creating requests from the GoogleAdsLinks collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.GoogleAdsLinks.List request = analyticsadmin.googleAdsLinks().list(parameters ...)
         
        Returns:
        the resource collection
      • keyEvents

        public GoogleAnalyticsAdmin.Properties.KeyEvents keyEvents()
        An accessor for creating requests from the KeyEvents collection.

        The typical use is:

            GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
            GoogleAnalyticsAdmin.KeyEvents.List request = analyticsadmin.keyEvents().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy