public class Analytics.Management.Uploads.UploadData extends AnalyticsRequest<Upload>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
UploadData(String accountId,
String webPropertyId,
String customDataSourceId)
Upload data for a custom data source.
|
protected |
UploadData(String accountId,
String webPropertyId,
String customDataSourceId,
AbstractInputStreamContent mediaContent)
Upload data for a custom data source.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Account Id associated with the upload.
|
String |
getCustomDataSourceId()
Custom data source Id to which the data being uploaded belongs.
|
String |
getWebPropertyId()
Web property UA-string associated with the upload.
|
Analytics.Management.Uploads.UploadData |
set(String parameterName,
Object value) |
Analytics.Management.Uploads.UploadData |
setAccountId(String accountId)
Account Id associated with the upload.
|
Analytics.Management.Uploads.UploadData |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Uploads.UploadData |
setCustomDataSourceId(String customDataSourceId)
Custom data source Id to which the data being uploaded belongs.
|
Analytics.Management.Uploads.UploadData |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Uploads.UploadData |
setKey(String key)
API key.
|
Analytics.Management.Uploads.UploadData |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Uploads.UploadData |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Uploads.UploadData |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Analytics.Management.Uploads.UploadData |
setUserIp(String userIp)
Deprecated.
|
Analytics.Management.Uploads.UploadData |
setWebPropertyId(String webPropertyId)
Web property UA-string associated with the upload.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected UploadData(String accountId, String webPropertyId, String customDataSourceId)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. Analytics.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
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.protected UploadData(String accountId, String webPropertyId, String customDataSourceId, AbstractInputStreamContent mediaContent)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. Analytics.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
This constructor should be used for uploading media content.
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.public Analytics.Management.Uploads.UploadData setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Upload>public Analytics.Management.Uploads.UploadData setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Upload>public String getAccountId()
public Analytics.Management.Uploads.UploadData setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Uploads.UploadData setWebPropertyId(String webPropertyId)
public String getCustomDataSourceId()
public Analytics.Management.Uploads.UploadData setCustomDataSourceId(String customDataSourceId)
public Analytics.Management.Uploads.UploadData set(String parameterName, Object value)
set in class AnalyticsRequest<Upload>Copyright © 2011–2022 Google. All rights reserved.