class ManagementUploads extends Resource (View source)

The "uploads" collection of methods.

Typical usage is:

 $analyticsService = new Google\Service\Analytics(...);
 $uploads = $analyticsService->management_uploads;

Methods

deleteUploadData(string $accountId, string $webPropertyId, string $customDataSourceId, AnalyticsDataimportDeleteUploadDataRequest $postBody, array $optParams = [])

Delete data associated with a previous upload. (uploads.deleteUploadData)

get(string $accountId, string $webPropertyId, string $customDataSourceId, string $uploadId, array $optParams = [])

List uploads to which the user has access. (uploads.get)

listManagementUploads(string $accountId, string $webPropertyId, string $customDataSourceId, array $optParams = [])

List uploads to which the user has access. (uploads.listManagementUploads)

uploadData(string $accountId, string $webPropertyId, string $customDataSourceId, array $optParams = [])

Upload data for a custom data source. (uploads.uploadData)

Details

deleteUploadData(string $accountId, string $webPropertyId, string $customDataSourceId, AnalyticsDataimportDeleteUploadDataRequest $postBody, array $optParams = [])

Delete data associated with a previous upload. (uploads.deleteUploadData)

Parameters

string $accountId

Account Id for the uploads to be deleted.

string $webPropertyId

Web property Id for the uploads to be deleted.

string $customDataSourceId

Custom data source Id for the uploads to be deleted.

AnalyticsDataimportDeleteUploadDataRequest $postBody
array $optParams

Optional parameters.

Exceptions

Exception

Upload get(string $accountId, string $webPropertyId, string $customDataSourceId, string $uploadId, array $optParams = [])

List uploads to which the user has access. (uploads.get)

Parameters

string $accountId

Account Id for the upload to retrieve.

string $webPropertyId

Web property Id for the upload to retrieve.

string $customDataSourceId

Custom data source Id for upload to retrieve.

string $uploadId

Upload Id to retrieve.

array $optParams

Optional parameters.

Return Value

Upload

Exceptions

Exception

Uploads listManagementUploads(string $accountId, string $webPropertyId, string $customDataSourceId, array $optParams = [])

List uploads to which the user has access. (uploads.listManagementUploads)

Parameters

string $accountId

Account Id for the uploads to retrieve.

string $webPropertyId

Web property Id for the uploads to retrieve.

string $customDataSourceId

Custom data source Id for uploads to retrieve.

array $optParams

Optional parameters.

Return Value

Uploads

Exceptions

Exception

Upload uploadData(string $accountId, string $webPropertyId, string $customDataSourceId, array $optParams = [])

Upload data for a custom data source. (uploads.uploadData)

Parameters

string $accountId

Account Id associated with the upload.

string $webPropertyId

Web property UA-string associated with the upload.

string $customDataSourceId

Custom data source Id to which the data being uploaded belongs.

array $optParams

Optional parameters.

Return Value

Upload

Exceptions

Exception