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

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

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






Analytics.Management.Uploads (Google Analytics API v3-rev20190807-1.31.0)












com.google.api.services.analytics

Class Analytics.Management.Uploads

  • java.lang.Object
    • com.google.api.services.analytics.Analytics.Management.Uploads
  • Enclosing class:
    Analytics.Management


    public class Analytics.Management.Uploads
    extends Object
    The "uploads" collection of methods.
    • Constructor Detail

      • Uploads

        public Uploads()
    • Method Detail

      • get

        public Analytics.Management.Uploads.Get get(String accountId,
                                                    String webPropertyId,
                                                    String customDataSourceId,
                                                    String uploadId)
                                             throws IOException
        List uploads to which the user has access. Create a request for the method "uploads.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 upload to retrieve.
        webPropertyId - Web property Id for the upload to retrieve.
        customDataSourceId - Custom data source Id for upload to retrieve.
        uploadId - Upload Id to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Analytics.Management.Uploads.List list(String accountId,
                                                      String webPropertyId,
                                                      String customDataSourceId)
                                               throws IOException
        List uploads to which the user has access. Create a request for the method "uploads.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 uploads to retrieve.
        webPropertyId - Web property Id for the uploads to retrieve.
        customDataSourceId - Custom data source Id for uploads to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • uploadData

        public Analytics.Management.Uploads.UploadData uploadData(String accountId,
                                                                  String webPropertyId,
                                                                  String customDataSourceId)
                                                           throws IOException
        Upload data for a custom data source. Create a request for the method "uploads.uploadData". 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 associated with the upload.
        webPropertyId - Web property UA-string associated with the upload.
        customDataSourceId - Custom data source Id to which the data being uploaded belongs.
        Returns:
        the request
        Throws:
        IOException
      • uploadData

        public Analytics.Management.Uploads.UploadData uploadData(String accountId,
                                                                  String webPropertyId,
                                                                  String customDataSourceId,
                                                                  AbstractInputStreamContent mediaContent)
                                                           throws IOException
        Upload data for a custom data source. Create a request for the method "uploads.uploadData". This request holds the parameters needed by the the analytics server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        This method should be used for uploading media content.

        Parameters:
        accountId - Account Id associated with the upload.@param webPropertyId Web property UA-string associated with the upload.@param customDataSourceId Custom data source Id to which the data being uploaded belongs.
        mediaContent - The media HTTP content or null if none.
        Returns:
        the request
        Throws:
        IOException - if the initialization of the request fails

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy