target.apidocs.com.google.api.services.analytics.Analytics.Management.Uploads.html Maven / Gradle / Ivy
Analytics.Management.Uploads (Google Analytics API v3-rev20190604-1.30.1)
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.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Management.Uploads.DeleteUploadData
class
Analytics.Management.Uploads.Get
class
Analytics.Management.Uploads.List
class
Analytics.Management.Uploads.UploadData
-
Constructor Summary
Constructors
Constructor and Description
Uploads()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Analytics.Management.Uploads.DeleteUploadData
deleteUploadData(String accountId,
String webPropertyId,
String customDataSourceId,
AnalyticsDataimportDeleteUploadDataRequest content)
Delete data associated with a previous upload.
Analytics.Management.Uploads.Get
get(String accountId,
String webPropertyId,
String customDataSourceId,
String uploadId)
List uploads to which the user has access.
Analytics.Management.Uploads.List
list(String accountId,
String webPropertyId,
String customDataSourceId)
List uploads to which the user has access.
Analytics.Management.Uploads.UploadData
uploadData(String accountId,
String webPropertyId,
String customDataSourceId)
Upload data for a custom data source.
Analytics.Management.Uploads.UploadData
uploadData(String accountId,
String webPropertyId,
String customDataSourceId,
AbstractInputStreamContent mediaContent)
Upload data for a custom data source.
-
-
Method Detail
-
deleteUploadData
public Analytics.Management.Uploads.DeleteUploadData deleteUploadData(String accountId,
String webPropertyId,
String customDataSourceId,
AnalyticsDataimportDeleteUploadDataRequest content)
throws IOException
Delete data associated with a previous upload.
Create a request for the method "uploads.deleteUploadData".
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 be deleted.
webPropertyId
- Web property Id for the uploads to be deleted.
customDataSourceId
- Custom data source Id for the uploads to be deleted.
content
- the AnalyticsDataimportDeleteUploadDataRequest
- Returns:
- the request
- Throws:
IOException
-
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–2019 Google. All rights reserved.