
target.apidocs.com.google.api.services.analytics.model.Upload.html Maven / Gradle / Ivy
Upload (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class Upload
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.Upload
-
public final class Upload
extends GenericJson
Metadata returned for an upload operation.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Analytics API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Upload()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Upload
clone()
Long
getAccountId()
Account Id to which this upload belongs.
String
getCustomDataSourceId()
Custom data source Id to which this data import belongs.
List<String>
getErrors()
Data import errors collection.
String
getId()
A unique ID for this upload.
String
getKind()
Resource type for Analytics upload.
String
getStatus()
Upload status.
DateTime
getUploadTime()
Time this file is uploaded.
Upload
set(String fieldName,
Object value)
Upload
setAccountId(Long accountId)
Account Id to which this upload belongs.
Upload
setCustomDataSourceId(String customDataSourceId)
Custom data source Id to which this data import belongs.
Upload
setErrors(List<String> errors)
Data import errors collection.
Upload
setId(String id)
A unique ID for this upload.
Upload
setKind(String kind)
Resource type for Analytics upload.
Upload
setStatus(String status)
Upload status.
Upload
setUploadTime(DateTime uploadTime)
Time this file is uploaded.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccountId
public Long getAccountId()
Account Id to which this upload belongs.
- Returns:
- value or
null
for none
-
setAccountId
public Upload setAccountId(Long accountId)
Account Id to which this upload belongs.
- Parameters:
accountId
- accountId or null
for none
-
getCustomDataSourceId
public String getCustomDataSourceId()
Custom data source Id to which this data import belongs.
- Returns:
- value or
null
for none
-
setCustomDataSourceId
public Upload setCustomDataSourceId(String customDataSourceId)
Custom data source Id to which this data import belongs.
- Parameters:
customDataSourceId
- customDataSourceId or null
for none
-
getErrors
public List<String> getErrors()
Data import errors collection.
- Returns:
- value or
null
for none
-
setErrors
public Upload setErrors(List<String> errors)
Data import errors collection.
- Parameters:
errors
- errors or null
for none
-
getId
public String getId()
A unique ID for this upload.
- Returns:
- value or
null
for none
-
setId
public Upload setId(String id)
A unique ID for this upload.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Resource type for Analytics upload.
- Returns:
- value or
null
for none
-
setKind
public Upload setKind(String kind)
Resource type for Analytics upload.
- Parameters:
kind
- kind or null
for none
-
getStatus
public String getStatus()
Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.
- Returns:
- value or
null
for none
-
setStatus
public Upload setStatus(String status)
Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.
- Parameters:
status
- status or null
for none
-
getUploadTime
public DateTime getUploadTime()
Time this file is uploaded.
- Returns:
- value or
null
for none
-
setUploadTime
public Upload setUploadTime(DateTime uploadTime)
Time this file is uploaded.
- Parameters:
uploadTime
- uploadTime or null
for none
-
set
public Upload set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Upload clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy