Google Analytics API v3 (revision 41)



com.google.api.services.analytics
Class Analytics.Management.DailyUploads

java.lang.Object
  extended by com.google.api.services.analytics.Analytics.Management.DailyUploads
Enclosing class:
Analytics.Management

public class Analytics.Management.DailyUploads
extends Object

The "dailyUploads" collection of methods.


Nested Class Summary
 class Analytics.Management.DailyUploads.Delete
           
 class Analytics.Management.DailyUploads.List
           
 class Analytics.Management.DailyUploads.Upload
           
 
Constructor Summary
Analytics.Management.DailyUploads()
           
 
Method Summary
 Analytics.Management.DailyUploads.Delete delete(String accountId, String webPropertyId, String customDataSourceId, String date, String type)
          Delete uploaded data for the given date.
 Analytics.Management.DailyUploads.List list(String accountId, String webPropertyId, String customDataSourceId, String startDate, String endDate)
          List daily uploads to which the user has access.
 Analytics.Management.DailyUploads.Upload upload(String accountId, String webPropertyId, String customDataSourceId, String date, Integer appendNumber, String type)
          Update/Overwrite data for a custom data source.
 Analytics.Management.DailyUploads.Upload upload(String accountId, String webPropertyId, String customDataSourceId, String date, Integer appendNumber, String type, AbstractInputStreamContent mediaContent)
          Update/Overwrite data for a custom data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Analytics.Management.DailyUploads

public Analytics.Management.DailyUploads()
Method Detail

delete

public Analytics.Management.DailyUploads.Delete delete(String accountId,
                                                       String webPropertyId,
                                                       String customDataSourceId,
                                                       String date,
                                                       String type)
                                                throws IOException
Delete uploaded data for the given date. Create a request for the method "dailyUploads.delete". 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.

Parameters:
accountId - Account Id associated with daily upload delete.
webPropertyId - Web property Id associated with daily upload delete.
customDataSourceId - Custom data source Id associated with daily upload delete.
date - Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
type - Type of data for this delete.
Returns:
the request
Throws:
IOException

list

public Analytics.Management.DailyUploads.List list(String accountId,
                                                   String webPropertyId,
                                                   String customDataSourceId,
                                                   String startDate,
                                                   String endDate)
                                            throws IOException
List daily uploads to which the user has access. Create a request for the method "dailyUploads.list". 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.

Parameters:
accountId - Account Id for the daily uploads to retrieve.
webPropertyId - Web property Id for the daily uploads to retrieve.
customDataSourceId - Custom data source Id for daily uploads to retrieve.
startDate - Start date of the form YYYY-MM-DD.
endDate - End date of the form YYYY-MM-DD.
Returns:
the request
Throws:
IOException

upload

public Analytics.Management.DailyUploads.Upload upload(String accountId,
                                                       String webPropertyId,
                                                       String customDataSourceId,
                                                       String date,
                                                       Integer appendNumber,
                                                       String type)
                                                throws IOException
Update/Overwrite data for a custom data source. Create a request for the method "dailyUploads.upload". 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.

Parameters:
accountId - Account Id associated with daily upload.
webPropertyId - Web property Id associated with daily upload.
customDataSourceId - Custom data source Id to which the data being uploaded belongs.
date - Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
appendNumber - Append number for this upload indexed from 1. [minimum: 1] [maximum: 20]
type - Type of data for this upload.
Returns:
the request
Throws:
IOException

upload

public Analytics.Management.DailyUploads.Upload upload(String accountId,
                                                       String webPropertyId,
                                                       String customDataSourceId,
                                                       String date,
                                                       Integer appendNumber,
                                                       String type,
                                                       AbstractInputStreamContent mediaContent)
                                                throws IOException
Update/Overwrite data for a custom data source. Create a request for the method "dailyUploads.upload". 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 daily upload.@param webPropertyId Web property Id associated with daily upload.@param customDataSourceId Custom data source Id to which the data being uploaded belongs.@param date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.@param appendNumber Append number for this upload indexed from 1. [minimum: 1] [maximum: 20]@param type Type of data for this upload.
mediaContent - The media HTTP content or null if none.
Returns:
the request
Throws:
IOException - if the initialization of the request fails