public class Analytics.Management.DailyUploads extends 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(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.
|
public Analytics.Management.DailyUploads.Delete delete(String accountId, String webPropertyId, String customDataSourceId, String date, String type) throws 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.IOException
public Analytics.Management.DailyUploads.List list(String accountId, String webPropertyId, String customDataSourceId, String startDate, String endDate) throws 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.IOException
public Analytics.Management.DailyUploads.Upload upload(String accountId, String webPropertyId, String customDataSourceId, String date, Integer appendNumber, String type) throws 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.IOException
public Analytics.Management.DailyUploads.Upload upload(String accountId, String webPropertyId, String customDataSourceId, String date, Integer appendNumber, String type, AbstractInputStreamContent mediaContent) throws 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.IOException
- if the initialization of the request fails