public class Analytics.Management.DailyUploads
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Management.DailyUploads.Delete |
class |
Analytics.Management.DailyUploads.List |
class |
Analytics.Management.DailyUploads.Upload |
| Constructor and Description |
|---|
Analytics.Management.DailyUploads() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.DailyUploads.Delete |
delete(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customDataSourceId,
java.lang.String date,
java.lang.String type)
Delete uploaded data for the given date.
|
Analytics.Management.DailyUploads.List |
list(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customDataSourceId,
java.lang.String startDate,
java.lang.String endDate)
List daily uploads to which the user has access.
|
Analytics.Management.DailyUploads.Upload |
upload(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customDataSourceId,
java.lang.String date,
java.lang.Integer appendNumber,
java.lang.String type)
Update/Overwrite data for a custom data source.
|
Analytics.Management.DailyUploads.Upload |
upload(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String customDataSourceId,
java.lang.String date,
java.lang.Integer appendNumber,
java.lang.String type,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Update/Overwrite data for a custom data source.
|
public Analytics.Management.DailyUploads.Delete delete(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customDataSourceId, java.lang.String date, java.lang.String type) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.java.io.IOExceptionpublic Analytics.Management.DailyUploads.List list(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customDataSourceId, java.lang.String startDate, java.lang.String endDate) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.java.io.IOExceptionpublic Analytics.Management.DailyUploads.Upload upload(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customDataSourceId, java.lang.String date, java.lang.Integer appendNumber, java.lang.String type) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.java.io.IOExceptionpublic Analytics.Management.DailyUploads.Upload upload(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String customDataSourceId, java.lang.String date, java.lang.Integer appendNumber, java.lang.String type, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
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.java.io.IOException - if the initialization of the request fails